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
- :
- Default button not functioning in dialog
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 17, 2008
05:01 PM
Default button not functioning in dialog
Hi
I have this problem in every dialog I create.
In the properties of the dialog I have a default button as the Next button, I also have other buttons and text-boxes, but at running the application no matter in wich text-box I am always that I press the enter key, the button that it's executed is the last button who has the focus.
I'm don't understand why is doing this, it suppose to execute the default button always, not the last the button with the focus.
Does anyone know how to solve this problem?
Any kind of help will be appreciated.
Thanks...
I have this problem in every dialog I create.
In the properties of the dialog I have a default button as the Next button, I also have other buttons and text-boxes, but at running the application no matter in wich text-box I am always that I press the enter key, the button that it's executed is the last button who has the focus.
I'm don't understand why is doing this, it suppose to execute the default button always, not the last the button with the focus.
Does anyone know how to solve this problem?
Any kind of help will be appreciated.
Thanks...
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 23, 2008
03:39 PM
This problem is making me crazy. Please some help.
Maybe I wasn't so clear.
I actually wish the same behavior as thread:
Set focus to Next button of dialog? How?
http://community.installshield.com/showthread.php?t=178902&highlight=default+button
I have a dialog that has a textbox on it that I want the use to enter a value in...after entering the value I would like that when they hit it will click the Next button.
Is it possible to take the keystroke and set focus on the Next button even while in the text box?
I actually I have the 'Next' button as the default button an it's the only one with default.
The problem is
If I move throught the elements of the dialog with 'tab button' and stop in a text-box and press 'enter key' the button that is executed is the last button who has the foccus and not the 'Next' button.
Does anyone Know how to fix this?
Any kind of help will be appreciated....
Thanks...
Maybe I wasn't so clear.
I actually wish the same behavior as thread:
Set focus to Next button of dialog? How?
http://community.installshield.com/showthread.php?t=178902&highlight=default+button
I have a dialog that has a textbox on it that I want the use to enter a value in...after entering the value I would like that when they hit
Is it possible to take the
I actually I have the 'Next' button as the default button an it's the only one with default.
The problem is
If I move throught the elements of the dialog with 'tab button' and stop in a text-box and press 'enter key' the button that is executed is the last button who has the foccus and not the 'Next' button.
Does anyone Know how to fix this?
Any kind of help will be appreciated....
Thanks...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 24, 2008
04:23 AM
Hi,
Check tab order on the dialog. Next should have lowest tab id and tab stop set to true.
Check tab order on the dialog. Next should have lowest tab id and tab stop set to true.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)