Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
3 Grid Questions
Message
De
09/07/1999 05:09:56
 
 
À
09/07/1999 03:49:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00238736
Message ID:
00239320
Vues:
23
Hello Marcia

>
>>> I thought about saving the grid as a class and then reinstating it, but I don't know how to do that yet, or even if it can be done. <<
>
>In the form designer, select the grid and from the file menu select Save As Class.
>

I managed that bit - but how do you re-instantiate it?



>In the code where you set up the grid again, try
>
>

>WITH frmMyForm.MyPageframe.MyPage.MyGrid.Column3
> .AddObject('MyCheckBox','CheckBox')
> .CurrentControl = 'MyCheckBox'
> .Sparse = .F.
>ENDWITH

now this worked - almost! The checkbox appeared but all blank - as though not bound to data. Yet any attempt by me to force its controlsource was rejected...

Nearly there though!

Thanks

Harry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform