Checkbox Problem

S

source

Is there a event / delegate I can create which will allow me to pop a
messagebox asking me "Do you want to check the checkbox?"
when a user tries to check a checkbox.

If the user says Yes I want a check to be appeared on the checkbox if the
user says no, the checkbox should not be checked.

Is this possible.

I mean something similar to Form Closing event, where I can back out from
closing the form.
 
S

Scott

Set the "AutoCheck" property of the CheckBox to "False." If AutoCheck is set
to False, you will need to add code to update the Checked or CheckState
values in the Click event handler.
 
A

Ayaz Ahmed

Hello,

use message box visual basic yes or no property if user select yes then
check box value set 1 either use select no then check box value set 0



Warm Regards,

Ayaz Ahmed
Software Engineer & Web Developer
Creative Chaos (Pvt.) Ltd.
"Managing Your Digital Risk"
http://www.csquareonline.com
Karachi, Pakistan
Mobile +92 300 2280950
Office +92 21 455 2414
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top