Kbase P55326: How to get the list of available actions from a toolbar ?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/20/2003 |
|
Status: Unverified
GOAL:
How to get the list of available actions from a toolbar ?
FACT(s) (Environment):
Dynamics 2.0A
FIX:
DEF VAR hToolbar AS HANDLE.
DEF VAR vc AS CHARACTER.
/* get toolbar handle(s) */
vc = DYNAMIC-FUNCTION( 'getToolbarHandles' IN target-procedure ) .
hToolbar = WIDGET-HANDLE( ENTRY( 1, vc ) ).
/* get the bands name from Toolbar */
vc = DYNAMIC-FUNCTION( 'actionGroups' IN hToolbar ).
/* get the Items from the 1st band */
vc = DYNAMIC-FUNCTION( 'CategoryActions' IN hToolbar,
ENTRY( 1, vc ) ).
/* show the items */
MESSAGE vc .