Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Release Object problem
Message
De
13/04/2005 11:22:16
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
13/04/2005 11:19:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01004179
Message ID:
01004180
Vues:
22
>Hi
>
>I have a grid and at run time I remove the textbox from column1, basically I do "Thisform.grdTest.Column1.RemoveObject('text1')". Which releases all the methods and properties of the object 'text1', but not the object itself. When I'm in the debugger, and I put VARTYPE(Thisform.grdTest.column1.text1) it gives 'O'.
>
>Is this a bug?

No, it's the default - and your object DID go away. It's just that a column can't live without a current control, so it creates a new default textbox as soon as you kill the original one.

If you want text1 to vanish, add another control first, then kill text1.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform