On 6/17/22 01:58 Bill Spitzak wrote:
I think what is happening is the RELEASE event is getting lost, so the
counter thinks the button is pressed and keeps incrementing.
Yes, that was my first thought too and my first demo program opened a
modal window in the callback which directs the FL_RELEASE event to the
modal window and thus it is lost for the Fl_Counter widget. But this is
only one of the issues.
It is probably worth while to figure out why the event is not getting
See above for one possible reason. But unfortunately that's not all that
can happen. I'm currently investigating another issue...
... but it would be possible for the counter to check if the mouse is
currently held down before repeating the timeout.
That's something I'm definitely going to look at.
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/f51fd5e3-0ad0-9e22-74ad-d4aca9d32a1d%40online.de.
[ Direct Link to Message ]