Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
My combo just won't show its value
Message
De
19/07/2007 07:51:10
 
 
À
19/07/2007 07:42:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01241634
Message ID:
01241828
Vues:
51
>>Sorry, I forgot: The cbo's .Init():
>>
>>This.value  = this.List( This.ListIndex,2)
>>With This.Parent.txtVar_ID
>>  .Value	  = this.value
>>  .Refresh()
>>Endwith
>>
>>
>>Again, i've tried different permutations in this
>>
>>>PS: I prefer rowsourcetype=3
>>>Cetin
>
>But there ListIndex is 0, no?

AHA! That's got it! Of course .ListIndex is 0 and can't be changed at design time.]

So I made it:

This.value = this.List( 1, 2)

Sometimes one can't see the wood for the trees.

Thanks, chum

Terry

>
>this.listIndex = 1
>
>Cetin
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform