Hi,

How can i align a menuitem in a shortcutmenu ?
Cut (Ctrl+X)
Copy (Ctrl+C)
....
so it is possitioned on the left and rightside of the menu.

Kind Regards
christophe

Re: shortcutmenu alignment by Bernhard

Bernhard
Fri Jun 02 09:11:15 CDT 2006

Hi christophe,

> How can i align a menuitem in a shortcutmenu ?
> Cut (Ctrl+X)
> Copy (Ctrl+C)
> ....
> so it is possitioned on the left and rightside of the menu.
use the 2nd parameter of KEY keyword:

DEFINE BAR n OF popup PROMPT "left aligned text" ;
KEY keycode, "right aligned text"

i.e.
DEFINE BAR n OF popup PROMPT "Copy" KEY CTRL+C, "CTRL+C"


Regards
Bernhard Sander

Re: shortcutmenu alignment by christophe

christophe
Fri Jun 02 09:27:29 CDT 2006

Thanks so far,

and how to do it in the menudesigner ?

regards
christophe

"Bernhard Sander" <fuchs@individsoft.de> schreef in bericht
news:u%23awq5khGHA.764@TK2MSFTNGP03.phx.gbl...
> Hi christophe,
>
> > How can i align a menuitem in a shortcutmenu ?
> > Cut (Ctrl+X)
> > Copy (Ctrl+C)
> > ....
> > so it is possitioned on the left and rightside of the menu.
> use the 2nd parameter of KEY keyword:
>
> DEFINE BAR n OF popup PROMPT "left aligned text" ;
> KEY keycode, "right aligned text"
>
> i.e.
> DEFINE BAR n OF popup PROMPT "Copy" KEY CTRL+C, "CTRL+C"
>
>
> Regards
> Bernhard Sander



Re: shortcutmenu alignment by Bernhard

Bernhard
Fri Jun 02 09:41:54 CDT 2006

Hi christophe,

> and how to do it in the menudesigner ?
I don't use this tool.
In the menudesigner of VFP 9 is a button in the last column with the header
Options. If you press this button, a dialog opens with the title "Prompt
Options". In the top left corner is a box labeled "Shortcut". In the text box
"Key Label" you first have to press the apropriate key. Then overwrite the
textbox "Key Text" if you want some other text.

Regards
Bernhard Sander

Re: shortcutmenu alignment by christophe

christophe
Fri Jun 02 09:35:41 CDT 2006

euh,

disregard my last question ....
It was just there but did'nt see it in the designer

regards
christophe

"christophe" <irs.znospamforme@skynet.be> schreef in bericht
news:%23Sq0iClhGHA.1324@TK2MSFTNGP04.phx.gbl...
> Thanks so far,
>
> and how to do it in the menudesigner ?
>
> regards
> christophe
>
> "Bernhard Sander" <fuchs@individsoft.de> schreef in bericht
> news:u%23awq5khGHA.764@TK2MSFTNGP03.phx.gbl...
> > Hi christophe,
> >
> > > How can i align a menuitem in a shortcutmenu ?
> > > Cut (Ctrl+X)
> > > Copy (Ctrl+C)
> > > ....
> > > so it is possitioned on the left and rightside of the menu.
> > use the 2nd parameter of KEY keyword:
> >
> > DEFINE BAR n OF popup PROMPT "left aligned text" ;
> > KEY keycode, "right aligned text"
> >
> > i.e.
> > DEFINE BAR n OF popup PROMPT "Copy" KEY CTRL+C, "CTRL+C"
> >
> >
> > Regards
> > Bernhard Sander
>
>