PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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 TableRestorePositionAndSelection.
Versions 18 and later
WINDEVLinux This function is now available for the WINDEV applications in Linux.
New in version 18
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
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 Table or TreeView Table control to use.
Remarks

Use conditions

TableSavePositionAndSelection can be used on:
  • a browsing or memory control.
  • a single-selection or multi-selection Table control.

Equivalence

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

Limitation

TableSavePositionAndSelection does not operate on the browsing Table controls with rebound (which means without proportional scrollbar).
Components
WINDEVReports and Queries wd230obj.dll
Windows Mobile wp230obj.dll
Linux wd230obj.so
Minimum required version
  • Version 14
This page is also available for…
Comments
Exemplo Salvar e Recuperar Posiçã
s_salva_posicao_tabela is string=TableSavePositionAndSelection(TABLE_cliente)
// Comandos // manutencao_alterar_cliente_fornecedor()
TableRestorePositionAndSelection(TABLE_cliente,s_salva_posicao_tabela)

//Blog com Video e Exemplo
http://windevdesenvolvimento.blogspot.com.br/2016/03/curso-windev-tabela-018-guardar-e.html
De matos AMARILDO
Mar. 21 2016