Page 4 of 5
Re: Click in CheckBrowse to Select/Unselect
Posted: Sat Jul 22, 2017 11:48 pm
by Wolfgang Ciriack
Hello Eugen,
Code: Select all
BITMAP
BMP_CHECKED = "check1.bmp"
BMP_UNCHECKED = "check2.bmp"
BMP_RACHECKED = "radio1.bmp"
BMP_RAUNCHECKED = "radio2.bmp"
Put these lines in your _AIDOS.ARC .and. delete test.arc from your project file.
I think only one arc-files is possible for a project.
Re: Click in CheckBrowse to Select/Unselect
Posted: Sun Jul 23, 2017 5:55 am
by Eugene Lutsenko
Thank You, Wolfgang!
I projects did not use. I thought it was uncomfortable. Or maybe before it wasn't necessary. So I have a questions on projects. For example, sometimes it works, and it turns out the executable modules, and sometimes flashes the DOS window and nothing happens. I understand that the names of the files in the project are case sensitive. Sometimes PBUILD completes the project, and sometimes as would generally ignores it....
Re: Click in CheckBrowse to Select/Unselect
Posted: Mon Jul 24, 2017 6:40 am
by Eugene Lutsenko
Hello, Roger and Wolfgang!
Your examples work when they copy and run. But I'm not one of them can't use in the system. Like I even know what to do, but can't do it. Can't make the project work. Can't make it work without the project (it is for me preferable).
Code: Select all
//
// Project - Definition - File created by PBUILD Version 1.90.355
// Date: 23.07.2017 Time: 00:20:02
//
[PROJECT]
COMPILE = xpp
COMPILE_FLAGS = /q
DEBUG = yes
GUI = no
LINKER = alink
LINK_FLAGS =
RC_COMPILE = arc
RC_FLAGS = /v
VERSION = 2.0
OPENFILES = _AIDOS-X.prg;TEST.ch;_Aidos-X.arc
INCLUDE = c:\ALLDLLCH\
LIB = c:\ALLDLLCH\
_aidos-X.XPJ
[_AIDOS-X.XPJ]
_AIDOS-X.EXE
[_AIDOS-X.EXE]
COMPILE = xpp
COMPILE_FLAGS = /wl /wu /q /rDCLIPX.LIB /rDCLIP1.LIB /w
DEBUG_SAVE = yes
GUI = yes
LINKER = alink
LINK_FLAGS =
RC_COMPILE = arc
RC_FLAGS = /v
// $START-AUTODEPEND
_AIDOS-X.RES
_AIDOS-X.OBJ
DCCURSOR.CH
DCICON.CH
DCBITMAP.CH
STD.CH
SET.CH
NATMSG.CH
GET.CH
PROMPT.CH
MEMVAR.CH
COLLAT.CH
INKEY.CH
DCDIR.CH
DCDIALOG.CH
XBP.CH
GRA.CH
DCREG.CH
APPEVENT.CH
DLL.CH
THREAD.CH
CLASS.CH
DMLB.CH
FILEIO.CH
DCTREE.CH
SYSTEMMETRICS.CH
COMMON.CH
DBEDIT.CH
DBFDBE.CH
DCAPP.CH
APP.CH
DCCARGO.CH
DCFILES.CH
DCGRA.CH
DCGRAPH.CH
RMCHART.CH
BDCOLORS.CH
DCCOLORS.CH
DCPRINT.CH
DCMSG.CH
DCPICK.CH
DELDBE.CH
DIRECTRY.CH
EXPRESS.CH
FONT.CH
_DCDBFIL.CH
_DCAPPE.CH
DCSCOPE.CH
_DCSTRU.CH
DCFIELDS.CH
DCCOLOR.CH
TEST.CH
XB2NET.CH
// $STOP-AUTODEPEND
_Aidos-X.arc
_AIDOS-X.prg
[/size]
Re: Click in CheckBrowse to Select/Unselect
Posted: Mon Jul 24, 2017 10:07 pm
by Wolfgang Ciriack
Do you have all code in one prg file ?
How big is your prg file ?
Re: Click in CheckBrowse to Select/Unselect
Posted: Mon Jul 24, 2017 10:25 pm
by Eugene Lutsenko
Wolfgang Ciriack wrote:Do you have all code in one prg file ?
How big is your prg file ?
Hello, Wolfgang!
I have a whole system in one prg file. To me it was more comfortable. I long ago did the overlay structure, the modules, the DLLs, I also know how to do. But I don't really like it. PRG-the file is very large: about 107 thousand lines. It is always relevant is here:
http://lc.kubagro.ru/_AIDOS-X.doc. I use Alaska 1.9.
Re: Click in CheckBrowse to Select/Unselect
Posted: Tue Jul 25, 2017 8:53 am
by Eugene Lutsenko
What could it mean? That could mean this error?
Re: Click in CheckBrowse to Select/Unselect
Posted: Tue Jul 25, 2017 8:58 am
by Wolfgang Ciriack
The used index does not matter. The array aRecs hold the selected record numbers, so the sorting in the browse can change, the record numbers are always the same.
Using multiple prg files is not the same as building dlls. You can use multiple prg files and link them together to one exe file.
The advantage of a project file is, that you do not have to compile your hole code every time, only the prg files which have changed.
Re: Click in CheckBrowse to Select/Unselect
Posted: Tue Jul 25, 2017 9:00 am
by Eugene Lutsenko
I understand that. But I tend to change in different parts of the program. I would have to rebuild the dll. and so I do not
Re: Click in CheckBrowse to Select/Unselect
Posted: Fri Aug 18, 2017 11:47 pm
by Eugene Lutsenko
There is always the original text of the new version of the system Aidos, which I develop:
http://lc.kubagro.ru/_AIDOS-X.txt
Re: Click in CheckBrowse to Select/Unselect
Posted: Sun Dec 17, 2017 1:37 pm
by Eugene Lutsenko
Wolfgang Ciriack wrote:Here is an updated example with radiobutton.
Mn this example very much. I pasted it without changes in your program. But it's not working. Rather working, but incorrectly: displays graphic objects check1.bmp, check2.bmp, radio1.bmp, radio2.bmp to field sel. I tried to replace your arc-file and arc-file for example. It worked immediately with the selection in the table, but disappeared the icon that I had set in this file. After that I tried to combine your arc file from the example. I've tried a lot of different options. But it gave no result. Probably I something not so do. Can be prompt.
Code: Select all
//////////////////////////////////////////////////////////////////////
//
// _Aidos-X.arc
//
//////////////////////////////////////////////////////////////////////
#INCLUDE "test.ch"
ICON
1000 = "D:\ALASKA\AIDOS-X\_Aidos-X.ico"
BITMAP
BMP_CHECKED = "D:\ALASKA\AIDOS-X\check1.bmp"
BMP_UNCHECKED = "D:\ALASKA\AIDOS-X\check2.bmp"
BMP_RACHECKED = "D:\ALASKA\AIDOS-X\radio1.bmp"
BMP_RAUNCHECKED = "D:\ALASKA\AIDOS-X\radio2.bmp"