Tuesday, March 1, 2011

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 );

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Kang Iwan K-sev | Thank's for your visit To My Site - Ridwan Mulyana | Cibeureum