PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Indicates the number of controls selected by the end user when modifying the interface ("Edit by the end user" mode 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 ("Edit by the end user" mode),
  • 0 if no control is selected or if the multi-selection is not enabled.
<Window>: Character string (with or without quotes)
Name of window or internal window to use. This window must be in modification mode (WinEdActive).
Remarks

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

The "Multi-selection" mode can be enabled:
  • in the editor:
    • via the specific setting options of the project:
      • on the "Project" pane, 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:
      • Display the window description of the window ("Description" from the popup menu of the window).
      • In the "Details" tab, check "Modification of GUI by the end user".
      • The "Options" button is used to specify the authorized options.
  • by programming via ..WinEditMode.
Related Examples:
WD Graphic Objects Training (WINDEV): WD Graphic Objects
[ + ] This educational example illustrates the power of WLanguage regarding object-oriented programming.
This example is an editor of graphic objects.

You have the ability to:
- move, resize the objects
- perform selections with the lasso or with the mouse
- cut/copy/paste objects
- delete/duplicate objects
- save the created documents and print them.

The main technical features presented and documented in this example are as follows:
- managing a clipboard of objects
- managing UNDO/REDO
- serializing and deserializing objects
- OOP
- algorithms for managing graphic objects (proportional resize operations, management of movement rules, etc.)
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment