Getting a Class Definition Object
\The Sandbox \PB History & Future \New In PB6 \Ease of Use & PowerScript \Class Definition Information \Getting a Class Def'n Object
Info About
Class Def'ns
Who Uses
Class Def'ns
Getting a Class
Def'n Object
Details of
a Class Def'n
Class' Scripts
Class'
Variables

To work with class information, you need a class definition object. There are two ways to get a ClassDefinition object containing class definition information.

For an instantiated object in your application, use its ClassDefinition property.

For example, in a script for a button, this code gets the class definition for the parent window.

    ClassDefinitioncd_windef
    cd_windef = Parent.ClassDefinition

For an object stored in a PBL, call FindClassDefinition.

For example, in a script for a button, this code gets the class definition for the window named w_genapp_frame from a library on the application's library list.

    ClassDefinitioncd_windef
    cd_windef = FindClassDefinition("w_genapp_frame")
PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com