Consultor Eletrônico



Kbase P122141: assignActionTooltip fails with Dynamics static pgen code
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   13/02/2007
Status: Unverified

FACT(s) (Environment):

Progress/WebSpeed Versions
OpenEdge 10.1x
Dynamics

SYMPTOM(s):


assignActionTooltip fails with Dynamics static pgen code

Trying to change the tooltip of a toolbar button at runtime using the assignActionTooltip API results in error 5639 at runtime, if static 4GL pgen code has been generated.


User-defined function 'messageNumber' invoked dynamically but could not be found. (5639)
?
?

User defined function <function> invoked dynamically but not found (5639)

CAUSE:

This is a known issue being investigated by Development

FIX:

To work around the problem run loadToolbar before the change to the tooltip is made. For example:

hToolbar = DYNAMIC-FUNCTION( 'getContainerToolbarSource':U IN TARGET-PROCEDURE ).

Run loadToolbar in hToolbar. /* load toolbar actions */
DYNAMIC-FUNCTION( 'assignActionTooltip':U IN hToolbar, "add", "Changed tooltip").