PowerScript has pronouns that allow you to make a general reference to an object or control. When you use a pronoun, the reference remains correct even if the name of the object or control changes.
You can use pronouns in function and event scripts wherever you would use an object’s name. For example, you can use a pronoun to:
Cause an event in an object or control
Manipulate or change an object or control
Obtain or change the setting of a property
The following table lists the PowerScript pronouns and summarizes their use.
ParentWindow property You can use the ParentWindow property of the Menu object like a pronoun in Menu scripts. It identifies the window that the menu is associated with when your program is running. For more information, see the User’s Guide.
The rest of this section describes the individual pronouns in detail.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |