Kbase P11039: How to create and use triggers to widgets in a DynamicViewer
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/3/2003 |
|
Status: Unverified
GOAL:
How to create and use triggers to widgets in a DynamicViewer
GOAL:
How to add custom triggers to object types
FACT(s) (Environment):
Dynamics 2.0A
FIX:
The following example shows how to add the trigger LEAVE to a DataField.
1- Before add the trigger for the object in the viewer, the trigger must be defined in the Repository database. It could be done with the Object Type Maintenance tool, this tool could be opened from the Objects menu from the Dynamics Development menu.
After open this tool, open the following node in the TreeView object:
Dynamic)bject --> DataField --> UI Events
2- Add a new event for the DataField with the following values:
Event Name: LEAVE
Event Type: run
Event Target: self
3- Open the DynViewer, choose the field where the trigger will be added and press the new 'Dynamics Properties' button in the AppBuilder.
4- Choose the 'Events' folder and add the values for the selected trigger.