DlgVisible Statement 

 

DlgVisible “ControlName”, Value

 

This statement is used to hide or make visible a particular control on a dialog box.

 

The  parameter ControlName  is the name of the control on the dialog box.  The parameter Value  is the value to set it to. 1 = Visible, 0 = Hidden. On is equal to 1.  If the second parameter is omitted the status of the control toggles.  The entire example below can be found in the dialog section of this manual and in the example .bas files that ship with Cypress Enable.

 

Related Topics: DlgEnable, DlgText

 

 

 

Example:

 

   If ControlID$ = "Chk1" Then

             DlgEnable "Group", On

             DlgVisible "Chk2"

             DlgVisible "History"

   End If