Caption Button Client-Side Methods
The following table lists the object methods available from client-side script for the dialog window caption buttons, including the Pin, Reload, CollapseExpand, Minimize, Maximize, Close, and Restore buttons:
|
Property |
Client-Side Method |
Description |
Example |
|
get_visible() |
Gets or sets value indicating whether the element is visible. |
dialog.get_captionButtons().get_closeButton().get_visible() | |
|
set_visible(value) |
dialog.get_captionButtons().get_closeButton().set_visible(false) | ||
|
get_tooltip() |
Gets or sets the text displayed when the mouse pointer hovers over the button. |
dialog.get_captionButtons().get_closeButton().get_toolTip() | |
|
set_tooltip(value) |
dialog.get_captionButtons().get_closeButton().set_toolTip("Close window") |
|