In my application I have a Data Entry grid which consists of 4 checkboxes, when tabbing through these checkboxes it automatically checks these. I don't want this to happen, I only want these to be checked if they are left-clicked on by the mouse.
I have been trying to capture for this but am having no luck. I have tried using the event Key Press on the control, and also Key Down on the main form but to no luck. The only event which I can go to prior to it being checked is the GotFocus event, does anybody know how I can determine what key is pressed from here. I can then think of some validation.
Or if anybody has a better idea.
Thanks
I have been trying to capture for this but am having no luck. I have tried using the event Key Press on the control, and also Key Down on the main form but to no luck. The only event which I can go to prior to it being checked is the GotFocus event, does anybody know how I can determine what key is pressed from here. I can then think of some validation.
Or if anybody has a better idea.
Thanks