Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a service pack in the pipe
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00879242
Message ID:
00879328
Views:
15
>I also note that VARTYPE does not vette OCX objects. For two years (or so) my code has been vetting OCX exclusively with TYPE. I maintained VARTYPE for form vetting. But in 8, VARTYPE is not as reliable as it was with 7 or 6 - at least that's what I think I am seeing.
>
>I've other issues with VARTYPE that I tried to solve with proxy names for forms and so on. They worked. But now, I suspect, that I can revert to actual object names by simply switching to TYPE.

Got it. You can also have a problem with PEMSTATUS with ADO objects [and I suspect some OCXes]. The first time you try to test for a PEM with PEMSTATUS, you get a False return value even though the PEM does exist. The second time you hit it, you get the correct return value. However, if you use TYPE function, it works all the time.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform