Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resetting the vfp desktop
Message
 
À
07/05/2007 08:35:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01223001
Message ID:
01223003
Vues:
14
This message has been marked as the solution to the initial question of the thread.
Hi Kurt,
* FirstAid
FOR lii=_Screen.ControlCount TO 1 STEP -1
    _Screen.RemoveObject(_Screen.Controls(lii).Name)
NEXT
MartiJ

>Hi all,
>
>i have created a few labels and textboxes on my vfpdesktop with _screen.addobject.
>the names of my objects are given random via the sys() command.
>
>then i created a buttom to refresh my desktopobjects.
>
>My queston is it possible to clear and remove all my objects on the desktop even when i don't know the name of my labels ?
>
>i've tried with _screen.cls but that doesn't work
>
>thnx
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform