![]() |
|
#1
|
|||
|
|||
Fl_Choice drop-down questionHi dsmith! thanks for the warm welcome! actually another problem of mine is how to keep the drop-down list or the "Fl_Choice" to remain exapanded by just clicking the drop-down button or pressing "TAB" until it gets the focus(). Right now the only way to do this is to press the spacebar or drag the widget in order to keep the "Menu_Item" expanded. And who would think of using a space bar in a drop-down list
and dragging would be a lil bit "dragging" to the user. What I'm using right now is the version 1.1.4 and i admit that it's still kinda poor in terms of features and some functionalities. PS: i think (hopefully) ver. 2.0 already supports the "Fl_Choice" menu item expansion by just clicking the drop-down button. |
|||
|
#2
|
|||
|
|||
Tab orderI have solved my problem on how to keep the Fl_Choice remain epanded by clicking the mouse once or when the widget gets the focus.
Here, I made a subclass of the Fl_Choice widget and added an additional ::handle() CPP / C++ / C Code:
Sorry for the poor indentation, i can't manage to indent the codes but, its the code that matters! Hope this would be useful for some! More power to this forums and to FLTK users! ![]() Last edited by dsmith : 29-Oct-2004 at 08:49.
Reason: Please use [c] & [/c] for syntax highlighting
|
Recent GIDBlog
Problems with the Navy (Enlisted) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The