Nadya:
I will research Add Object, AddObject, and RemoveObject a little further and I
will post my findings on UT.
> I saved both grids as independant classes and instead of removing one object,
> I add object in Run-time. This works like a charm and I also save time of
> instantiating this object. Perhaps, this solution could be used in your case
> too.
Adding is usually preferable to Removing but you cannot add controls at runtime
without code in something other than the control. The objects to remove are
intended to be dropped on containers and their mere presence triggers a set of
checks and events.
Daniel
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