Results 1 to 3 of 3

Thread: Quick & Easy OKCancel Question [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Lively Member milkmood's Avatar
    Join Date
    Mar 2005
    Location
    Forests of Delta Halo
    Posts
    109

    Resolved Quick & Easy OKCancel Question [RESOLVED]

    I'm using a MessageBox with OKCancel buttons.

    What's the syntax for Exit Sub when Cancel is clicked, and continue of OK is clicked?

    VB Code:
    1. MessageBox.Show("Are you sure you want to permanently delete this customer?", "Permanently Delete?", MessageBoxButtons.OKCancel)

    Thanks,
    CP
    Last edited by milkmood; May 25th, 2005 at 10:38 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width