Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controlsource Function problem!
Message
De
17/11/1998 10:11:44
 
 
À
16/11/1998 20:16:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00157773
Message ID:
00158210
Vues:
19
Hi ---

In the Init of the TextBox, put:

THIS.Value=100-(database.field*100)
THIS.Refresh()

In the LostFocus of the TextBox, put:

REPLACE database.field WITH 1.00-(THIS.Value*.01)

Do not set a ControlSource for the Textbox, and make sure that you have your InputMask set the right way (probably "999")
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform