AutoHotkey Community

It is currently May 27th, 2012, 4:20 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: `t & MenuItemName
PostPosted: September 24th, 2005, 4:17 pm 
Why can't I use more than one Tab in "MenuItemName"

See this script especially the Open MenuItemName:
Code:
Menu, FileMenu, Add, &Open`t`tCtrl+O, MenuHandler
Menu, FileMenu, Add, E&xit, GuiClose
Menu, HelpMenu, Add, &About, MenuHandler
Menu, MyMenuBar, Add, &File, :FileMenu  ; Attach the two sub-menus that were created above.
Menu, MyMenuBar, Add, &Help, :HelpMenu
Gui, Menu, MyMenuBar
Gui, Add, Edit
Gui, Show

MenuHandler:
Return

GuiClose:
  ExitApp


When using just one `t everthing looks fine. But with more than one `t there is shown some strange "quadrat" or "box" char.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 25th, 2005, 1:40 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
I suspect it's the system default behavior. There is no code in AutoHotkey to do any special handling of tab characters in the names of menu items. Those characters are simply passed to the operating as-is and it decides what to do with them.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group