|
|
|
|
|
WinEditAllowed (Property)
The WinEditAllowed property is used to determine and configure the actions allowed on a control when the window switches to "Allow end users to modify the UI" mode.
WIN_MyWindow.WinEditMode = weSelection + wePosition + weSize
BTN_OK.WinEditAllowed = weNone
WinEdActive(WIN_MyWindow, True)
IF BitwiseAND(MySelf.WinEditAllowed, weSelection) = weSelection THEN
Trace("Selection allowed")
END
Sintaxis
Finding out the operations allowed on a control Ocultar los detalles
<Result> = <Control used>.WinEditAllowed
<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. Warning: This constant requires the use of the constant feSélection. | 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. |
<Control used>: Control name Name of the control to be used.
Defining the operations allowed on a control Ocultar los detalles
<Control used>.WinEditAllowed = <Authorized operations>
<Control used>: Control name Name of the control to be used. <Authorized operations>: Integer constant (or combination of constants) Authorized field manipulations: | | 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. Warning: This constant requires the use of the constant feSélection. | 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. |
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|