Click() event fires when check box Value set

  • Thread starter Thread starter Bill Le May
  • Start date Start date
B

Bill Le May

If I programmatically set an unbound checkbox's Value to True during
Item_Open( ), it triggers the Click event for the check box and runs the
code, which I don't want to do until the user actually clicks on it.

I am getting around it by setting a flag during Item_Open and clearing it
when it exits. The checkbox_Click code checks to see if an Open is in
progress and exits if True.

Is this normal behavior, and is this a valid solution? It is working so
far, but it seems odd.

Thanks,

Bill Le May
 
This is normal. Setting the value is the same as clicking the control.
You've found the correct solution.
 
Sue Mosher said:
This is normal. Setting the value is the same as clicking the control.
You've found the correct solution.

OK, great, and thanks.

Since we're talking events, do you have any insight on the Item_Read( )
event not always firing due to caching?

I posted a question here on 1/26/2005 but didn't see any reply. I would like
to utilize it for validation of input when in-cell editing takes place (no
Item_Open event), but it doesn't seem reliable.

In the meantime, I turned off the "Use Cached Exchange Mode" setting for my
email account. Item_Read now appears to fire even during in-cell editing. Do
you know of any downside for disabling Cached Exchange Mode? I looked here:

http://office.microsoft.com/en-us/assistance/HA011402591033.aspx

and didn't see anything that would cause me concern.

Thanks again for your help, Sue.

Bill Le May
 
Back
Top