PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Use conditions
  • Equivalence
  • Limitation
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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.
Versions 18 and later
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 18
WINDEVLinux This function is now available for WINDEV applications in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Versions 24 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 24
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
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 Table or TreeView Table control to use.
Remarks

Use conditions

<Table>.SavePositionAndSelection can be used on:
  • a browsing or memory control.
  • a single-selection or multiselection Table control.

Equivalence

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

Limitation

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