TRVWidgetPageContainer.CloseButton

<< Click to display table of contents >>

TRVWidgetPageContainer.CloseButton

Shows/hides the Close button.

property CloseButton: Boolean;

The close button displays an “X” and is located in the upper-right corner of the widget when the widget is expanded.

When the button is clicked, the OnClose event is called. If no event handler is assigned and AutoCollapse = True, the widget is collapsed to a single-row toolbar (see the Expanded property).

The widget can also be collapsed in other ways:

by changing the Expanded property

by using the TrvActionExpandWidget action

Default value:

True

See also

ExpandButton