Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Assigning combo's RowSource
Message
 
 
À
25/05/2010 15:23:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01465931
Message ID:
01465957
Vues:
47
>>>>No ideas from anyone?
>>>
>>>Try
this.PC_Combo1.RowSource = 'this.parent.arrProfitCenters'
>>
>>Thanks, I thought this should refer to the class. It worked. Almost - as value was not selected.
>
>I don't understand, did my suggestion work or not? As I understand it, 'this.arrProfitCenters' is passed as a string to the combo, so "this" will be treated as the combo itself by the combo, and not this.parent which will actually contain the array.

Your suggestion worked, but all the combos came with no values selected. What should I do so it will select what it needs to select (values should be populated)?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform