>Hello everyone,
>
>I am using the addobject to add a grid to my form during run time. How can I control the position of the grid on the form in the code?
>
>Thanks a lot
Subclass the grid, change the positions, and save as class. Add this object to the form instead.
This is a neat way of also setting the column details and data source details for a grid and having it always retain these settings. When you change your data source, remove/re-add the object!