|
|
|
|
|
WithClosingButton (Property) In french: AvecBoutonFermeture
The WithClosingButton property is used to: - Determine whether all the tabs of a Dynamic Tab control have a Close button.
- Show a Close button in all the tabs of a Dynamic Tab control.
Reminder: The Close button (X) allows users to close the tabs. TAB_DynamicTab.WithClosingButton = True
Syntax
Determining whether all the tabs of a Dynamic Tab control have a Close button Hide the details
<Result> = <Tab control>.WithClosingButton
<Result>: Boolean - True if all the tabs of a Dynamic Tab control have a Close button (X),
- False if the tabs of a Dynamic Tab control do not have a Close button (X).
<Tab control>: Control name Name of the Tab control to be used.
Showing a Close button in all the tabs of a Dynamic Tab control Hide the details
<Tab control>.WithClosingButton = <Close button>
<Tab control>: Control name Name of the Tab control to be used. <Close button>: Boolean - True if the tabs of a Dynamic Tab control should show a Close button (X),
- False if the tabs of a Dynamic Tab control should not show a Close button (X).
Remarks - The "Close a tab" event is executed when the user clicks the Close button (if any). The tab is closed if this event does not prevent the user from closing it (with the "RESULT False" statement or SetFocusAndReturnToUserInput).
- If the tabs do not have a Close button (X), the following Automatic Application Features (AAFs) are disabled from the context menu of the tabs:
- Close,
- Close other tabs,
- Close tabs to the right,
- Close tabs to the left.
- The "X" icon cannot be removed or displayed on a single tab: either all or none of the tabs display an X icon.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|