I have three checkboxes lined up in a row on the dreaded datagrid. I have
used the mouseup event to control whether or not the user can select a given
box (i.e they can only select one box and they have to have one box
selected)...basically working just as a radio button would do.
My question is how can I use the same control for when the user tries to use
the SpaceBar? My main concern here is that I cannot use addhandler to the
boolcol that I'm using in the dreaded datagrid (or at least I cannot figure
out how)...so how can I trap the spacebar activity. The only event that I
can get to work is the datagrid.keyup event...but the keyup is too late...it
shows the checkmark before my code runs...I tried the datagrid.keydown event
but then my code didn't run at all?
Any ideas?
TIA
-bruce duncan
|