Click to See Complete Forum and Search --> : check box


midnightservice
October 5th, 2001, 09:56 PM
is there a way to make a check box act like an option box....i know why not use option box's well the program is almost done and i placed a lot of check box's on it and now i only want to allow one box at a time not multiple choices.


thanx

midnightservice

Karok
October 5th, 2001, 10:24 PM
I think you have to put your controls in an option group control to get them to work this way.

I will rate all useful suggestions :)

In reply to:

A man who asks a question is a fool for 15 minutes. A man who doesn't ask a question is a fool for a lifetime. -Chinese Proverb




Karok

John G Duffy
October 6th, 2001, 04:51 PM
You might consider developing a subroutine that has a parameter of the checkbox just clicked. IN that subroutine uncheck all the other checkboxes.
Call this subroutine from the CheckBox.Validate routine of each of the checkboxes passing the name of the checkbox just checked to the Subroutine.

John G