News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.

Post Reply  Post Thread 
Space Bar presses FLTK buttons
Author Message
Junior Member

Posts: 14
Group: Registered
Joined: Mar 2008
Status: Offline
Reputation: 0
Post: #1
RE: Space Bar presses FLTK buttons

This at the start of the button function worked:

if Fl:event_key() == 32 then return end

Dropped right out of the callback without causing any problems.

Is there some command that just disables a thing?
The only enable/disable I find is for tooltips.

I tried hiding the button, and setting its
object reference to nil, that sent focus to the button that was
pressed before that. Closing the window sent focus to the
previous button on the previous window.

09-18-2008 04:47 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
Space Bar presses FLTK buttons - MrBill - 09-17-2008, 06:01 AM
RE: Space Bar presses FLTK buttons - MrBill - 09-18-2008 04:47 PM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: