Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21873

[RESOLVED] Having problems controlling a CheckBox in a User Control

$
0
0
I have a program that has a UC on it. The UC has a checkbox control.

How do I control the Checkbox?

When the program load it reads an INI file. The INI file has a string that has the current checkbox setting; either a 0 or a 1

If the value from the INI is 0 I want to uncheck the checkbox and if the value is 1 I want to check the checkbox

Also, user is allowed to click on the checkbox to change it's value. If he does then how do I make sure that the checkbox gets the changed value and write this value out to the INI file so that when the program is loaded again it picks up on this changed checkbox value

Viewing all articles
Browse latest Browse all 21873

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>