Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Release Object problem
Message
From
13/04/2005 11:22:16
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01004179
Message ID:
01004180
Views:
27
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform