Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display value different format from stored value
Message
De
16/03/1999 15:53:23
 
 
À
16/03/1999 14:30:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00198149
Message ID:
00198315
Vues:
15
>>Hi all!
>>
>>What's a good way to display a value differently then it's stored?
>>
>>For example: a time value
>>
>>Stored in the table as seconds: 4500
>>Displayed/entered as: HH:MM 01:15
>>
>>How would I bind the data to a control to accomplish this? Do I need two controls in a container, one to bind the value to a table and one to display/enter the value?
>>
>>TIA
>
>You need in one unbound textbox with Value property populated from/stored to data programmatically.

That's the way I'm doing it now. I was just wondering if there was a better way to do this.

The problem I have with this method, is that you have to remember to add the code to handle the programmatic update of the value. That's why I would like to use a bound control.

Thanks.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform