SetSheetID
PowerScript function
Description
Sets the unique identifier for an open sheet.
Applies to
Window objects
Syntax
|
1 |
controlname.SetSheetID ( sheetname ) |
|
Argument |
Description |
|---|---|
|
controlname |
The open sheet to be identified. |
|
sheetname |
A unique string identifier for the sheet, which is used |
Return value
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 identifier 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.
Examples
|
1 2 3 |
window win[] OpenSheetDocked(win[1], this, WindowDockLeft!, "") win[1].SetSheetID("sheet1") |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest