Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checking a checkbox without Calling OnClick( )

Status
Not open for further replies.

Wings

Programmer
Feb 14, 2002
247
US
Hi,
I was wondering if it was possible to programmatically check or uncheck a checkbox, without triggering the check boxes OnClick event?

Any Ideas?

Thank
 
I've seen example of activating a component by just scrolling over it. I can't remember where I saw it, though. It might have been C++ Developers Mag ( James P. Cottingham

When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity.
[tab][tab]Albert Einstein explaining his Theory of Relativity to a group of journalists.
 
Using simple checkboxes?
CheckBox1->Checked = false/true; My codes look like something a kid wrote
I have absolutely no idea what I am talking about
Somehow I still manage to make it work
 
This will trigger the onclick() event, which is what I am trying to avoid.

Thanks though.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top