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: How to Indicate Default Button in Suite?
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
‎Dec 31, 2015
02:21 PM
How to Indicate Default Button in Suite?
In a Suite project... how do I provide an indication in a button to indicate that it is the one that is the default (gets executed when user presses ENTER)?
Thanks
Thanks
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 05, 2016
12:05 PM
I have not done this myself, but I think it is possible to create a new control theme and set the Defaulted attributes.
I just tested this, and it works.
Just make sure the BS_DEFPUSHBUTTON is set for your button and you assign the control theme to the button control. Note that the button turns to a horrible flat look and I am not certain how to get beyond that. 😞 But my button is clearly the default button.
I just tested this, and it works.
Just make sure the BS_DEFPUSHBUTTON is set for your button and you assign the control theme to the button control. Note that the button turns to a horrible flat look and I am not certain how to get beyond that. 😞 But my button is clearly the default button.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 06, 2016
01:14 PM
Thanks Dan. I see what you are talking about regarding Control Themes, but I don't see where to set BS_DEFPUSHBUTTON. Is that in the Theme or somewhere with the button? I would like to be able to set that for existing buttons without setting up a new theme. Is that possible? Thanks again.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 07, 2016
09:52 AM
I do not see a way to alter the behavior of the existing theme. It might be possible but someone like Michael or Debbie would better answer that question.
So in the Wizard Interface view, click on Control Themes.
While reviewing this again, I see that I cannot modify the state of the system buttons, Next, Back, Install, etc.
I am looking through the ISProjSuiteTpl.issuite to see if there is anything there you can modify, but nothing obvious stands out.
So in the Wizard Interface view, click on Control Themes.
- Press INS on keyboard to create a new theme
- Change the properties of 'Defaulted', for instance in my test I changed the border color to red.
- Assign the property to any user created button.
While reviewing this again, I see that I cannot modify the state of the system buttons, Next, Back, Install, etc.
I am looking through the ISProjSuiteTpl.issuite to see if there is anything there you can modify, but nothing obvious stands out.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)