Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Accelerators in the "Customizable" sample
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Accelerators in the "Customizable" sample

 Post Reply Post Reply
Author
Message
MNovaro View Drop Down
Groupie
Groupie
Avatar

Joined: 20 June 2006
Status: Offline
Points: 71
Post Options Post Options   Thanks (0) Thanks(0)   Quote MNovaro Quote  Post ReplyReply Direct Link To This Post Topic: Accelerators in the "Customizable" sample
    Posted: 26 June 2006 at 8:39am

I saw some problem in the "Customizable" sample, used in VB6 for "accelerator keys".

Selecting a menu item with the mouse generates the correct Message Box: for instance, the

"&New" Clicked

BUT pressing CTRL+N shows:

"" Clicked

I tried to set a breakpoint in the _Execute event, and I saw that the Control.Id is correct (i.e. equal to ID_FILE_NEW), but the value of Control.Caption, that is used in  

MsgBox Control.Caption & " Clicked"

is empty.
Is there any problem?

Thanks in advance for any reply.
Kind regards
Marco
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 26 June 2006 at 11:35am
Hello,
It is designed...   when you press key, new control created with id and called Execute event.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
MNovaro View Drop Down
Groupie
Groupie
Avatar

Joined: 20 June 2006
Status: Offline
Points: 71
Post Options Post Options   Thanks (0) Thanks(0)   Quote MNovaro Quote  Post ReplyReply Direct Link To This Post Posted: 26 June 2006 at 11:36am
Does this means that I can't "trust" any other properties than the Control.Id?
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.047 seconds.