Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo in a grid problem
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Combo in a grid problem
Divers
Thread ID:
00837659
Message ID:
00837659
Vues:
52
I have the following code that fill a grid. The problem I have is with the line .Column3.wscombobox1.controlsource = ...
Err.mess.:Parent object will not allow this property setting for ffecost.wsgrid1.column3.wscombobox1.ControlSource.

WITH THISFORM.Wsgrid1
.RecordSource = "cur_ffecost"
.Column1.ControlSource = "cur_ffecost.invcode"
.Column2.ControlSource = "cur_ffecost.ecost_mnt"
.Column3.ControlSource = "cur_ffecost.ecost_mnt_cur"
.Column3.wscombobox1.ControlSource = "cur_ffecost.ecost_mnt_cur"
.Column4.ControlSource = "cur_ffecost.vendorcode"
.Column5.ControlSource = "cur_ffecost.vendorname"
.Column6.ControlSource = "cur_ffecost.ref"
ENDWITH

The same control, out of the grid, works perfectly:
THISFORM.wscombobox1.ControlSource = "cur_ffecost.ecost_mnt_cur"

I cannot figure out what is happening here ?

Thanks for any help
Eric
Eric Crespin
Consultant
PC PLUS Software Inc.
www.pcplus.ca
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform