Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Button mnemonic does not show when first drawn....
Button mnemonic does not show when first drawn.... [message #448248] Wed, 05 January 2005 19:58 Go to next message
Eclipse UserFriend
Originally posted by: gopowereclipse.yahoo.com

I set the mnemonic for my button with

button.setText("&Add");

Keyboard shortcut Alt+A works fine. But the mnemonic character 'A' is not
underscored when the button is first drawn. If I hit tab or alt key, the
underscore starts to show. I checked my tab order. It is correct. A previous
newsgroup posting
http://dev.eclipse.org/newslists/news.eclipse.platform.swt/m sg03199.html
mentions that the problem is due to "Hide keyboard navigation...". Is this a
preference setting in Eclipse or a property that is set by default on the
widget. How can I unset it? Can someone explain? Thanks!

--Vivian
Re: Button mnemonic does not show when first drawn.... [message #448249 is a reply to message #448248] Wed, 05 January 2005 22:41 Go to previous messageGo to next message
Mike Boyersmith is currently offline Mike BoyersmithFriend
Messages: 34
Registered: July 2009
Member
Isn't that a setting in windows XP itself. I think there is a windows
setting for "hide underscores" in control panel, display properties. then
select appearance tab and then effects on windows XP.



"Vivian" <gopowereclipse@yahoo.com> wrote in message
news:crhgtk$4ie$1@www.eclipse.org...
> I set the mnemonic for my button with
>
> button.setText("&Add");
>
> Keyboard shortcut Alt+A works fine. But the mnemonic character 'A' is not
> underscored when the button is first drawn. If I hit tab or alt key, the
> underscore starts to show. I checked my tab order. It is correct. A
previous
> newsgroup posting
> http://dev.eclipse.org/newslists/news.eclipse.platform.swt/m sg03199.html
> mentions that the problem is due to "Hide keyboard navigation...". Is this
a
> preference setting in Eclipse or a property that is set by default on the
> widget. How can I unset it? Can someone explain? Thanks!
>
> --Vivian
>
>
Re: Button mnemonic does not show when first drawn.... [message #448250 is a reply to message #448249] Thu, 06 January 2005 01:16 Go to previous message
Eclipse UserFriend
Originally posted by: gopowereclipse.yahoo.com

Thanks. That solves the problem.

--Vivian

"Mike" <mboyersmith@rational.com> wrote in message
news:crhqca$40g$1@www.eclipse.org...
> Isn't that a setting in windows XP itself. I think there is a windows
> setting for "hide underscores" in control panel, display properties. then
> select appearance tab and then effects on windows XP.
>
>
>
> "Vivian" <gopowereclipse@yahoo.com> wrote in message
> news:crhgtk$4ie$1@www.eclipse.org...
> > I set the mnemonic for my button with
> >
> > button.setText("&Add");
> >
> > Keyboard shortcut Alt+A works fine. But the mnemonic character 'A' is
not
> > underscored when the button is first drawn. If I hit tab or alt key, the
> > underscore starts to show. I checked my tab order. It is correct. A
> previous
> > newsgroup posting
> > http://dev.eclipse.org/newslists/news.eclipse.platform.swt/m sg03199.html
> > mentions that the problem is due to "Hide keyboard navigation...". Is
this
> a
> > preference setting in Eclipse or a property that is set by default on
the
> > widget. How can I unset it? Can someone explain? Thanks!
> >
> > --Vivian
> >
> >
>
>
Previous Topic:StyledText + getLineAtOffset + wrap
Next Topic:javacore at org.eclipse.swt.internal.motif.OS.XmFontListNextEntry
Goto Forum:
  


Current Time: Thu Oct 29 00:00:39 GMT 2020

Powered by FUDForum. Page generated in 0.01890 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top