FindGroup
Description
Searches for a group with a given name and group type in the
current library list.
Syntax
|
1 |
FindGroup(LPCTSTR name, pbgroup_type type) |
|
Argument |
Description |
|---|---|
|
name |
The group name in lowercase |
|
type |
An enumerated type defined in |
Return value
pbgroup or null on failure.
Examples
This example finds the group associated with user_exception and
uses the group to find the class:
|
1 2 3 4 5 |
group = session-> FindGroup("user_exception", pbgroup_userobject); if ( group==NULL ) return; cls = session->FindClass(group, "user_exception") |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest