C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Localize Shortcuts?

rated by 0 users
This post has 4 Replies | 1 Follower

Not Ranked
Posts 3
Nargaff Posted: Wed, Oct 22 2008 3:29 AM

 Hi,

 is there a way of localizing the shortcuts (e.g. Ctrl+C) of toolbar commands?

Thanks in advance,
Bernhard

Top 25 Contributor
Posts 666
C1_DaveT replied on Thu, Oct 23 2008 7:39 PM

Shortcut property of C1Command accepts an object of a System.Windows.Forms.Shortcut type and it accepts any of the predefined values for it.

 

You may check MSDN resources to know more about System.Windows.Forms.Shortcut class.

 

-Dave.

 

<Nargaff> wrote in message news:210243@10.0.1.98...

 Hi,

 is there a way of localizing the shortcuts (e.g. Ctrl+C) of toolbar commands?

Thanks in advance,
Bernhard



http://helpcentral.componentone.com/cs/forums/p/76959/210243.aspx#210243

Not Ranked
Posts 3
Nargaff replied on Fri, Oct 24 2008 4:58 AM

 Hi,

 thanks for the answer but I think my first post is misleading. I don't want to know how to localize the shortcut, but how to localize the string for the shortcut that displayed in the command's tooltip.

 Sorry for being so unclear
Bernhard

Top 25 Contributor
Posts 666
C1_DaveT replied on Wed, Oct 29 2008 9:41 AM

I found that there is no such property exposed to set shortcut string, of command object.

 

Therefore it seems currently we can not localize the string which is used by the control to show shortcuts.

 

I apologize for the inconvenience this has caused to you.

 

-Dave.

 

<Nargaff> wrote in message news:210416@10.0.1.98...

 Hi,

 thanks for the answer but I think my first post is misleading. I don't want to know how to localize the shortcut, but how to localize the string for the shortcut that displayed in the command's tooltip.

 Sorry for being so unclear
Bernhard



http://helpcentral.componentone.com/cs/forums/p/76959/210416.aspx#210416

Not Ranked
Posts 3
Nargaff replied on Tue, Nov 4 2008 11:18 AM

 Hi,

 thanks for the answer. So we will have to work around it.

Regards
Bernhard

Page 1 of 1 (5 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.