Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating Custom Events
#4
brandonio21 Wrote:No, actually, that will not occur. This is how you would use it!
Code:
Public Sub MS() Handles Modes1.onModeSwitch()
Msgbox("Hello, world!")
End Sub
So then every time the SwitchMode() method is called, the hello world messagebox will appear!
Okay. Thanks. I think this might be useful for my current project.
Also known as Rocketalypse.
System.out.println("I prefer Java.");


Messages In This Thread
Re: Creating Custom Events - by Vinwarez - 04-04-2012, 01:49 PM
Re: Creating Custom Events - by Vinwarez - 04-05-2012, 04:25 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)