Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Bar Execute and TextBox events
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bar Execute and TextBox events

 Post Reply Post Reply
Author
Message
ctorres View Drop Down
Newbie
Newbie


Joined: 22 November 2005
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote ctorres Quote  Post ReplyReply Direct Link To This Post Topic: Bar Execute and TextBox events
    Posted: 01 December 2005 at 3:52pm

Hi,

I have a form with a toolbar and some textbox control on it.

The issue is that if i press CTRL+V over a textbox to paste the contents of the clipboard the Execute event of my toolbar will fires and since the my event handler only has a Select Case for the button ids of the bar, my application has basically lost the ability of coping, cutting and pasting using the keyboard.

Any suggestions?

Thanks.

Camilo

 

Back to Top
ctorres View Drop Down
Newbie
Newbie


Joined: 22 November 2005
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote ctorres Quote  Post ReplyReply Direct Link To This Post Posted: 08 December 2005 at 6:39pm

Hi,

I got this one solved by deleting the default accelerators for my command bar.

The thing was that accelerator keys defined are handled by the command bar execute event. After i deleted the accelerator for CTRL+V and CTRL+C now the my textboxes handle the events.

;-)

Camilo

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.187 seconds.