MacArthur, Ian (SELEX GALILEO, UK) schrieb:
>> Fl_Choice (which dependws on Fl_Menu) has the following behaviour:
>> 1. I can click on it, and then the dropdown appears. If I click on an
>> item, the dropdown dissapears and the item is chosen
>> 2. I can click on it and if I let the mouse pressed I can
>> scroll on the
>> widget list. If I release it, the dropdown dissapears and the
>> item where
>> the mouse is actually positioned is chosen
>>
>> --> Is it possible to switch off the "scroll-behaviour" of Fl_Menu?
>> Where in the code I have to do this? Don't find it...!
>
> I don't think I understand what you are asking: I think the scrolling
> behaviour only occurs if your menu is too large to fit on the screen. So
> if you inhibit the scrolling, you will not be able to select all of your
> entries.
> What effect is it that you are really trying to produce? Maybe there is
> some other way...
>
>
>
> SELEX Sensors and Airborne Systems Limited
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14
> 3EL
> A company registered in England & Wales. Company no. 02426132
> ********************************************************************
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> ********************************************************************
>
I'm sorry... I think I didn't explain very well..
OK, let's try again, you have two possibilites to chose an item in an
Fl_Menu item:
1. You klick on the Fl_Menu button (for example "Sports"). Then you
release the mousebutton. Then you get the list (for example "Tennis,
Soccer, Jogging, etc...") And then you press again on one of those
items. Now the item is chosen (-> You have PUSH, RELEASE, PUSH, RELEASE)
2. Or you can press on the Fl_Menu button ("Sports") and you let the
mouse pressed. Then you navigate the mouse (still pressed) to one item
(for example "Tennis"). And if you remove the mousebutton then, the item
"Tennis" is chosen (So you have PUSH, RELEASE)
--> What I want now, is that the second version is "switched off"
I don't mean the scrolling behaviour if the menu is to large!
Thanks!
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk