Developer's reference PB2XLS for PowerBuilder

Reference > N_XLS_WORKSHEET > of_select

of_select() method

Specify which worksheet is initially selected in a multi-sheet workbook.

Syntax

Worksheet.of_select ( )

Return value

Integer. Returns 1 if it succeeds and -1 if an error occurs.

Description

A selected worksheet has its tab highlighted. Selecting worksheets is a way of grouping them together so that, for , several worksheets could be printed in one go. A worksheet that has been activated via the of_activate() method will also appear as selected.