Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
i was wondering how you make a button the default button on a form, using visual basic .net. In visual basic 6 the command button had a property called default but i cannot find any such property in .net. You help would be greatly appreciated. Thankyou
  • Leaders
Posted
In .Net Microsoft took a more logical approach and made the default button a property of the form rather than of the button. Select the form in the designer, and look in the properties. The property is "AcceptButton". Also note the "CancelButton" property.
[sIGPIC]e[/sIGPIC]
Posted

Thank you

 

Thank you very much for your help. I've just started using .net and am trying to learn all the different ways of doing things. Thank you again.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...