Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar, removing container
Message
De
01/11/2017 16:32:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Divers
Thread ID:
01655282
Message ID:
01655359
Vues:
101
To follow up on this, I ended up setting the object's .Visible property to .F.; to get rid of it, I put a timer on the toolbar that loops through the .Objects and if it finds any that are .Visible = .F., it does an .RemoveObject() against it

So that the timer is not firing all the time, I enable it at the time I set the control.Visible to .F., the timer then fires a fraction of a second later, and after its iteration through the object collection, it turns itself off. Not that much work and I always know that what is in the collection is up to date.

Thanks,
Albert

>
>Have you simply try setting the object's visible property to false? I think it should be enough.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform