Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing a grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00006903
Message ID:
00007272
Vues:
49
>>>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
Fil
Voir

Click here to load this message in the networking platform