ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Limitations
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
Multiselection (Property)
In french: Multisélection
The Multiselection property gets and sets the selection mode:
    Example
    // Changes the selection mode based on the value of the Check Box control
    IF CBOX_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 is single-selection
    Windows For Table and TreeView Table controls: Only the selection mode of the rows is taken into account. The selection mode of the columns and cells is ignored.
    <Control used>: Control name
    Name of the control to be used:

      Changing the selection mode Hide the details

      <Control used>.Multiselection = <New selection mode>
      <Control used>: Control name
      Name of the control to be used:
        <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.
        Windows For Table and TreeView Table controls: Only the selection mode of the rows changes. The selection mode of the columns and cells does not change.
        Remarks

        Limitations

        The Multiselection property can be used with the following controls:
          Minimum version required
          • Version 12
          This page is also available for…
          Comments
          Click [Add] to post a comment

          Last update: 10/11/2023

          Send a report | Local help