TEdit.OnEnter ceases to be effective

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
sripe
Newbie
Newbie
Posts: 26
Joined: Thu Sep 10, 2015 12:00 am

TEdit.OnEnter ceases to be effective

Post by sripe » Fri Jan 29, 2016 8:46 am

TEdit.OnEnter ceases to be effective. How to make it effect?
Attachments
Example3.zip
(6.61 KiB) Downloaded 525 times

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TEdit.OnEnter ceases to be effective

Post by Yeray » Fri Jan 29, 2016 4:13 pm

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply