Dialog OK button

  • Thread starter Thread starter Ray Valenti
  • Start date Start date
R

Ray Valenti

How do I set the default button in a dialog box to display with the
emphasized border? The DialogResult property is set to "OK." but it looks
like any other command button.

Ray
 
Try setting the AcceptButton property of the form to your button.

Chris
 

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