>Does anyone know how to determine the position of a particular
>grid cell in relation to the Form, specifically the TOP and LEFT
>values ?
>
>The purpose is to be able to provide the user with the ability
>to double click on a particular cell and have a control appear
>exactly above that cell.
>
Michel,
You can use MCOL() and MROW() to get the relative position of the textbox in form coordinates. The position returned is, I believe, as if the textbox were in the first row of the grid. If it is in a subordinate row, then you will have to adjust the position. Once you have the textbox position on the form, then you should be able to use addobject to impose another control on top of the grid textbox.
But, to make it much, much easier, what is the possibility to adding the control to be displayed to the column and merely making it the active control when the user dblclicks (or whatever)? This would seem to be a much simpler implementation that would have the same visual effect.
regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.comNo trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.