.value that can be used from the macro.PANEL is created the /CONTROLS=GC switch can be
added in.
GCONTROL to put a reference for each control into
the GC table.
startmacro
pipe on
panel/controls=gc
gcontrol lval mynum "MyNum" 50 0 100 5
res gc.mynum.value
pipe off
endmacroprocessMessage procedure.
startmacro
pipe on
panel/controls=gc
gcontrol lval mynum "MyNum" 50 0 100 5
gcontrol calendar mycal
gcontrol button mybtn "My Buttons" "RED,WHITE,BLUE"
pipe off
endmacro
procedure processMessage m:msg
say "Got message name=^msg.name info=^msg.info data=^msg.data"
return
EXIT ERROR EXEC MACRO