Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I release those objects?
Message
De
27/05/2014 19:45:03
 
 
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
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01600733
Message ID:
01600748
Vues:
61
>>I created objects dynamically and before releasing the form I want to delete those objects.
>>
>>I thought the following would work but it didn't
>>
>>
>>FOR nI = 1 TO thisform.nTotOnScreen
>>	cNameObjet = 'cmdIdPersonn' + RIGHT( '000' + ALLTRIM( STR( nI)),4)
>>	cObjet = 'thisform.' + cNameObjet
>>	&cObjet = .null.
>>	RELEASE &cObjet
>>ENDFOR 
>>
>>
>>How should I proceed?
>
>First of all, you need to release them in reverse order.

Why is that???
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform