Your question is not quite clear to me. Are you attemping to Dim a variable with the same name in your code?
>I have a component class that exposed a collection as a property.
>
>if i add items to the collection they are declared in the form code, but i have a problem, if i delete the main component, the items still remain declared in the form code.
>
>How do i make the items to be deleted too.
>
>----
>There is a class named ComponentDesigner, this have a property named AssociatedComponents.
>So in the class definition i indicate wich are the associated components and if i cut the main component, the items are cut too.
>
>But this doesn't work when i delete the main component.
>
>can someone help me.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement