Advanced PowerBuilder

HomePrevious Lesson: Placing Non-Visual User Objects
Next Lesson: User Object Events

PARENT and THIS Pronouns

If you create a standard user object, you can use the reserved words Parent and This, similar to a standard control. For example, if you write Close(Parent) for the clicked event of a CommandButton type user object, clicking on it would close the window. This will happen even if you open the user object dynamically with OpenUserObject() or OpenUserObjectWithParm() function.
HomePrevious Lesson: Placing Non-Visual User Objects
Next Lesson: User Object Events