Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Requery ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01474625
Message ID:
01474649
Vues:
30
Again I don't have VFP available here (I'm in KC at the moment) and I haven't used it in a while, but..)

First off, make sure you check to see if the grid exists before trying to remove it - something like 

If vartype(ThisForm.grdFindQuote)<>'U' (I think that's right..)

Then to instantiate the grid use ThisForm.addObject("grdFindQuote") ..

I'm getting rusty - there is Addobject and NewObject - one lets you specify the classlib and one uses the currently selected classlib IIRC.

Once you instantiate it, you'll need to set Top and Left values to position it and set recordsource if it wasn't already specified in the class.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform