CurrentlyVisible property (WinStudio scripts)
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:
- TRUE, the component object is currently visible.
- FALSE, the component object is currently hidden.
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