hide_blank_a_control_.htm
| Navigation: Language Reference > 13 - Built-in Functions >====== HIDE (blank a control) ====== | ![]() ![]() |
HIDE( [ first control ] [, last control ] )
| HIDE | Hides window controls. |
| first control | Field number or field equate label of a control, or the first control in a range of controls. If omitted, defaults to zero (0). |
| last control | Field number or field equate label of the last control in a range of controls. |
The HIDE statement hides a control, or range of controls, on an APPLICATION or WINDOW structure. When hidden, the control does not appear on screen.
Example:
Screen WINDOW,PRE(Scr)
ENTRY(@N3),USE(Ctl:Code)
ENTRY(@S30),USE(Ctl:Name)
BUTTON('OK'),USE(?OkButton),KEY(EnterKey)
BUTTON('Cancel'),USE(?CanxButton),KEY(EscKey)
END
CODE
OPEN(Screen)
HIDE(?Ctl:Code) !Hide a control
HIDE(?Ctl:Code,?Ctl:Name) !Hide range of controls
HIDE(2) !Hide the second control
See Also:
hide_blank_a_control_.htm.txt · Last modified: by carlbarnes





