Página 1 de 1

got/lost focus

Publicado: Jue Mar 29, 2012 4:09 am
por Roberto
Hi,
Is there a way to use gotfocus and lostfocus with an TPanel, TBevel or other controls that don't receives de focus directly? (like tedit and so on)
I would like to do some work BEFORE/AFTER the control inside a TBevel got/lost the focus. Events OnEnter/OnExit does not work with then (I guess they should be removed from eventlist)
tks,

got/lost focus

Publicado: Vie Abr 06, 2012 4:52 pm
por jfgimenez
Roberto,
> Is there a way to use gotfocus and lostfocus with an TPanel,
> TBevel or other controls that don't receives de focus
> directly? (like tedit and so on)
when those controls receive the focus, they resend it to their first
child control.
> I would like to do some work BEFORE/AFTER the control inside
> a TBevel got/lost the focus. Events OnEnter/OnExit does not
> work with then (I guess they should be removed from
> eventlist)
You should use the events for the controls contained in the panel/bevel
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info