ISLabel.isVisible

Description

This property is True if the specified label control 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 ISLabel interface

Return Value

bool

Example

Display isVisible for the specified label control.

Dim aLabel
Dim aLabelInfo
  
Set aLabel = Form.Controls_("Label1")

aLabelInfo =_
  "Short Name: " & aLabel.ShortName & vbNewLine &_ 
  "Type Name: " & aLabel.TypeName & vbNewLine &_
  "Is Visible: " & aLabel.IsVisible                 
  
Profile.MsgBox(aLabelInfo)  
Note: This macro should be executed in any event handler of the form control.

Version information

Added in v7.8.0