FindClass
Description
Searches for a class with a given name within a given
group.
Syntax
|
1 |
FindClass(pbgroup group, LPCTSTR name) |
|
Argument |
Description |
|---|---|
|
group |
The handle of the group in which the class |
|
name |
The class name in lowercase |
Return value
pbclass or null on failure.
Examples
This example finds the group associated with the f_getrow function
and uses the group to find the class:
|
1 2 3 4 5 6 7 |
group = session->FindGroup("f_getrow", pbgroup_function); if ( group==NULL ) return; cls = session->FindClass(group, "f_getrow"); if ( cls==NULL ) return; |
Usage
This method searches for a PowerBuilder class with the given name
in the given group. For example, in a window definition w_1, w_1 is a
group, and w_1 and controls contained in it are all classes of group
w_1.
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest