Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox with negative value ???
Message
From
08/06/1998 02:57:06
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00103942
Message ID:
00105712
Views:
36
>Carlos,
>
>I see what you are saying now. On the property sheet change the cbo.Value from (None) to 0, that is change it's type to numeric and it should work just like you want. If a control isn't bound to a data item they typically take on character type values, initializing it to numeric is the way to handle this.
>
>>yes, yes. Negative values work. But only interactivelly. Not programatically. If you selects an item with a negative value in the bounded column, the value of the combo returns negative. But this code in the init event doesn't works:
>>this.value = -45
>>asuming there is an item in the combo with value in bounded column is -45.
>>No one founds a reason.

Sorry for the delay in my answer. At weekend i have not connection.

I have done this from the beginning. I have 0 to initial value of the combo. But still doesn't works. I think you have not tested it. Thanks anyway.
Saludos,
A.G.P.
---------
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform