thebarslider
Programmer
Hello,
I have written an applet to run on OSx using Sarafi. I have added some hot keys to the buttons on the applet by using:
setMnemonic
Unfortunately, when the user types (Option B) for example a special character is outputted to the text box they are editting before the hot key method is run.
For example I have a hot key to set the text to Bold, immediately before the text is set to bold a special character is output. Is there a work around to prevent this?
I presume it must be possible to use control keys instead of alt/option.
i.e. control a
although i cannot figure out a way to do this..
Could someone please help me as i'm tearing out my hair to get this working.
Many Thanks.
Mark.
I have written an applet to run on OSx using Sarafi. I have added some hot keys to the buttons on the applet by using:
setMnemonic
Unfortunately, when the user types (Option B) for example a special character is outputted to the text box they are editting before the hot key method is run.
For example I have a hot key to set the text to Bold, immediately before the text is set to bold a special character is output. Is there a work around to prevent this?
I presume it must be possible to use control keys instead of alt/option.
i.e. control a
although i cannot figure out a way to do this..
Could someone please help me as i'm tearing out my hair to get this working.
Many Thanks.
Mark.