Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.
Const.PM_UserMethodSelected
Applications send the Const.PM_UserMethodSelected message to table objects to invoke an application-defined user method for all selected rows in the table.
Name | Description |
---|---|
nWhat = wParam | Standard method parameter. Possible values are Const.METHOD_Inquire, Const.METHOD_Execute |
sMethod = SalString.FromHandle(Sys.lParam) | Name of method to execute. This is the name specified in the menu item, or Foundation1 properties. |
When nWhat = Const.METHOD_Inquire, the return value is true if the method is available for all selected rows.
When nWhat = Const.METHOD_Execute: the return value is TRUE if the method executed successfully for all selected rows.
If the method fails to execute for a row, the loop is terminated and the method is not executed for subsequent rows.