>Hi All,
>
>I found half of the solution to why the rightclick() event doesn't fired when I rightclicked on the image control in one of the column of the grid. When I set the Spared = .T. for that column, the rightclick() works fine on all the images that I clicked. But the new problem, the user can't see what image is actually there unless they click on the row. Is this a bug in VFP or is there a solution to problem. TIA
This is not a bug, this is by design. Tecnically there is only one image control in the column for all visible records. When .Sparse = .t. you see the image only in the active row when you click on another row, it becomes active and shows the image control.
You want to show the different images in every record and be able to right click and run some code for any row, correct?
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison