Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Release Object problem
Message
From
13/04/2005 13:09:54
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:
01004250
Views:
28
>Thanks for the help,
>
>I tried your suggestion, first add the new object then remove 'text1'
>
>Thisform.grdTest.Column1.AddObject('cboList','combobox')

You have to add:
Thisform.grdTest.Column1.cboList.visible=.t.
>Thisform.grdTest.Column1.RemoveObject('text1')
>
>But still it shows
>VARTYPE(Thisform.grdTest.Column1.text1) = 'O'
>
>and furthermore, now I can't even see my combobox in my grid, just a blank box.

That's because your new object isn't visible, so the column invents text1 again. Also,
Thisform.grdTest.Column1.currentcontrol="cboList"

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform