Jump to content
Software FX Community

context menu shortcuts


User (Legacy)

Recommended Posts

The Windows.Forms.MenuItem class has a nice way to set up a shortcut for

menu commands (ie. MenuItem.Shortcut). This not only sets up the link

between the keyboard shortcut and the corresponding menu command, it also

draws the shortcut as right aligned text in the menu window for the

corresponding menu command.

Is there a way to do this with the ChartFx menus? I haven't found anything

to suggest it's possible.

Any help greatly appreciated.

-Peter

Link to comment
Share on other sites

Sorry, forgot to include my system info:

Win 2000 Pro

ChartFX.dll assembly version 6.2.1342.0

-Peter

"peter z" <pzaborski@nospam.slb.com> wrote in message

news:V8PVrPK2EHA.1120@webserver3.softwarefx.com...

> The Windows.Forms.MenuItem class has a nice way to set up a shortcut for

> menu commands (ie. MenuItem.Shortcut). This not only sets up the link

> between the keyboard shortcut and the corresponding menu command, it also

> draws the shortcut as right aligned text in the menu window for the

> corresponding menu command.

>

> Is there a way to do this with the ChartFx menus? I haven't found anything

> to suggest it's possible.

>

> Any help greatly appreciated.

>

> -Peter

>

>

Link to comment
Share on other sites

Oops, more info that might be useful...

1. I'm using the ChartFx context menus (as opposed to suppressing them and

creating my own).

2. I want to this for both built in ChartFx commands as well as user

commands I'm adding to the ChartFx context menus.

-Peter

"peter z" <pzaborski@nospam.slb.com> wrote in message

news:WHKk9QK2EHA.3492@webserver3.softwarefx.com...

> Sorry, forgot to include my system info:

>

> Win 2000 Pro

> ChartFX.dll assembly version 6.2.1342.0

>

> -Peter

>

>

> "peter z" <pzaborski@nospam.slb.com> wrote in message

> news:V8PVrPK2EHA.1120@webserver3.softwarefx.com...

> > The Windows.Forms.MenuItem class has a nice way to set up a shortcut for

> > menu commands (ie. MenuItem.Shortcut). This not only sets up the link

> > between the keyboard shortcut and the corresponding menu command, it

also

> > draws the shortcut as right aligned text in the menu window for the

> > corresponding menu command.

> >

> > Is there a way to do this with the ChartFx menus? I haven't found

anything

> > to suggest it's possible.

> >

> > Any help greatly appreciated.

> >

> > -Peter

> >

> >

>

>

Link to comment
Share on other sites

We do not support Shortcut keys in Chart FX's menus.

The main reason we did not add this feature is that our menus are not

"top-level". We a re a control inside a form that may have many other

controls (including more than one chart) therefore we don't "own" the

keyboard as a top level menu/form does.

--

FP

Software FX

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...