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 
fl_ask
Author Message
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: fl_ask

For popups I think it's just fl_ask, at least at this point.

From the FLTK docs:

Quote:
Use of [fl_ask] is strongly discouraged, and it will be removed in FLTK 2.0. Instead, use fl_choice() instead and provide unambiguous verbs in place of "Yes" and "No"


couple of examples:

Code:
fltk.fl_choice("some text","choice3","choice2","choice1") -- default 2

Code:
fltk.fl_choice("some text",NULL,"choice2","choice1") -- default 2

Code:
fltk.fl_choice("some text","choice2","choice1",NULL) -- default 1


It's not quite as quick and easy as fl_ask, but is more flexible

11-10-2007 03:06 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
fl_ask - roberts - 11-09-2007, 07:30 AM
RE: fl_ask - JohnMurga - 11-10-2007, 02:56 AM
RE: fl_ask - JohnMurga - 11-10-2007, 03:00 AM
RE: fl_ask - mikshaw - 11-10-2007 03:06 AM
RE: fl_ask - roberts - 11-10-2007, 03:26 AM

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

Forum Jump: