Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox with negative value ???
Message
From
03/06/1998 13:31:06
 
 
To
03/06/1998 13:14:40
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00103942
Message ID:
00104444
Views:
33
>...
>>>
>>>this is a sample and doesn't works. If you select interativelly yes, but in init code dont.
>>
>>Sorry, it's bad sample. If you want to have two column and let say negative value in second column, then code should look like:
>>*** combo init event
>>this.addlistitem("a", 1, 1)
>>this.addlistitem("-1", 1, 2)
>>this.addlistitem("b", 2, 1)
>>this.addlistitem("2", 2, 2)
>>this.addlistitem("c", 3, 1)
>>this.addlistitem("-3", 3, 2)
>>
>>Now to 'initiate' the combo you can issue Combo.Value="-3" to get 'c' in text portion of the combo.
>
>Sorry. My mistake is in the sample. The original code is as you've describe. But still doesn't working. I can send you the class if no problem. It's very little size.

It should work. Note, that you have to use Character value.
Sorry, but i can't accept your code. We have strict corporate policy for Internet downloads.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform