Persistent Button Press
in
Programming Questions
•
2 months ago
Hello,
Button question here...
When I vote, the table is sorted to bring up a different entry.
My problem is that when the new entry comes up, it is automatically voted on if the button is being held down.
(the same happened with the keyboard, I thought the buttons might be momentary)
I'm sure there is a way to stop the voting for a new entry until a button release and a new press, but I could use a nudge...
Happy to show code if asked, but it is a bit spread out over classes (I will collapse it when I see if my multiple monitor displays work).
1