Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dangling reference?
Message
From
03/08/2010 10:00:46
 
 
To
03/08/2010 09:08:29
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01474712
Message ID:
01474953
Views:
78
Thomas,

Yes, I tried the 'drag n drop' way. So, this means that Collection classes can ONLY be used by instantiating them programatically?

Thanks
Dennis


>Hi (again) Dennis,
>
>just saw the last sentence of your post, that dropping the collection class on the form won't do.
>
>I assume, you tried this via drag 'n' drop from the class catalog to the form.
>This won't do. If you look closely at the class catalog, you will see the icon of you marked collection class in the upper left corner of the catalog window. This icon can be dropped on your form.
>
>
>>In collection's .destroy(), try with a
>>
>>this.remove(-1)

>>
>>The collection object was created programmatically in the Init of the container class. How do I inject this code?
>>
>>Also, I tried creating a Collectiion class using the class designer. It does not however, want to be dropped on a form like how one drops a textbox or label class...
>>
>>Thanks
>>Dennis
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform