I need help. Whats an if(myVar is checked) [for checkboxes] then command for forms?
And how do you make it you can only check 1 thing in some areas and alot in other areas
I need help. Whats an if(myVar is checked) [for checkboxes] then command for forms?
And how do you make it you can only check 1 thing in some areas and alot in other areas
I do visit every 2-6 months
SCAR Code:if (CheckBox.Checked = True) then
And what do you mean on the second part?
on the second part you either make the checkboxes radio buttons for the ones that you want only 1 or you make a procedure where it makes the checked one unchecked when a new 1 is checked.
also i think you could usebut if checked = true is easierSCAR Code:if checkbox.state = cbchecked then
EDIT:kinda confusing but make an onclick procedure for all the checkboxes, then have it reset all the checkboxes to unchecked and except for the one that was checked. or a timer for if one.check= true thenyou make a procedure where it makes the checked one unchecked when a new 1 is checked.
reset all others
SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
Programming Projects: NotePad | Tetris | Chess
you dont even have to have = true justSCAR Code:if Checkbox1.checked then
edit: Use radio buttons they automatically uncheck eachother when you click on one of them.
There are currently 1 users browsing this thread. (0 members and 1 guests)