Mega Code Archive

 
Categories / Delphi / Examples
 

Moving to the next tab stop

You can make your application focus the next control (in the tab order) on your form by using the SelectNext() method. To move to the next control: SelectNext( ActiveControl as TWinControl, True, True ); To move to the previous control: SelectNext( ActiveControl as TWinControl, False, True );