SetSheetID PowerScript Function – PB Docs 126


SetSheetID PowerScript Function

Sets the unique identifier for an open sheet.

Applies to

Window objects

Syntax

Argument Description
controlname The open sheet to be identified.
sheetname A unique string identifier for the sheet, which is used when
layout is persisted.

Returns

Integer. Returns 1 if it succeeds and -1 if an error occurs. If any argument’s value
is null, SetSheetID returns null.

Usage

If no sheet indentifier was set when it was opened by one of the OpenSheet functions,
you can set an ID using the SetSheetID function. You can also
change a sheet’s ID.

Example 1

Parent topic: Persist the MDI State

Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x