ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Table functions
  • Use conditions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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
// Dé-sélectionne la ligne 5 dans le champ Table "TABLE_Produit"
TABLE_Produit.SelectMoins(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:
  • Table or TreeView Table controls based on a data file.
  • Table or TreeView Table controls populated programmatically.
  • single-selection or multi-selection controls.
Component: wd300obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/18/2024

Send a report | Local help