User Tools

Site Tools


hide_blank_a_control_.htm
Navigation:  Language Reference > 13 - Built-in Functions >====== HIDE (blank a control) ====== Previous pageReturn to chapter overviewNext page

NewC7.jpg

HIDE( [ first control ] [, last control ] )

blk2blue.jpg

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:

UNHIDE

ENABLE

DISABLE

hide_blank_a_control_.htm.txt · Last modified: 2023/06/09 07:22 by carlbarnes