ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Spreadsheet functions
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 Spreadsheet control for the current worksheet,
  • the current worksheet in the Spreadsheet control,
  • the selected elements in the Spreadsheet control for the current worksheet.
These elements can be restored by <Spreadsheet>.RestorePositionAndSelection.
Example
let MaSauvegarde = TBLR_Tableur1.SauvePositionEtSélection() 

// Met en gras la cellule B1
TBLR_Tableur.SelectPlus("B1")
TBLR_Tableur.StyleSélection(psheetBold, True)

// Restaure la position/sélection 
TBLR_Tableur1.RestaurePositionEtSélection(MaSauvegarde)
Syntax
<Result> = <Spreadsheet control>.SavePositionAndSelection()
<Result>: Character string
<Spreadsheet control>: Control name
Name of the Spreadsheet control to be used.
Component: wd300obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help