>Hello!
>
>I have a grid that has an image control in one column. Based on a field value, this image which is a checkmark will either display or not display. This works ok but I also have code in the gotfocus and lost focus of textboxes in the other columns. Since the image control has no gotfocus or lostfocus I was wondering how I can run code when this column is clicked on. I tried putting the image control into a container in the grid column but for some reason the container gotfocus doesn't seem to fire when the image is clicked on with the mouse.
>
>Any ideas would be greatly appreciated!
>
>Thanks!
Don't know if you're stuck on a particular image. If not, I think the simplest solution is to just have the textbox use a font with a checkmark character. For example, Wingdings has a nice checkmark. 0xFC (or the letter u with an umlat). The controlsource could be something like
IIF(MyTable.MyBool, chr(0xFC), "")