Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox with negative value ???
Message
De
08/06/1998 02:57:06
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00103942
Message ID:
00105712
Vues:
35
>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.
---------
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform