Just an fyi, I thought about it and figured out that the "On close" form eep
fires. 

I could check to see what field the form is on(component id) when it closes.
I also moved my field "on exit" eep to a form action.

I then added this to the "On close" form eep.

IF RBTI_FORM_COMPID = 'componentid' THEN
    PROPERTY rbase_form_action actionname ' '
ENDIF
--To refresh changes made by the form action
Recalc tables

That solved my problem without removing the X. I am loving it!!

Dan Goldberg


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of A. Razzak
Memon
Sent: Monday, July 21, 2008 7:58 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: DB Edit eep does not fire when the X is pressed

At 06:36 PM 7/21/2008, Dan Goldberg wrote:

>I have an eep on a db edit field on the "On Exit From".
>
>When the user types something in the db edit field and then clicks on 
>the X to close(or hits esc key) on the form, the eep does not fire.

Dan,

While in the DB Edit Control, clicking on the [x] does not stipulate the
opportunity to "Exit" from the field to fire the underlying code when
defined as "On Exit from" EEP.


>I am thinking I should remove the X all together and put my own exit 
>button.

That is the best safeguard to ensure the proper exit or closing the form
when all required fields are filled as well as all conditions are met.

Very Best R:egards,

Razzak.


Reply via email to