Kbase P123161: AppBuilder inside Architect prevents adding trigger to TTY widgets
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/16/2008 |
|
Status: Unverified
FACT(s) (Environment):
OpenEdge 10.1x
Windows
SYMPTOM(s):
Using OpenEdge Architect
AppBuilder
AppBuilder inside Architect prevents adding trigger to TTY widgets
Using AppBuilder perspective in Architect
Defining widgets inside TTY window
Adding triggers to widget with Edit > Insert > Trigger
Trigger entry in menu is disabled
Trigger entry in menu is grayed out
CAUSE:
This is a known issue being investigated by Development
FIX:
As a workaround, perform the following steps to create a trigger for a TTY widget:
1. open the Architect Editor perspective
2. open the source file for the TTY window
3. go to the "Control Triggers" section of the file
4. copy-and-paste the following template:
&Scoped-define SELF-NAME BUTTON-1
&ANALYZE-SUSPEND _UIB-CODE-BLOCK _CONTROL BUTTON-1 TERMINAL-SIMULATION
ON MOUSE-SELECT-CLICK OF BUTTON-1 IN FRAME DEFAULT-FRAME
DO:
/* new trigger */
MESSAGE "hello" VIEW-AS ALERT-BOX.
END.
/* _UIB-CODE-BLOCK-END */
&ANALYZE-RESUME
5. replace "BUTTON-1" and "MOUSE-SELECT-CLICK" by the widget name and event type, respectively.