Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Release Object problem
Message
De
13/04/2005 13:09:54
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
13/04/2005 12:20:50
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:
01004250
Vues:
27
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform