NOT LOGGED IN
NOTE: You are commenting as an anonymous guest. You will
NOT immediately see your comment, but it's there. Please do not try to re-send the same comment. If you'd like to see it immediately, please
login or create an account (
no worries, it's free).
Olympus
Engaged
Mouse Hover is the right event to use, but instead of making multiple checkbox objects for that one, use the same checkbox (less objects also means less overhead/memory used), but make a random number generator to generate a new X and Y Location for the checkbox object when the mouse hovers over it.
I wrote a little random number generator a while ago, you can use for starters, you may want to change the variable types to Single, Double, etc.
Also, be careful to make sure the number you use as new coordinates doesn't go off the form, or outside of whatever container it's in (like a groupbox or something), you'll probably get an error. Index out of bounds, or similar. If it's only the Form as the container, you can use me.width, me.height, etc.