Overlooked that one ... that's preferable thanks.
 
Regards
Paul McKenzie
Analyst Programmer
SMSS Ltd.
 
----- Original Message -----
Sent: Tuesday, June 24, 2003 12:40 PM
Subject: Re: [DUG]: CheckBoxes

Hi Paul
 
Why not just temporarily set the OnClick event to nil, then reassign it after checking the box, like so:
 
TempEventHolder := chkBox.OnClick;
chkBox.OnClick := nil;
chkBox.Checked := True; //or False
chkBox.OnClick := TempEventHolder;
----- Original Message -----
Sent: Tuesday, June 24, 2003 12:11 PM
Subject: [DUG]: CheckBoxes

Is there an easy way (eg a call, message, etc.) to set a checkbox checked without triggering the OnClick event ?
Or in the OnClick event is there and easy way of determining if it was and actual "Click" ?
 
Regards
Paul McKenzie
Analyst Programmer
SMSS Ltd.
 

Reply via email to