WinStudio

CurrentlyVisible Property

Applies To

IWSFormComponent interface

Definition

Returns a Boolean value indicating whether a designated form component is currently visible or hidden.

Syntax

object.CurrentlyVisible

  Part

  Description

object Required. A reference to a form component object.

Remarks

If the return value is:

Example

Sub Main()
   If ThisForm.Components("ScriptButton").CurrentlyVisible Then
      Application.ShowMessage("The Script button is currently visible.")
   Else
      Application.ShowMessage("The Script button is currently hidden.")
   End If
End Sub