Default and Cancel properties for buttons on a Windows form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Access 2000 has properties for their button called, Default and Cancel. It
does not appear that VB.NET Windows.Forms.Button have equivalent properties.
Is there an easy way to emulate those properties for a VB.NET button?
 
genojoe said:
Access 2000 has properties for their button called, Default and Cancel.
It
does not appear that VB.NET Windows.Forms.Button have equivalent
properties.
Is there an easy way to emulate those properties for a VB.NET button?

Take a look at the form's 'AcceptButton' and 'CancelButton' properties.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top