ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Table functions
  • Use conditions
  • Equivalence
  • Limitation
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Saves:
  • the scrollbar position in a Table or TreeView Table control,
  • the elements selected in the control.
These elements can be restored by <Table>.RestorePositionAndSelection.
Example
SauveTable is string
SauveTable = TABLE_Table1.SauvePositionEtSélection()
TABLE_Table1.Affiche(taInit)
TABLE_Table1.RestaurePositionEtSélection(SauveTable)
Syntax
<Result> = <Table control>.SavePositionAndSelection()
<Result>: Character string
<Table control>: Control name
Name of the Table or TreeView Table control to be used.
Remarks

Use conditions

<Table>.SavePositionAndSelection 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.

Equivalence

<Table>.SavePositionAndSelection and <Table>.RestorePositionAndSelection are equivalent to the option "Remember position and selection" available in the "Details" tab of the Table control description.

Limitation

<Table>.SavePositionAndSelection does not work on Table controls based on a data file with ongoing movement (i.e. without proportional scrollbar).
Component: wd300obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/24/2024

Send a report | Local help