Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Oct 1, 1996

Maintaining Focus on a Command Button

Question:
I see that an input box appears to maintain a focus on one the command buttons even when entering text. How is this done?

Answer:
What you are seeing is the result of the Default property being set. It is responsible for the dark line around a command button that makes the button click when the Enter key is pressed. Just set it to true in the properties window.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date