PC SOFT

AYUDA EN LÍNEA
DE WINDEV, WEBDEV Y WINDEV MOBILE


WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Otros
Procedimientos almacenados
CurrentWorksheet (Property)
 
..CurrentWorksheet is used to find out and modify the current worksheet in a Spreadsheet control.
Ejemplo
// Add a worksheet
nWorksheet is int
nWorksheet = SpreadsheetAddWorksheet(PSHEET_MySpreadsheet)
// Select the worksheet
PSHEET_MySpreadsheet..CurrentWorksheet = nWorksheet
Sintaxis

Finding out the position of the current worksheet Ocultar los detalles

<Result> = <Spreadsheet>..CurrentWorksheet
<Result>: Integer
Position of the current worksheet.
<Spreadsheet>: Character string (with or without quotes)
Name of the Spreadsheet control to use.

Modifying the current worksheet in a Spreadsheet control Ocultar los detalles

<Spreadsheet>..CurrentWorksheet = <New Value>
<Spreadsheet>: Character string (with or without quotes)
Name of the Spreadsheet control to use.
<New Value>: Integer
Position of the worksheet that will become the current worksheet.
Observaciones
  • If the Spreadsheet control does not manage the multiple worksheets:
    • the modification of the current worksheet has no effect,
    • the position of the current worksheet is always set to 1.
  • The functions for managing the Spreadsheet control always handle the data found in the current worksheet.
  • The syntaxes for accessing the cells always handle the current worksheet.
Versión mínima requerida
  • Versión 20
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario