Determines if a given control is visible.
Usage
Set_Property(OLECtrlEntID, "OLE.ControlVisible[key]", Boolean)
Values
Boolean can be True or False.
Default: True
Indices
Index | Description |
---|---|
key | The target control's unique key |
Remarks
The ControlVisible property gets or sets the current visibility state of a given control. When you defined the control during the Init method, you gave it a unique key. You must pass that key in order to show or hide it. When this property is set to false, the control is visibly removed from its group, though it still exists and can be manipulated programmatically.
Example
// Hide the copy control Set_Property(@Window:".OLE_RIBBON", "OLE.ControlVisible[BTN_COPY]", 0)