Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Varype = 'O' after Init returns .F.
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00356876
Message ID:
00362193
Views:
20
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
Previous
Reply
Map
View

Click here to load this message in the networking platform