AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de ventanas que pueden ser manipuladas por el usuario final
  • Enabling the "multi-selection" mode for the end user
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Indicates the number of controls selected when the interface is modified by the end user ("Allow end users to modify the UI" option enabled).
Example
// Enlarge all the controls by 10 pixels
FOR i = 1 _TO_ WinEdSelectOccurrence(WIN_Form)
X is Control <- WinEdSelect(WIN_Form)
X.Width += 10
END
Syntax
<Result> = WinEdSelectOccurrence(<Window>)
<Result>: Integer
  • Number of controls selected by the end user ("Allow end users to modify the UI" option)
  • 0 if no control is selected or if multi-selection is not enabled.
<Window>: Window name
Name of the window or internal window to be used. This window must be in edit mode (WinEdActive).
Remarks

Enabling the "multi-selection" mode for the end user

The "multi-selection" mode for the end user can be enabled:
  • in the editor:
    • via the specific setting options of the project:
      • on the "Project" tab, in the "Project" group, click "Description".
      • in the "Advanced" tab, click the "Options" button to define the authorized options.
    • via the specific setting options of the window:
      • Open the window description ("Description" from the window context menu).
      • In the "Details" tab, check "Allow end users to modify the UI".
      • The "Options" button is used to specify the authorized options.
  • programmatically with the WinEditMode property.
Related Examples:
WD Graphic Objects Training (WINDEV): WD Graphic Objects
[ + ] This example illustrates the power of WLanguage in object oriented programming.
This example is a graphic object editor.

It is possible to:
- move, resize objects
- make selections with a lasso or a mouse
- cut/copy/paste objects
- delete/duplicate objects
- save the created documents and print them.

The main technical features presented and documented are:
- management of an object clipboard
- UNDO/REDO management
- serialization and deserialization of objects
- algorithms for managing graphic objects (proportional resizing, management of move rules, etc...)
Component: wd290obj.dll
Versión mínima requerida
  • Versión 21
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/06/2023

Señalar un error o enviar una sugerencia | Ayuda local