Method XbpActiveXControl():setVisible() Foundation

Assigns a value to the :visible instance variable.

Syntax
ASSIGN METHOD :setVisible( <xVisible> ) --> NIL
Parameters
<xVisible>
The value to be assigned to the :visible instance variable.
Return

The method always returns NIL.

Description

The method :setVisible() is executed automatically whenever an Xbase++ application assigns a value to an ActiveX control's :visible instance variable.

For normal Xbase Parts, an application normally uses :visible to specify whether the object should displayed automatically when the method :create() is called. :setVisible() implements compatible behaviour for ActiveX controls by assigning a logical value passed in parameter <xVisible> to the control's :visible instance variable.

If the ActiveX control defines a property of the same name, :setVisible()also calls :setProperty() to assign the value passed to the property defined by the ActiveX control.

Since :setVisible() is called automatically by the class framework, applications need not call this method directly.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.