Hi,

Why not use CustomEdit1.SetFocus in CustomSpeedButton1.Click?

Gabor

> Hello,
> 
>   situation: I have TCustomEdit and TCustomSpeedButton; when focus is in 
> edit and I press speed button then edit loses focus.
>   How to prevent losing focus when I press speed button?
> 

_______________________________________________
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to