Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Mon Nov 19, 2018 1:48 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: toolbar caption shortcut keys
PostPosted: Fri Mar 30, 2012 8:02 am 
Offline

Joined: Fri Feb 27, 2009 12:18 am
Posts: 54
HI,

is it possible to underline a letter on the toolbar buttons?

i tried adding the & before the letter but it doesnt show up either at design or runtime.

i need to add keyboard shortcts like ctrl-p to print etc


Regards,

Russ


Top
 Profile  
Reply with quote  
 Post subject: Re: toolbar caption shortcut keys
PostPosted: Sun Apr 01, 2012 12:49 pm 
Offline
Site Admin
User avatar

Joined: Fri Sep 30, 2005 9:35 am
Posts: 987
Location: South Portland, Maine
The easiest thing to do to create a keyboard shortcut would be to create a corresponding menu item for the toolbar function and assign the shortcut to the menu item.

_________________
Paul Lefebvre
Developer Evangelist
Xojo, Inc.


Top
 Profile  
Reply with quote  
 Post subject: Re: toolbar caption shortcut keys
PostPosted: Thu Apr 05, 2012 7:32 am 
Offline

Joined: Fri Feb 27, 2009 12:18 am
Posts: 54
hi Paul,

i missed your reply because i forgot to tick the notify me option, DOH!

anyway,

im not quite sure how that works, i dont actually have a menu on my window, just a toolbar.

i have the code already separated into methods and i have keyboard shortcuts at the window level
so if the user presses say ctrl-x then it exits. this all works.

what i dont have is the underlined letters in the captions on the toolbuttons,
to indicate to the user what key is the shortcut.

it appears not to show them, even though i have added the caption set as E&xit

does any of that make sense?

Regards,


Russ


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group