Problems with Shortcut Keys in ActiveX Control 
Author Message
 Problems with Shortcut Keys in ActiveX Control

Using VB 6 I have created an ActiveX control that runs inside a Web browser.
The ActiveX control contains some command buttons, and I used the caption
property of each command button to create an access key shortcut.  The
shortcut keys seem to work fine when I run the control from the VB 6 IDE,
but when I compile and deploy the project the shortcut keys do not work
(although the command buttons work fine when I click on them).  Any ideas as
to what's going on here?  Are access key shortcuts supposed to be able to
work with ocx's?  I'd greatly appreciate any insight into this problem.
Thank you.

DH



Sat, 07 Dec 2002 03:00:00 GMT  
 Problems with Shortcut Keys in ActiveX Control
I'd like to know the answer, too.

Is there any workaround this problem ??

Quote:

> Using VB 6 I have created an ActiveX control that runs inside a Web
browser.
> The ActiveX control contains some command buttons, and I used the caption
> property of each command button to create an access key shortcut.  The
> shortcut keys seem to work fine when I run the control from the VB 6 IDE,
> but when I compile and deploy the project the shortcut keys do not work
> (although the command buttons work fine when I click on them).  Any ideas
as
> to what's going on here?  Are access key shortcuts supposed to be able to
> work with ocx's?  I'd greatly appreciate any insight into this problem.
> Thank you.

> DH



Tue, 31 Dec 2002 03:00:00 GMT  
 Problems with Shortcut Keys in ActiveX Control

Put together a quick test using VB5/SP3... It works as expected. Haven't
tried with VB6
Are you able to trap keys in the usercontrol's key up/press/down events.
If so, this may be a work around.


Quote:
> I'd like to know the answer, too.

> Is there any workaround this problem ??




Quote:
> > Using VB 6 I have created an ActiveX control that runs inside a Web
> browser.
> > The ActiveX control contains some command buttons, and I used the
caption
> > property of each command button to create an access key shortcut.
The
> > shortcut keys seem to work fine when I run the control from the VB 6
IDE,
> > but when I compile and deploy the project the shortcut keys do not
work
> > (although the command buttons work fine when I click on them).  Any
ideas
> as
> > to what's going on here?  Are access key shortcuts supposed to be
able to
> > work with ocx's?  I'd greatly appreciate any insight into this
problem.
> > Thank you.

> > DH



Tue, 31 Dec 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Problems with Shortcut Keys in ActiveX Control

2. WebBrowser control shortcut keys & function keys

3. WebBrowser control shortcut keys & function keys

4. Key/tab problems using VB ActiveX controls in MFC CView and derived classes or PropertyPage

5. macro shortcut key problem

6. Shortcut-Key Problems, Please help me.

7. Shortcut keys to access controls/fields

8. shortcut keys don't work while my active control is the datagrid

9. Using Shortcut Keys in Toolbar Control

10. Problem in VBA with ActiveX control that contains another ActiveX control

11. management mechanism of license key of activeX controls

12. Web Browser control - problem loading ActiveX controls

 

 
Powered by phpBB® Forum Software