Page 1 of 1

TEdit.OnEnter ceases to be effective

Posted: Fri Jan 29, 2016 8:46 am
by 16576306
TEdit.OnEnter ceases to be effective. How to make it effect?

Re: TEdit.OnEnter ceases to be effective

Posted: Fri Jan 29, 2016 4:13 pm
by yeray
Hello,

I'm not sure to understand what exact problem are you having with it or with the TChart.
I see your Edit1Exit method is linked to both OnEnter and OnExit. This makes that method to be executed every time the focus changes from another control to the Edit1, and also from Edit1 to another control.
Note usually a TEdit component is used with the OnChange event, more than with the OnEnter/OnExit events.