Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

FindClassDefinition – PB Docs 2019 – PowerBuilder Library

FindClassDefinition – PB Docs 2019

FindClassDefinition

PowerScript function

Description

Searches for an object in one or more PowerBuilder libraries (PBLs)
and provides information about its class definition.

Syntax

Argument

Description

classname

The name of an object (also called a class or class
definition) for which you want information.

librarylist (optional)

An array of strings whose values are the fully qualified
pathnames of PBLs. If you omit librarylist, FindClassDefinition
searches the library list associated with the running
application.

Return value

ClassDefinition. Returns an object reference with information about
the definition of classname. If any arguments are null,
FindClassDefinition returns null.

Usage

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 an object stored in a PBL, call FindClassDefinition

Examples

This example searches the libraries for the running application to
find the class definition for w_genapp_frame:

This example searches the libraries in the array ls_libraries to
find the class definition for w_genapp_frame:

See also

FindFunctionDefinition

FindMatchingFunction

FindTypeDefinition


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