PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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 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 MySave = PSHEET_Spreadsheet1.SavePositionAndSelection()

// Displays the B1 cell in bold
PSHEET_Spreadsheet.SelectPlus("B1")
PSHEET_Spreadsheet.StyleSelection(psheetBold, True)

// Restores the position/selection
PSHEET_Spreadsheet1.RestorePositionAndSelection(MySave)
Syntax
<Result> = <Spreadsheet control>.SavePositionAndSelection()
<Result>: Character string
<Spreadsheet control>: Control name
Name of Spreadsheet control to use.
Component : wd240obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment