• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Windows turning off events

A

Ammaccabanane

Guest
this question is silly, is there any way to turn off an event without having to delete it or comment the code in it?
 

Gradius

Member
Use an If statement around the code. Then you can use a variable to determine whether to run the event's code or not. Draw Event code is the exception, as that won't be run if the object isn't set to Visible.
 
Top