ProvideX V8.20 > Language Reference > 2. Directives
155
HIDE Directive
        Hide Control
Format
HIDE ctl_id
Where:
ctl_id
Unique numeric CTL identifier for the object (button, list box, etc.) to be
hidden. Numeric expression, integer.
Description
Use the HIDE directive to hide the specified control from display. The control must
be either on the current window or on a global control (e.g., *100). It will still be
active for purposes of reading/writing but the user cannot see, nor can the program
set focus to, the control.
To re-display a control object, use the SHOW directive.
See Also
SHOW Show Control, p.324.
Examples
0010
BUTTON BTN_VISA,@(10,10,10,2)="&Visa Info"
0020
....
0100
READ (1,KEY=CST_ID$)IOL=0110
0110
IOLIST CST_TERM$,*,*,INV_DT$
0120
GOSUB 1000
...
1000
IF CST_TERM$="VISA" THEN SHOW BTN.VISA ELSE HIDE BTN.VISA
1010
RETURN