DlgVisible (statement)

<< Click to Display Table of Contents >>

DlgVisible (statement)

DlgVisible "Name", [Value]

Hides a dialog control in a custom dialog box or makes it visible again.

This statement can be invoked from inside dialog functions.

The string Name is the name of the dialog control in the dialog box.

If Value = 0, the dialog control will be hidden; for all other values of Value it will be displayed. If Value is not specified, the dialog control will be hidden if it is currently visible, and vice versa.

See also: DlgEnable, DlgText, section Dialog boxes

Example:

If ControlID$ = "Chk1" Then

 DlgEnable "Group", 1

 DlgVisible "Chk2"

 DlgVisible "Open"

End If