Search found 27 matches

by rsmarks
Mon Jul 27, 2015 4:59 pm
Forum: eXpress++ Support
Topic: Disable Page Down key functionality in DCCOMBOBOX
Replies: 8
Views: 11841

Disable Page Down key functionality in DCCOMBOBOX

I would like to use Page Down as an ACCELKEY for a DCPUSHBUTTON. Consequently, if a DCCOMBOBOX is currently active, I do not want the Page Down key to select a different entry in the DCCOMBOBOX list. I would like the DCCOMBOBOX to ignore the key. How can I go about doing that. Thx.
by rsmarks
Tue Jun 09, 2015 8:36 pm
Forum: eXpress++ Support
Topic: DCCOMBOBOX PRESENTATION will not set disabled color
Replies: 6
Views: 9080

Re: DCCOMBOBOX PRESENTATION will not set disabled color

The COLOR clause just seems to act on the List, not the SLE, which is where I need it to work. For consistency, I like the active Gets and ComboBox SLE's to have black lettering on white background. I like the disabled Gets and ComboBox SLE's to use the default background color to show that they are...
by rsmarks
Mon Jun 08, 2015 9:07 pm
Forum: eXpress++ Support
Topic: DCCOMBOBOX PRESENTATION will not set disabled color
Replies: 6
Views: 9080

Re: DCCOMBOBOX PRESENTATION will not set disabled color

It was the SLE part I was concerned with. On further testing, I found that the first time EDITPROTECT is processed, the object is undefined. I had to insert a test to make sure the object was actually being passed. Then, I inserted your modification. It kind of worked as expected, but the colors wer...
by rsmarks
Mon Jun 08, 2015 8:09 pm
Forum: eXpress++ Support
Topic: DCCOMBOBOX PRESENTATION will not set disabled color
Replies: 6
Views: 9080

Re: DCCOMBOBOX PRESENTATION will not set disabled color

Using this, I get a runtime error:
Description: Receiver of message is not an object.
Operation: setColorFG
by rsmarks
Mon Jun 08, 2015 4:10 pm
Forum: eXpress++ Support
Topic: DCCOMBOBOX PRESENTATION will not set disabled color
Replies: 6
Views: 9080

DCCOMBOBOX PRESENTATION will not set disabled color

If the WHEN clause is False, DCCOMBOBOX will gray the text and the PRESENTATION clause will not override this. i.e. aPres:={ { XBP_PP_FGCLR, GRA_CLR_BLACK }, ; { XBP_PP_BGCLR, GRA_CLR_WHITE }, ; { XBP_PP_DISABLED_FGCLR, GRA_CLR_BLACK }, ; { XBP_PP_DISABLED_BGCLR, GRA_CLR_BACKGROUND } } @ 0,0 DCCOMBO...
by rsmarks
Mon Dec 16, 2013 11:54 am
Forum: eXpress++ Support
Topic: DC_XbpGetPres does not work properly when DISABLEDCOLOR set
Replies: 3
Views: 6287

Re: DC_XbpGetPres does not work properly when DISABLEDCOLOR

Tom,

In my actual program I use DC_GetOptDefault, but for the sake of simplicity I did not include it in my example. It doesn't matter whether I set DISABLEDCOLOR using DC_GetOptDefault or with DCGETOPTIONS, DC_XbpGetPres still does not work properly.

Thanks,

Bob
by rsmarks
Sat Dec 14, 2013 2:32 pm
Forum: eXpress++ Support
Topic: DC_XbpGetPres does not work properly when DISABLEDCOLOR set
Replies: 3
Views: 6287

DC_XbpGetPres does not work properly when DISABLEDCOLOR set

DC_XbpGetPres does not work properly when used to set the disabled foreground color if DCGETOPTIONS sets the DISABLEDCOLOR. However, DCSAY GETPRESENTATION does work properly. I had expected that I could just use DC_XpbGetPres once instead of having to specify GETPRESENTATION on every get, but that d...