|
|
|
|
|
WinEditMode (Property) In french: FenEditionMode
The WinEditMode property is used to determine and configure the actions allowed on a window and its controls when the window switches to "Allow end users to modify the UI" mode. // Allows the size and position to be modified in the window // except for the OK button WIN_MyWindow.WinEditMode = weSelection + wePosition + weSize BTN_OK.WinEditAllowed = weNone WinEdActive(WIN_MyWindow, True)
Syntax
Finding out the operations allowed on a window and its controls Hide the details
<Result> = <Window used>.WinEditMode
<Result>: Integer constant (or combination of constants) Combination of the following constants: | | weAddRepositionableNote | The end user can add a repositionable note in the window. | weAddWire | The end user can add a wire between several controls. | weChangeTooltip | The end user can modify the tooltips of the controls. | weChangeWire | The end user can modify the wires between the controls. | weMoveControl | The end user can move controls. | weMultiSelection | The end user can select several controls at the same time. Caution: This constant requires the use of the weSelection constant. | wePosition | The end user can move controls. | weResizeControl | The end user can resize the controls. | weSelection | The end user can select controls. | weSize | The end user can resize controls. |
<Window used>: Window name Name of the window to be used.
Modifying the operations allowed on a window and its controls Hide the details
<Window used>.WinEditMode = <Authorized operations>
<Window used>: Window name Name of window to use. <Authorized operations>: Integer constant (or combination of constants) Operations allowed on the window and its controls: | | weAddRepositionableNote | The end user can add a repositionable note in the window. | weAddWire | The end user can add a wire between several controls. | weAll | The end user can modify everything in the window. This option cannot be combined with one of the other options. | weChangeTooltip | The end user can modify the tooltips of the controls. | weChangeWire | The end user can modify the wires between the controls. | weMoveControl | The end user can move controls. | weMultiSelection | The end user can select several controls at the same time. Caution: This constant requires the use of the weSelection constant. | weNone | The end user cannot modify or select anything in the window. This option is the default option. This option cannot be combined with one of the other options. | wePosition | The end user can move controls. | weResizeControl | The end user can resize the controls. | weSelection | The end user can select controls. | weSize | The end user can resize controls. |
Remarks The WinEditMode property is used to set modification permissions on a window and its controls. The permissions can be configured on each control with the WinEditAllowed property.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|