How to show menuitem accelerate key on the right site?

Post Reply
ShumingWang
Posts: 467
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China
Contact:

How to show menuitem accelerate key on the right site?

Post by ShumingWang »

Hi,
How to show menuitem accelerate key on the right site like firefox edit menu items Ctrl+Z ,Ctrl+Y ...?
Image
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
User avatar
ukoenig
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: How to show menuitem accelerate key on the right site?

Post by ukoenig »

You can work with TABS !!!

Image

Regards
Uwe :lol:
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.
ShumingWang
Posts: 467
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China
Contact:

Re: How to show menuitem accelerate key on the right site?

Post by ShumingWang »

Ukoenig,
How to write source code?
Thanks !
Shuming Wang
http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
User avatar
Daniel Garcia-Gil
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita
Contact:

Re: How to show menuitem accelerate key on the right site?

Post by Daniel Garcia-Gil »

Hello ShumingWang

use chr( 9 )

Code: Select all | Expand

         MENUITEM "&Undo" + Chr( 9 ) + "Ctrl+Z" ;
            MESSAGE "Undoes the last action" ;
            ACTION  ::oWnd:UnDo() RESOURCE "UnDo"
our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
ShumingWang
Posts: 467
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China
Contact:

Re: How to show menuitem accelerate key on the right site?

Post by ShumingWang »

Daniel Garcia-Gil,
Thanks !
Shuming Wang
http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
User avatar
ukoenig
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: How to show menuitem accelerate key on the right site?

Post by ukoenig »

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.

Image

Regards
Uwe
:lol:
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.
ShumingWang
Posts: 467
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China
Contact:

Re: How to show menuitem accelerate key on the right site?

Post by ShumingWang »

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
User avatar
ukoenig
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: How to show menuitem accelerate key on the right site?

Post by ukoenig »

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.

Image

Code: Select all | Expand

  1.  
  2. AAdd( aData5, {  1, xPADR ('Col2 xBr', 150) + xPADR('owsetest',100), 'Col3 xBrowsetest '} )
  3. AAdd( aData5, {  2, xPADR ('Col2 xBrowse', 150) + xPADR ('test',100), 'Col3 xBrowsetest ' } )
  4. AAdd( aData5, {  3, xPADR ('Col2', 150) + xPADR ('xBrowsetest',100), 'Col3 xBrowsetest ' } )
  5. AAdd( aData5, {  4, 'Col2 xBrowsetest                        ', 'Col3 xBrowsetest ' } )
  6. AAdd( aData5, {  5, 'Col2 xBrowsetest                        ', 'Col3 xBrowsetest ' } )
  7. AAdd( aData5, {  6, 'Col2 xBrowsetest                        ', 'Col3 xBrowsetest ' } )
  8. AAdd( aData5, {  7, 'Col2 xBrowsetest                        ', 'Col3 xBrowsetest ' } )     
  9.  


Regards
Uwe :lol:
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.
Post Reply