ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Limitations for the Calendar control
  • Limitations
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Multiselection (Property)
In french: Multisélection
The Multiselection property gets and sets the selection mode:
  • AndroidiPhone/iPad in a Table control.
  • AndroidiPhone/iPad in a TreeView Table control.
  • AndroidiPhone/iPad in a List Box control.
  • AndroidiPhone/iPad in a Looper control.
  • AndroidiPhone/iPad in a Calendar control.
Example
// Modifie le mode de sélection selon la valeur du champ Interrupteur
IF INT_Multisel = True THEN
	TABLE_Table1.Multiselection = True
ELSE
	TABLE_Table1.Multiselection = False
END
Syntax

Getting the selection mode Hide the details

<Selection mode> = <Control used>.Multiselection
<Selection mode>: Boolean
  • True if the control allows for multiple selection,
  • False if the control allows for single-selection only.
AndroidiPhone/iPad Table and hierarchical Table fields: Only the line selection mode is taken into account. The selection mode of the columns and cells is ignored.
<Control used>: Control name
Name of the field to be manipulated:
  • AndroidiPhone/iPad Table control.
  • AndroidiPhone/iPad TreeView Table control.
  • AndroidiPhone/iPad List Box control.
  • AndroidiPhone/iPad Looper control.
  • AndroidiPhone/iPad Calendar control.

Changing the selection mode Hide the details

<Control used>.Multiselection = <New selection mode>
<Control used>: Control name
Name of the field to be manipulated:
  • AndroidiPhone/iPad Table control.
  • AndroidiPhone/iPad TreeView Table control.
  • AndroidiPhone/iPad List Box control.
  • AndroidiPhone/iPad Looper control.
  • AndroidiPhone/iPad Calendar control.
<New selection mode>: Boolean
  • True if the control must allow for multiple selection,
  • False if the control must be single-selection. If the control switches to single-selection while several elements are selected, only the first selected element is kept.
AndroidiPhone/iPad In the case of Table and hierarchical Table fields: Only the line selection mode is changed. The selection mode of the columns and cells does not change.
Remarks
AndroidiPhone/iPad

Limitations for the Calendar control

In a Calendar control, the Multiselection property can only be used to switch from single-selection mode to multi-selection mode . If the "Range selection" mode is selected in the editor ("Details" tab of the control description window), the Multiselection property has no effect.

Limitations

AndroidiPhone/iPad The Multiselection property has no effect:
  • on editable table fields without selection: returns False.
  • on Table fields displayed without selection: it returns False.
  • on "5.5-compatible" Table controls.
The Multiselection property can be used with the following controls:
  • AndroidiPhone/iPad Table control.
  • AndroidiPhone/iPad TreeView Table control.
  • AndroidiPhone/iPad List Box control.
  • AndroidiPhone/iPad Looper control.
  • AndroidiPhone/iPad Calendar control.
  • "Text token" Edit control.
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help