This is a migrated thread and some comments may be shown as answers.

Implement applicationwide hotkey

1 Answer 76 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Walther Siksma
Top achievements
Rank 2
Walther Siksma asked on 03 Jun 2009, 09:20 PM
I would like to run a applicationwide hotkey which enables the user to execute a specific command (eg maximizing all mdi forms) pressing alt-enter

When using this code it works:

ChordModifier1.AltModifier =

True

 

 

ChordModifier1.ControlModifier =

False  

 

 

ChordModifier1.ShiftModifier =

False  

 

 

Chord1.ChordModifier = ChordModifier1

Chord1.Keys =

"Alt+Y"  

 

 

InputBinding1.Chord = Chord1 

ClickCommand1.Name = "ActionCommand"

 

ClickCommand1.OwnerType =

GetType(Telerik.WinControls.RadItem)  

 

 

InputBinding1.Command = ClickCommand1  

InputBinding1.CommandContext =

Me.rbeWindowsMaximize

However when I use

Chord1.Keys = "Alt+Enter"

it does not work. How can I get Alt-Enter to work?
thnx
Walther

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 08 Jun 2009, 11:23 AM
Hi Walther,

Thanks for writing. The combination "Alt + Enter" is not allowed by design and it will not work. However, we can revise the implementation of the filter and consider changing this but I cannot give you an exact time-frame for this. Do not hesitate to write back if you have further questions.

Greetings,
Deyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
RibbonBar
Asked by
Walther Siksma
Top achievements
Rank 2
Answers by
Deyan
Telerik team
Share this question
or