FalconDEW Posted December 6, 2003 Posted December 6, 2003 I have a form that has a single textbox. When the textbox has focus, I have a listener for the "enter" keypress that will press the OK button. Other windows programs will highlight the default button (like OK) with a thin black border around the button. Is it possible to do this with VB.NET forms? Thanks! -Falcon Quote
Moderators Robby Posted December 6, 2003 Moderators Posted December 6, 2003 There is a property of the form named AcceptButton, select the button in there. Quote Visit...Bassic Software
FalconDEW Posted December 6, 2003 Author Posted December 6, 2003 That's just what I was looking for! Thanks! -Falcon Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.