ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Table functions
  • Use conditions
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
Deselects a row from a Table or TreeView Table control. The selected row corresponds to the current row on which the selection bar is displayed.
Example
// Deselect row #5 i n the Table control "TABLE_Product"
TABLE_Product.SelectMinus(5)
Syntax
<Table control>.SelectMinus([<Index 1> [... [, <Index N>]]])
<Table control>: Control name
Name of the control to be used. This control can correspond to:
  • a Table control.
  • a TreeView Table control.
<Index 1>: Optional integer
Index of the first row to deselect. If this parameter is not specified, all the rows found in the specified control are deselected. <Table>.SelectMinus has no effect if this parameter corresponds to a row that is not selected. You can get the index of the selected row with <Table>.Select.
The function has no effect if this parameter corresponds to -1.
<Index N>: Optional integer
Index of the Nth row to deselect. If this parameter is not specified, all the rows found in the specified Table control are deselected. <Table>.SelectMinus has no effect if this parameter corresponds to a row that is not selected. You can get the index of the selected row with <Table>.Select.
Remarks

Use conditions

<Table>.SelectMinus can be used on:
  • a Table or TreeView Table control based on a data file.
  • a Table or TreeView Table control populated programmatically.
  • a single-selection or multi-selection control.
Component: wd300obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/20/2023

Send a report | Local help