Consultor Eletrônico



Kbase P53328: Dynamics. How to add a UI event.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/11/2003
Status: Unverified

GOAL:

Dynamics. How to add a UI event.

FACT(s) (Environment):

Dynamics 2.0A

FIX:

1. Open the Object Type Maintenance tool from the Objects menu in the Dynamics Development.

2. Expand the TreeView as following:
DynamicObject --> DataField --> UI Events

3.Create a new UI Event and add the following values:
Event Name: LEAVE
Action Type: run
Action Target: self

4. Save this new Event.

Now you can use this new event in two ways, using the Repository Maintenance tool or from the DynField Property Sheet.

A. Repository Maintenance Tool:
Set the DynView Object Type, your Product Module, press the Apply button and open the following node:
DynView --> Objects --> yourVIewer --> yourFieldName --> UI Events
Add the LEAVE event and set its value.

B. Dynamic Properties sheet.
Open the DynView with the Open Object button in the AppBuilder.
Choose the field and press the new Dynamic Properties button in the AppBuilder.
Choose the 'Event' folder.
Add the values for the LEAVE trigger.