Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My combo just won't show its value
Message
From
19/07/2007 07:51:10
 
 
To
19/07/2007 07:42:16
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01241634
Message ID:
01241828
Views:
49
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform