Re: move cursor to TEdit

Posted by Maxwell on June 18, 2005

In Reply to: cursor posted by Elie IMAD on June 18, 2005

: hi guys i wanna ask u somethin
: i have a tedit1 and tedit2
: so on tedit1change i want the cursor to go to tedit2
: how???

In Delphi, you can set the "focus" to any windowed control with the method SetFocus. This includes TEdit, TMemo, TListBox, TButton, and so on... but not TLabel, TSpeedButton and a few others.