Click in CheckBrowse to Select/Unselect

This forum is for eXpress++ general support.
Message
Author
Wolfgang Ciriack
Posts: 479
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: Click in CheckBrowse to Select/Unselect

#31 Post 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.
_______________________
Best Regards
Wolfgang

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: Click in CheckBrowse to Select/Unselect

#32 Post 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....

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: Click in CheckBrowse to Select/Unselect

#33 Post 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]

Wolfgang Ciriack
Posts: 479
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: Click in CheckBrowse to Select/Unselect

#34 Post by Wolfgang Ciriack »

Do you have all code in one prg file ?
How big is your prg file ?
_______________________
Best Regards
Wolfgang

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: Click in CheckBrowse to Select/Unselect

#35 Post 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.

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: Click in CheckBrowse to Select/Unselect

#36 Post by Eugene Lutsenko »

What could it mean? That could mean this error?
Attachments
Безымянный.jpg
Безымянный.jpg (122.54 KiB) Viewed 12998 times
Last edited by Eugene Lutsenko on Tue Jul 25, 2017 9:43 am, edited 1 time in total.

Wolfgang Ciriack
Posts: 479
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: Click in CheckBrowse to Select/Unselect

#37 Post 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.
_______________________
Best Regards
Wolfgang

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: Click in CheckBrowse to Select/Unselect

#38 Post 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

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: Click in CheckBrowse to Select/Unselect

#39 Post 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

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: Click in CheckBrowse to Select/Unselect

#40 Post 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"

Post Reply