Method XbpStatic():setCaption() Foundation
Specifies a new caption.
:setCaption( <xCaption>, [<cDll>] ) --> lSuccess
This method returns .T. (true) if the caption could be updated, otherwise it returns .F. (false).
The method :setCaption() changes the caption of an XbpStatic object after the method :create() has been executed. The caption can be updated while the object is visible on the screen. However, :setCaption() does not change the display type (text, bitmap, icon) of an XbpStatic object. The methods :destroy() and :create() must be used to change the display type.
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.