skip to main content
OpenEdge Development: ADM Reference
Toolbar Objects and Their Methods and Properties : Methods for toolbar object actions
 
Methods for toolbar object actions
This section lists and describes the methods for Toolbar Object actions.
canFindAction
Returns TRUE if an action exists.
Location: toolbar.p
Parameters:  
INPUT pcAction AS CHARACTER
Name of the action.
Returns: LOGICAL
Notes: None
canFindCategory
Calls findCategory to determine whether some category exists in TARGET-PROCEDURE.
Location: toolbar.p
Parameters:  
INPUT pcCategory AS CHARACTER
The category (action) of interest.
Returns: LOGICAL
Notes: None
categoryLink
Returns the value of Link for the specified category.
Location: toolbar.p
Parameters:  
INPUT pcCategory AS CHARACTER
The category of interest.
Returns: CHARACTER
Notes: None
checkRule
Checks the rules of an action against the target.
Location: toolbar.p
Parameters:  
INPUT pcRule AS CHARACTER
The rules for the target.
INPUT phHandle AS HANDLE
Handle of the dynamic Buffer with the rules or the handle of the target.
INPUT plDefault AS LOG
Default is used when the function or property is not found, or when the function returns the Unknown value (?).
Returns: CHARACTER
Note: This functionality is duplicated in panel.p.
defineAction
Creates a temp-table entry defining an action, possibly overwriting the existing definition.
Location: toolbar.p
Parameters:  
INPUT pcId AS CHARACTER
INPUT pcColumns AS CHARACTER
INPUT pcValues AS CHARACTER
Returns: LOGICAL
Note: If “Instance” is one of the listed fields, the action is created as an instance class and the target-procedure stored in the temp-table.
displayActions
Utility procedure that displays a dialog showing all the Actions currently defined.
Location: toolbar.p
Parameters: None
Note: Can be executed by selecting displayActions from the PRO*TOOLS procedure object viewer for the desired SmartContainer.
initAction
Procedure that defines all default actions for the SmartToolbar.
Location: toolbar.p
Parameters: None
Note: Called once from initializeObject.
initializeObject
Procedure that calls initAction to define the set of actions used by SmartToolbars.
Location: toolbar.p
Parameters: None
Notes: None