Hi List -
I have the following code in an On After Start EEP in a form:

IF vFormMode = 'Edit' THEN
 PROPERTY cidvCusPrint SET_FOCUS 'True'
 PROPERTY cidProcNoTxt ENABLED 'False'
 PROPERTY cidPartNo ENABLED 'False'
ENDIF

It runs fine, but even though the DBEdit control cidProcNoTxt is disabled, its On Exit EEP still fires and does stuff I don't want it to when the form first comes up. Is that normal? I want to be able to see the contents of the field. but not edit them. Is PROPERTY...ENABLED 'False' the correct property to use? Should I use the SKIP command instead of SET_FOCUS?

The tab order is:
cidProcNoTxt
cidPartNo
cidvCusPrint

There are no other EEPs for cidProcNoTxt.
There are no EEPs for cidPartNo or cidvCusPrint.
It's like the form is invisibly tabbing through the components starting with cidProcNoTxt to get to cidvCusPrint causing the On Exit EEP to fire.
R:Base 7.6, 31001

TIA
Doug


Reply via email to