Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>>Hello all! I’ve got a Grid question. I have a grid on a form displaying >
>THISFORM.grdLabforce.grcPeriod.Width = lnPeriodWidth
>THISFORM.grdLabforce.grcPeriod.ControlSource = lcPeriodSource
>
>Seemed straightforward to me but I get an error saying "Unknown Member >grcPeriod" when I try to reset the column width. The variable assignment >at the beginning recognizes grcPeriod but the property assignment at the >end does not. Any ideas? Thanks again!
I think, when you change record source for a Grid object, you loose probavly not only values of miscelaneous column properties, but columns objects themselves as well. In any case, it should be easy to check if you suspend your program before you get an error message and examine your Grid object in Debug Window.
Have fun!
Leonid.
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