June 25, 2024, 06:03:47 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Getting buttons to respond

Started by Andy, November 07, 2015, 06:30:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andy

Hi,

I hope you all don't mind, but I was wondering what else I could do with the MouseOverControls.inc file I've written.

In one of my latest projects, I was performing live data tests on vehicles, one bug bare was that this was in a sub routine, and the "Stop" button was a little unresponsive depending on what the program was doing when you clicked it.

Maybe there is another way to "break out" of a sub routine that is "very busy" doing something?

So, I've posted this example of how I've used my include file to stop a For/Next loop.

This might be of interested to you.

P.S. - you can see I'm bored at the moment!

Usage:
1. Click "Go" to start the loop.
2. Click "Exit" & wait - nothing happens until the For/Next is completed.
3. The program should then exit.

Now thry this:
1. Run the program again.
2. Click "Go" to start the loop.
3. Move the mouse over the "Stop" button.

You can repeat the last three steps if you want too.

Thanks,
Andy.
:)
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.