ISButton.isVisible

Description

This property is True if the specified button is visible at runtime. It is not accessible in the Object Inspector.

Syntax

object.isVisible

Part Attribute Type Description
object Required
The object always implements the ISButton interface

Return Value

bool

Example

Display isVisible for the specified button.

Dim aButton
Dim aControlInfo

Set aButton = Form.Controls_("btnDemo")

aControlInfo =_
  "Caption: " & aButton.Caption & vbNewLine &_ 
  "Tag: " & aButton.Tag & vbNewLine &_
  "ShortName: " & aButton.ShortName & vbNewLine &_
  "TypeName: " & aButton.TypeName & vbNewLine &_
  "Is Visible: " & aButton.isVisible
  
Profile.MsgBox(aControlInfo)  
Note: This macro should be executed in any event handler of the form control.

Version information

Added in v7.8.0