Kbase P9218: Audit Control has unusable buttons
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/06/2003 |
|
Status: Unverified
FACT(s) (Environment):
Dynamics 2.0A
SYMPTOM(s):
Audit Control has unusable buttons
Some buttons in the BrowseToolbar should be removed from the Audit Control
screen
FIX:
An enhancement request is added regarding this problem.
The following is a workaround:
Crete a structure procedure and add it as super-procedure for the Audit Browser gstadfullb. Add the following variable in the definitions block:
DEFINE VARIABLE hToolbarSource AS HANDLE NO-UNDO.
Create the initializeObject procedure with the following code:
ASSIGN hToolbarSource = DYNAMIC-FUNCTION('linkHandles':U IN TARGET-PROCEDURE,
INPUT 'toolbar-source':U).
RUN SUPER.
Create the dataAvalibale procedure with the following code:
DEFINE INPUT PARAMETER pcRelative AS CHARACTER NO-UNDO.
RUN SUPER (INPUT pcRelative).
DYNAMIC-FUNCTION('disableActions' IN hToolbarSource, INPUT "audit,comments") NO-ERROR.
It will disable the Audit and Comments buttons in the browse toolbar