Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to delete a CA from DE in a form class
Message
From
06/07/2005 11:47:13
 
 
To
06/07/2005 11:30:19
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01029250
Message ID:
01029525
Views:
15
>Hi Mark,
>
>I did the following:
>
>1) From the Toolbox's/VFP Base Classes right click the Form object and select Create Form.
>2) Drop a DataEnvironment object from the Base Classes to the Form.
>3) Drop a few CA object into the DE object from 2)
>4) Now try to delete any of the CA objects. I can't.
>
>Mike
>

This is a bug.
With ASELOBJ(aCA) you can remove the ca
ASELOBJ(aCa)
acA[1].Parent.RemoveObject(aCa[1].Name)
But are you sure of what you do?
In this way you are adding a second dataenvironment to the form,
this has problems when the form run and form's members are binded.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform