![]() |
Shortcut/Accelerator problem |
Post Reply
|
| Author | |
simus
Groupie
Joined: 08 July 2005 Status: Offline Points: 43 |
Post Options
Thanks(0)
Quote Reply
Topic: Shortcut/Accelerator problemPosted: 11 January 2007 at 9:24am |
|
Hi,
I am facing 2 problems using CommandBars and KeyBindings.
1 -
If I Add in CommandBars.KeyBindings "Ctrl+C" and "Ctrl+V"
Then in my controls Ctrl+C, Ctrl+V does not work anymore. This is the command bar that eat it.
2 -
If I don't add in CommandBars.KeyBindings
But want to put the shortcut text directly in the text menu (vbTab & "Ctrl+V", ...) to handle them somewhere else I see that the commandBars remove this shortcut text.
Can anyone help on that either by giving a solution using properly KeyBindings or to way to handle correctly the keys.
Thanks a lot
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 January 2007 at 1:11am |
|
Hi,
1. you can catch KeyBindings_BeforeTranslate event and cancel it for this commands.
2. use ShortcutText property.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
joeliner
Senior Member
Joined: 09 June 2006 Status: Offline Points: 273 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 February 2007 at 7:34am |
|
Hi,
Does this(refering to beforetranslate event) when you loadcommands from xcb file? How does one go about it? Thanks |
|
|
Product: Xtreme SuitePro (ActiveX) version 13.1
Platform: Windows XP SP 3 Language: Visual Basic 6 SP6 |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 February 2007 at 3:21am |
|
Hi,
Dim WithEvents KeyBindings As KeyBindings
...
Set KeyBindings = CommandBars.KeyBindings
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
cmaxmedia
Groupie
Joined: 22 April 2006 Location: Austria Status: Offline Points: 38 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 March 2007 at 8:39am |
|
Hi,
how can i do this in vb6 and v 9.81?
thank you
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 March 2007 at 10:37am |
|
Hi,
events in Keybindings class was added after 9.81 release.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |