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 TableRestorePositionAndSelection.
Example
SaveTable is string
SaveTable = TableSavePositionAndSelection(TABLE_Table1)
TableDisplay(TABLE_Table1, taInit)
TableRestorePositionAndSelection(TABLE_Table1, SaveTable)
Syntax
<Result> = TableSavePositionAndSelection(<Table control>)
<Result>: Character string
<Table control>: Control name
Name of the Table or TreeView Table control to be used.
Remarks

Use conditions

TableSavePositionAndSelection 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

TableSavePositionAndSelection and TableRestorePositionAndSelection are equivalent to the option "Remember position and selection" available in the "Details" tab of the Table control description.

Limitation

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

Last update: 09/24/2024

Send a report | Local help