Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Varype = 'O' after Init returns .F.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00356876
Message ID:
00362193
Vues:
22
Hi Mark,

That's a bug in VFP, but not in VARTYPE(), ir correctly returns "O". The bug is rather that Text2 in your sample is not really released, but made unavailable to your code. Try this:

? Thisform.TestBox1.Text2.Left && error
ox = Thisform.TestBox1.Text2
? ox.Left && works
ox.SetFocus() && crash

Christof
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform