GetMethodIDByEventID
Description
Returns the ID of the method that has a given predefined
PowerBuilder event ID.
Syntax
|
1 |
GetMethodIDByEventID(pbclass cls, LPCTSTR eventID) |
|
Argument |
Description |
|---|---|
|
cls |
pbclass containing the method |
|
eventID |
A PowerBuilder predefined event string, such as |
Return value
pbMethodID of the method or kUndefinedMethodID on error.
Examples
This statement obtains the ID of the event identified by the name
pbm_lbuttonup:
|
1 2 |
pbmethodID mid = d_session->GetMethodIDByEventID(clz, "pbm_lbuttonup"); |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest