>hi,
>I have a screen with an optgroup ( radio butt ) with text fields associated with that radiobutt.
>I write for enabled/disabled that text fields on click above radiobutt but I dont know how I must write for disable some fields when screen are launch.
>Something like setfocus in VFP.
>Help required !
>TIA
The code below "sets focus" to the FieldVariable object on the screen
_CUROBJ = OBJNUM(FieldVariable)
To Enable/disable field
SHOW GET FieldVariable ENABLED
or
SHOW GET FieldVariable DISABLED
You can put the code to enable/disable fields at screen lunch into screen ACTIVATE snippet.
--sb--