WinStudio
IWSFormComponent interface
Returns a Boolean value indicating whether a designated form component is currently visible or hidden.
object.CurrentlyVisible
Part |
Description |
| object | Required. A reference to a form component object. |
If the return value is:
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