![]() |
Accelerators in the "Customizable" sample |
Post Reply
|
| Author | |
MNovaro
Groupie
Joined: 20 June 2006 Status: Offline Points: 71 |
Post Options
Thanks(0)
Quote Reply
Topic: Accelerators in the "Customizable" samplePosted: 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 |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
MNovaro
Groupie
Joined: 20 June 2006 Status: Offline Points: 71 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 June 2006 at 11:36am |
|
Does this means that I can't "trust" any other properties than the Control.Id?
|
|
![]() |
|
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 |