PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
New WINDEV 26 feature!
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
Moves a worksheet within a Spreadsheet control in a window.
Example
// Moves the current worksheet to the first position
PSHEET_MySpreadsheet.MoveWorksheet(1)
Syntax

Moving a worksheet identified by its number Hide the details

<Spreadsheet control>.MoveWorksheet(<New worksheet position> [, <Worksheet number>])
<Spreadsheet control>: Control name
Name of Spreadsheet control to use.
<New worksheet position>: Integer
New position of the worksheet (1 to move it to the first position, total number of worksheets to move it to the last position).
<Worksheet number>: Optional integer
Number of the worksheet to be moved. If this parameter is not specified, the current worksheet is moved.

Moving a worksheet identified by its name Hide the details

<Spreadsheet control>.MoveWorksheet(<New worksheet position> , <Worksheet name>)
<Spreadsheet control>: Control name
Name of Spreadsheet control to use.
<New worksheet position>: Integer
New position of the worksheet (1 to move it to the first position, total number of worksheets to move it to the last position).
<Worksheet name>: Character string
Name of the worksheet to be moved.
Component : wd260obj.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment