Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

Checkbox checking issue

$
0
0
Hello,

I have the following situation:
- a Check Boxes screen in the setup
- 2 checkboxes: Checkbox03 and Checkbox04
Click image for larger version

Name:	checkboxes.JPG
Views:	5
Size:	2.2 KB
ID:	305745




- action: when Checkbox03 is check, I want Checkbox04 to be automatically selected as well. For this I have the following code:

props = DlgCheckBox.GetProperties(CTRL_CHECK_BOX_03);
if (props.Checked == true) then
DlgCheckBox.SetProperties(CTRL_CHECK_BOX_04, {Checked=true});
end

- Checkbox04 can be selected independently of CheckBox03, but when Checkbox03 is checked, it must also check Checkbox04

Issue:
- when both checkboxes are selected, and I click on the Checkbox04, the checkbox will remain visually checked, as it should, but it will actually become unchecked in the background and cause issues during the installation phase.

How can I make Checkbox04 become permanently checked and not uncheck itself in the background, when both checkboxes are checked?


Thank you,
Cosmin

Viewing all articles
Browse latest Browse all 2105

Trending Articles