Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Type( 'myForm.Controls' ) returns 'U'
Message
From
22/04/2005 15:10:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Type( 'myForm.Controls' ) returns 'U'
Miscellaneous
Thread ID:
01007630
Message ID:
01007630
Views:
58
Was looking at some code today and the developer was checking for the presense of the Controls collection by using the type() function. When debugging his code, I discovered that both the Controls and the Objects collections will return "U" when one tries to reference them via the type() function.

The solution (and probably a better way to begin with) is to use pemstatus() instead.

But, I'm wondering why both type( "myForm.Controls" ) and type( "myForm.Objects" ) will be both return "U" even those these objects exist?

Thanks,
Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Next
Reply
Map
View

Click here to load this message in the networking platform