Information générale
Catégorie:
Codage, syntaxe et commandes
>>I have a container class with 2 - 20 label object in it that I can't seem to get rid of... I'd like to remove the container from the form and re-build from scratch but when I use REMOVEOBJECT() then ADDOBJECT() I get the message "An object with that name already exists"... What would prevent removeobject from working?
>>
>>TIA
>I replied with regard to removeobject(), addobject() but BTW do you really need to rebuild from scratch by remo.. addo.. ? I think browsing through the labels and changing properties or setall at once could be more suitable.
>Cetin
Thanks, Cetin
Actually, I'm experimenting with the 'best' method right now. I've tried the browsing approach, but the problem there is that the container could have more (or less) labels on it. So I'd need to add labels (if there were too few existing labels) or remove / hide labels (if there are too many).
I'm thinking that I can't remove the labels because they're still visible. If that's so, would a LOCKSCREEN allow the 'image' of the labels to remain visible while the control is rebuilt in the background?
Thanks again
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