>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!
Thanks y'all, it really helps.
Another question, how can I check if the object already exists, so I can remove and readd it when my recordsource changes?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement