This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Short Cut Key Not working
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Sep 14, 2009
12:59 PM
Short Cut Key Not working
We have a Basic MSI Install that has a Logon Information dialog. The short uct key (Alt-P) on the Password label assigned to the Password Text Field doesn't seem to fire properly. It seems like the short cut takes the cursor back to the first text box on the dialog (i.e. User name) and not the second (i.e. the password field).
The short cut key (Alt-U) on the User name label/text field on the other seems to work as does Alt-N (Next) and Alt-B (Back) buttons on the same dialog.
Anyone experienced this or have a suggestion for further debugging?
The short cut key (Alt-U) on the User name label/text field on the other seems to work as does Alt-N (Next) and Alt-B (Back) buttons on the same dialog.
Anyone experienced this or have a suggestion for further debugging?
(6) Replies
‎Sep 15, 2009
04:39 AM
If memory serves me right, if jumping to a label it takes the focus of the control with the next tab index. Check that your tab index is correct,
e.g. label1 and textbox1, should have tab index of say 0 and 1 for a shortcut key in label1 to jump to textbox1
e.g. label1 and textbox1, should have tab index of say 0 and 1 for a shortcut key in label1 to jump to textbox1
‎Sep 15, 2009
09:48 AM
Yep. Perplexing isn't it?
Now there are 2 hidden button controls on the form along with a hidden label (previous developer used a standard logon dialog I believe and hide what he didn't want to use). The buttons are set for Tab Stop as well, the label is not.
I believe I tried deleting these somewhere along the way and that not helping but I might try that again.
Now there are 2 hidden button controls on the form along with a hidden label (previous developer used a standard logon dialog I believe and hide what he didn't want to use). The buttons are set for Tab Stop as well, the label is not.
I believe I tried deleting these somewhere along the way and that not helping but I might try that again.
‎Sep 21, 2009
04:18 PM
IS is fickle... when you change a tab index on one control the remainder of the controls may dynamically change. You could get two controls with the same tab index also... or you will get a gap in the index numbers. The label needs to be one tab index less than the text field and the tab stop must be true. Lastly, look for errant & in other text fields. Good luck ol' buddy.
Lar.
Lar.
‎Jun 30, 2010
03:06 PM
I know this is an old post, but I was experiencing the same problem and may have found a solution.
In 2010, in a Basic MSI project, every time I edited the TabIndex properties for the controls on the LogonInformation dialog, after building the project they were reset to the original values.
I had to go to the DirectEditor and edit the Control table. I set the Control_Next column for each control I wanted in the "circle" of the tab order, including the static text controls that had the accelerators for the User Name and Password edits. That seems to have done the trick.
In 2010, in a Basic MSI project, every time I edited the TabIndex properties for the controls on the LogonInformation dialog, after building the project they were reset to the original values.
I had to go to the DirectEditor and edit the Control table. I set the Control_Next column for each control I wanted in the "circle" of the tab order, including the static text controls that had the accelerators for the User Name and Password edits. That seems to have done the trick.