Print Page | Close Window

Bar Execute and TextBox events

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=3325
Printed Date: 06 October 2024 at 2:36am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Bar Execute and TextBox events
Posted By: ctorres
Subject: Bar Execute and TextBox events
Date 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

 




Replies:
Posted By: ctorres
Date 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




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net