jesusilvester
Posts: 20
Joined: Fri Jun 26, 2009 12:47 pm

Custom Dialogue CheckBox Problem

Hi ,

We are using customized dialogue (UI) windows. In that window we have a checkbox control .
Can u please let me know how to identify whether the checkbox is checked or not.

Also on another note We need to show hide a EditBox control in the onclick event of the Checkbox.

Please let me know how to overcome this

Thanks
Jesukaran John Silvetser
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Custom Dialogue CheckBox Problem

Hi,
Can u please let me know how to identify whether the checkbox is checked or not.
When the checkbox is selected, the "Properties" pane will show its properties. In this pane the "Property Name" field represents the property of the checkbox and the "Value" field represents the value of the property when the checkbox is checked. So the checkbox is checked if its property has the specified value. If the property is empty, the checkbox is not checked.

You can read about checkboxes here.
Also on another note We need to show hide a EditBox control in the onclick event of the Checkbox.
This can be done by using control conditions. The conditions can use the property of the checkbox. For example, if the checkbox has the property CHECK, this condition would be true when the checkbox is checked:

Code: Select all

CHECK
and this condition would be true when the checkbox is unchecked:

Code: Select all

NOT CHECK
Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”