Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text field
Message
De
10/09/2002 10:36:18
Andrew Fell-Gordon
Calypso Publications Ltd
Enfield, Royaume Uni
 
 
À
10/09/2002 10:02:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00698756
Message ID:
00698794
Vues:
12
This message has been marked as a message which has helped to the initial question of the thread.
My preferred way would be to create a subclass of a textbox. This would have no control source but would have custom SetValue and SaveValue methods.
The SetValue would be called from the Form's Refresh method and it reads the value from the database, converts it to $US and puts the result in the value property. if you do this, make sure that you put a dodefault() in the Refresh method otherwise the rest of the form won't undate. In the InteractiveChange event of the textbox call the SaveValue method. This will calculate the $CAN from the Value property and update the database with it.

Andrew
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform