Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to delete a CA from DE in a form class
Message
De
06/07/2005 11:47:13
 
 
À
06/07/2005 11:30:19
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01029250
Message ID:
01029525
Vues:
16
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform