Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checkbox on/off issues , Wise for Windows Installer

Status
Not open for further replies.

techkate

Programmer
Feb 23, 2004
118
US
How can I configure a checkbox in a dialog to set a property not only when it is first clicked, but also on the second click?

Here is an example of what I would like to happen (seems logical): I have a checkbox whose initial value is 0:
1.) The checkbox is in an unchecked state.
2.) I click the checkbox.
3-a.) The checkbox changes to a checked state.
3-b.) The checkbox's associated property's value changes to 1.
4.) I click the checkbox.
5-a.) The checkbox changes back to an unchecked state.
5-b.) The checkbox's associated property's value changes back to 0.

However, when I debug, I see that 5-b won't happen. The value set in 3-b acts like it is set in stone. I can click away, but it won't change.

Are the checkboxes in Wise only good for a one-time click? What if the user changes his/her mind? As a VB programmer this wouldn't make sense to me.

Please post any suggestions or information you may have to clear this concept up for me.

Thanks for your time.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top