Hide Checkbox Options

DMerchen

Registered User.
Local time
Today, 16:17
Joined
Sep 9, 2008
Messages
94
I am trying to make a checkbox with different graphics since the checkbox can not be resized. I thought I could stack images on top of each other and toggle between showing and hiding based on if the checkbox was checked. This actually works, but I wanted to hide my checkbox, so I hid it behind my images. This didn't work. So I brought it to the front and made it invisible. This didn't work either. What can I do? The checkbox is linked to the table, but I want the graphics to show thumbs up or down and not see the checkbox. Anyone have any tricks?

Thanks for any assistance!
 
An image does have an OnClick event and Double Click Event so you could use that but then you need ot inform the users that state the checkbox is in graphically. Perhaps if the checkbox is one state then the graphic is normal and the other state create another image with reduced opacity and toogle the images on changed states.

Simon
 
Yep, that seemed to do the trick!! I put the checkbox behind my two images and when I click one image the other shows up and the checkbox is checked, and vice versa, then I just read the state of the checkbox on the form load. Took just a push to get me going. Thanks!
 
What happens if the state needs to be changed with only one image visible?

Simon
 
Hmm...Using the on click command for both images, just making the other image visible and hiding the clicked image and reversing the checkbox. Hope I understood your question well enough.
 

Users who are viewing this thread

Back
Top Bottom