Hi,
I have an issue while using some GUI control in Progress
I have a radio-set widget in , for which I would like to change the font color (rdo:FGCOLOR).
Here is an example of source code of what we try to achieve
The code at line 21 is supposed to change the font color in the radio widget, but it is not applying.
We are running OpenEdge 11.5.1 under Windows 7 and using the Windows 7 Basic desktop theme.
It works fine on an other computer under Windows 7 which i using Windows Classic theme.
Due to security right access, we cannot change the Windows theme, so we need to handle this in the code
We have tried using the setWindowTheme function from the uxtheme.dll API in order to not apply the current OS theme to this widget, but it is not working either.
Do you have any idea on how to set the FGCOLOR attribute ?
Version used : OpenEdge 11.5.1
OS : Windows 7 64b
I have an issue while using some GUI control in Progress
I have a radio-set widget in , for which I would like to change the font color (rdo:FGCOLOR).
Here is an example of source code of what we try to achieve
Code:
DEFINE VARIABLE RDO-option AS WIDGET-HANDLE.
DEFINE VARIABLE m-status AS LOGICAL .
DEFINE VARIABLE m-choose-opt AS INTEGER .
DEFINE FRAME FRM-maintenance WITH SIZE 28.2 BY 6.7 TITLE "Special Option ..." NO-LABELS
OVERLAY VIEW-AS DIALOG-BOX KEEP-TAB-ORDER SIDE-LABELS NO-UNDERLINE THREE-D SCROLLABLE FGCOLOR 1 FONT 4.
DISPLAY " " AT ROW 3.50 col 05 FGCOLOR 12 WITH FRAME frm-maintenance .
CREATE RADIO-SET RDO-option
ASSIGN ROW = 1.6
COLUMN = 3.2
WIDTH = 20
RADIO-BUTTONS = "option 1 , 1 , " + "option 2 , 2 , " + "option 3 , 3 "
FRAME = FRAME FRM-maintenance:HANDLE
SENSITIVE = TRUE
VISIBLE = TRUE
HEIGHT = 2.9
BGCOLOR = 07
FGCOLOR = 14
triggers :
ON MOUSE-SELECT-DBLCLICK DO :
message "TOTO" view-as alert-box .
END.
end triggers.
WAIT-FOR GO OF FRAME FRM-maintenance.
The code at line 21 is supposed to change the font color in the radio widget, but it is not applying.
We are running OpenEdge 11.5.1 under Windows 7 and using the Windows 7 Basic desktop theme.
It works fine on an other computer under Windows 7 which i using Windows Classic theme.
Due to security right access, we cannot change the Windows theme, so we need to handle this in the code
We have tried using the setWindowTheme function from the uxtheme.dll API in order to not apply the current OS theme to this widget, but it is not working either.
Do you have any idea on how to set the FGCOLOR attribute ?
Version used : OpenEdge 11.5.1
OS : Windows 7 64b