ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Table functions
  • Use conditions
  • Equivalence
  • Limitation
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
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
SaveTable is string
SaveTable = TABLE_Table1.SavePositionAndSelection()
TABLE_Table1.Display(taInit)
TABLE_Table1.RestorePositionAndSelection(SaveTable)
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:
  • 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.

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: wd290obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/04/2023

Send a report | Local help