Page 1 of 1

DCBROWSE and TAGENABLE

Posted: Sat Jul 26, 2014 9:40 am
by jdsoft
Hello Roger,

I would like to implement TAGENABLE on an array of objects, like the sample \SAMPLES\TAGGING

Code: Select all


//
// aRegels is an array of data originating from CLASS Regel
//
CLASS Regel
EXPORTED:
VAR Selected
VAR Volgnr
VAR Aantal
VAR Tekening
ENDCLASS

aRegels = {Regel,Regel,Regel,....}

@ nLine,2    DCBROWSE oBrowse DATA aRegels SIZE 10,15 CURSORMODE XBPBRW_CURSOR_ROW   FIT;
                  TAGENABLE ;
                  TAGELEMENT "Selected" ;
                  TAGCOLOR GRA_CLR_RED, GRA_CLR_YELLOW ;
                  TAGMODE DCGUI_TAGMODE_CLEAR


DCBROWSECOL OBJECTVAR "volgnr"                                    HEADER "Reg"               WIDTH 3  PARENT oBrowse PICTURE "999"
DCBROWSECOL OBJECTVAR "aantal"                                    HEADER "Aantal"            WIDTH 4  PARENT oBrowse PICTURE "99999"
DCBROWSECOL OBJECTVAR "tekening"                                 HEADER "Tekening"        WIDTH 11 PARENT oBrowse

I know TAGELEMENT should be numeric but setting a string with varname "Selected" would be preffered.
Suggestions are welcome.

Regards,
Jack Duijf

Re: DCBROWSE and TAGENABLE

Posted: Sun Jul 27, 2014 7:06 am
by jdsoft
Hello All,

I was able to fix this in the Express++ code.
I send the code suggestion to Roger,

Regards,
Jack Duijf

Re: DCBROWSE and TAGENABLE

Posted: Sun Jul 27, 2014 2:50 pm
by rdonnay
Thanks Jack.

That sounds like a good idea.

Re: DCBROWSE and TAGENABLE

Posted: Tue Jul 29, 2014 12:14 pm
by jdsoft
Hello Roger,

Did you get the mail I sent you last Sunday?

Regards,
Jack Duijf

Re: DCBROWSE and TAGENABLE

Posted: Tue Jul 29, 2014 12:46 pm
by rdonnay
Yes, I got your email, but I don't know when I am going to get time to look at all of your code changes.

I have to make sure that it doesn't cause any regression.
This can take many days of my time because I need to run against every application that I am supporting.

I don't want to put out another eXpress++ release that has regression.
My customers and I don't have time for this.