VB Accept and Cancel Buttons

  • Thread starter Thread starter Michael Beatty
  • Start date Start date
M

Michael Beatty

How do I change the Accept and Cancel Buttons while running the application.
There dosen't seem to be a Accept or Cancel Button property for the form
class
 
Yes there is an AcceptButton property for the form class as well as a
CancelButton property, and these properties are available at run time and
design time. I am using them in my code and it is working fine.
 
Michael:

The Form object has an AcceptButton and CancelButton property, they are
available in the designer or at runtime.
 

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