FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to show menuitem accelerate key on the right site?
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
How to show menuitem accelerate key on the right site?
Posted: Fri Feb 13, 2009 06:59 AM
Hi,
How to show menuitem accelerate key on the right site like firefox edit menu items Ctrl+Z ,Ctrl+Y ...?

Also FWH 08.01 version menu 2007 style , hot key not work.
Thanks !
Shuming Wang
http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: How to show menuitem accelerate key on the right site?
Posted: Fri Feb 13, 2009 01:57 PM
You can work with TABS !!!



Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
Re: How to show menuitem accelerate key on the right site?
Posted: Sat Feb 14, 2009 01:52 AM

Ukoenig,
How to write source code?
Thanks !
Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: How to show menuitem accelerate key on the right site?
Posted: Sat Feb 14, 2009 02:37 AM
Hello ShumingWang

use chr( 9 )

         MENUITEM "&Undo" + Chr( 9 ) + "Ctrl+Z" ;
            MESSAGE "Undoes the last action" ;
            ACTION  ::oWnd:UnDo() RESOURCE "UnDo"
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
Re: How to show menuitem accelerate key on the right site?
Posted: Sat Feb 14, 2009 01:26 PM

Daniel Garcia-Gil,
Thanks !
Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: How to show menuitem accelerate key on the right site?
Posted: Sat Feb 14, 2009 04:03 PM
Hello Shuming Wang,

the TAB - solution I told You, is the easy way.
There is a much better looking solution with left adjustment.
( space-calculations needed ).
I don't know, what style You prefer.



Regards
Uwe
:-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
Re: How to show menuitem accelerate key on the right site?
Posted: Sun Feb 15, 2009 01:03 AM

ukoenig,
Menuitem "save"+chr(9)+"F2" , works as I want.
Thanks!
Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: How to show menuitem accelerate key on the right site?
Posted: Sun Feb 15, 2009 12:51 PM
Shuming Wang,

menues, I only use from the main-window.
Inside my application I use xBrowse, to start a action.
Sometimes, I need a formatted menue-text inside one cell.
Maybe You need this as well.



Code (fw): Select all Collapse
<ol><li style="" class="li1"> </li><li style="" class="li2">AAdd( aData5, {  1, xPADR ('Col2 xBr', 150) + xPADR('owsetest',100), 'Col3 xBrowsetest '} ) </li><li style="" class="li1">AAdd( aData5, {  2, xPADR ('Col2 xBrowse', 150) + xPADR ('test',100), 'Col3 xBrowsetest ' } ) </li><li style="" class="li2">AAdd( aData5, {  3, xPADR ('Col2', 150) + xPADR ('xBrowsetest',100), 'Col3 xBrowsetest ' } ) </li><li style="" class="li1">AAdd( aData5, {  4, 'Col2 xBrowsetest                        ', 'Col3 xBrowsetest ' } ) </li><li style="" class="li2">AAdd( aData5, {  5, 'Col2 xBrowsetest                        ', 'Col3 xBrowsetest ' } ) </li><li style="" class="li1">AAdd( aData5, {  6, 'Col2 xBrowsetest                        ', 'Col3 xBrowsetest ' } ) </li><li style="" class="li2">AAdd( aData5, {  7, 'Col2 xBrowsetest                        ', 'Col3 xBrowsetest ' } )     </li><li style="" class="li1"> </li></ol>


Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.

Continue the discussion