|
chris-74269 Magician
Joined: 23 Nov 2004 Posts: 364
|
Posted: Tue May 19, 2009 5:37 am
[3.07] Multi-state w/o menu w/ "control/shift/alt" clicks |
1. Make a multistate button with substates a & b
2. Make the substates need a shift/control/alt to click it
3. The arrow for the substates disappears, but you can still click the button with shift/click to elicit the behavior.
I don't know if this is a feature or not. |
|
|
|
wrym Magician
Joined: 06 Jul 2007 Posts: 349 Location: The big palace, My own lil world
|
Posted: Tue May 19, 2009 7:23 am |
Tried this with a couple other click modifiers, and I still had the arrow and substates a and b, but i noticed some differing behavior between them
1) with shift key modifier on one substate with a shift script text
2) with ctrl key modifier on one substate with a ctrl script text
3) with alt key modifier on one substate with a alt script text
4) holding shift, click the button, menu pops up, no script
5) without shift key click a or b, shift is sent to mud
6) holding shift, click the button, menu pops up
7) still holding shift key, click the button, shift is sent to mud, menu stays up, click else where not on the button or menu, shift is sent to mud again
8) ctrl exhibits same behavior
9) hold alt click the button, alt is sent to mud, no menu
personally i like the behavior of the alt key, if shift/ctrl could be set up to work that way, nice way of shortcutting to certain button menu items |
|
_________________ "To the engineer, all matter in the universe can be placed into one of two categories: (1) things that need to be fixed, and (2) things that will need to be fixed after you've had a few minutes to play with them" - Scott Adams, The Dilbert Principle |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue May 19, 2009 5:03 pm |
For Chris-74269: Yes, that is how it is supposed to work. If you assign any mouse modifiers to a button state, it is removed from the menu. If all states have mouse modifiers, then the drop-down menu disappears (along with the arrow). That is the normal operation and is the intended way to use button states with mouse modifiers.
For Wrym: You must have had an additional button state without any mouse modifier to allow any sort of menu to be displayed. A menu is only displayed when there are states within a button that do not have a mouse modifier (just has the default "Left" button assignment).
Now, there is a bug as you mentioned when there is still a button state that causes a menu to be displayed, CMUD is still displaying that menu even when you use a modifier (shift/ctrl/alt) with the left mouse button. The only reason Alt appears to work correctly is because Windows handles the Alt key differently within a menu. But I'll try to make it so that the menu doesn't pop up when using modifiers on the Left mouse button as you mentioned. |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|