Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
G4S Technology Limited G4S Technology Limited
|
Feb 2, 2010 - 6:55 AM
|
Is it possible to override the Control F1 in the ribbon bar , to switch this functionality off. Our Application uses all the function keys along with the Shift, Control and Alt Variants and we do not want the Ribbon Bar Collapsing and Expanding at the same time as our application performing some other task
|
|
Technical Support
|
Feb 2, 2010 - 8:29 AM
|
In the next version (3.5, coming soon) a new Ribbon.MinimizedChanging event will be added and it should perfectly fit your needs. So what you will have to do is to add the following code to the event handler: void ribbon1_MinimizedChanging(object sender, CancelEventArgs e)
{
if (Control.ModifierKeys == Keys.Control && Control.IsKeyPressed(Keys.F1))
{
e.Cancel = true;
}
}
|
|