Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
I need a code that stops the rest of the events from happening, i tried Stop which worked, but closed my whole program. I also tried e.Cancel but it doesn't work either.
  • Leaders
Posted

If you want to block the rest of the code when some event occurs, then you place the rest of the code in an If block

such and such
'If condition is true then I want to exit this procedure.
if not X then   ' if(!x) {
 'code           '  // code
end if            ' }
end sub         '} //end of procedure

:)

Iceplug, USN

One of my coworkers thinks that I believe that drawing bullets is the most efficient way of drawing bullets. Whatever!!! :-(

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...