- Code: Select all Expand view
- #include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL oCbx, cVar := ""
DEFINE DIALOG oDlg
@ 1, 1 COMBOBOX oCbx VAR cVar;
ITEMS { "1", "2", "3" }
@ 3, 1 BUTTON "Change color";
ACTION ( oCbx:SetColor( , CLR_HRED ),;
oCbx:Refresh() )
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL
EMG