IPB_Session interface:
FindClass method
Description
Searches for a class with a given name within a given group.
Syntax
|
1 |
FindClass(pbgroup <span>group</span>, LPCTSTR <span>name</span>) |
|
Argument |
Description |
|---|---|
|
group |
The handle of the group in which the |
|
name |
The class name in lowercase |
Return Values
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 |
group = session->FindGroup("f_getrow",<br>   pbgroup_function);<br>if ( group==NULL ) <br>   return;<br>cls = session-><span>FindClass</span>(group, "f_getrow");<br>if ( cls==NULL ) <br>   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