|
|
|
|
|
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 cross allows the end user to close a tab pane. 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 - If shutters have a closing cross, when the user clicks on the cross, the "Close shutter" event is executed.. The tab is closed if this event does not prevent the user from closing it (with the "RETURN 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.
- It is not possible to delete or display the close cross on a single tab pane: either all tab panes display the close cross, or none at all..
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|