Hello,
It seems the string gadget has a bug no one noticed so far.
I always try to make a keyboard friendly gui and so all my guis provide an
underscore within the label before that text field which is activating the
gadget.
I tried to make the following. It's a simple string gadget with a label to
the left and a (asl) popup to the right:
____________________
_Label | string content |^|
|________________|_|
As you can see the "L" is underscored, so I set a method to activate the
string on lower case ("l"), which is working perfect. Now I stepped into
a problem.
When programming the upper case version ("L") to activate the pop up to
support quick styleguide conform keyboard access.
The result when pressing "shift l" is that the PopUp get's visualy pressed
in and the key release is catched by the string gadget, so it's activate.
The popup stays in pressed state without any "popup action".
Consulting the MUI_Area.doc reports this:
;--- snipp
Pressing the control char will have the same effect
as pressing return if the object was active.
This can be used to create old style key shortcuts.
Note: Using an uppercase control char will force
the user to press shift.
;--- snapp
So this implicated somehow the string gadget reacts on upper and lower
cases, which is stupid. There are forward and backward gadgets, where such
type of action makes sense (e.g. the cycle), but the string gadget is mostly
used together with a popup, which can't be activated by key a single press.
Is there a way around that problem?
If you want to see this in action grab Meridian or MMKeyboard and open the
edit window, where loads of such examples can be found.
Guido Mersmann
http://www.geit.de
------------------------ Yahoo! Groups Sponsor --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/16uqlB/TM
--------------------------------------------------------------------~->
Visit http://www.amiga.dk/tumult for MUI-related
information, especially about MUI custom classes.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/MUI/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/