Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to point to initialise?
Message
 
À
12/11/1997 22:50:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00059848
Message ID:
00060152
Vues:
25
>I'm very new to VFP 5.0.
>Can anyone help me on this:
>
>I have 2 textbox. txtSales and txtGst
>
>1. My intention was to key in the sale figures into "txtsales". When the users press enter after keying the sales figures, I want to do some background caculation and display in "txtgst" textbox without user keying. Can anybody show me how?
>
>Many thanks.
>
>
>From Samuel Chan

Hi Samuel.

There are several ways you can do this one of them would be:

In the valid event of txtsales:

here you would do all your calculations and the result should be the value of
txtgst.
e.g.

sum all (whatever) to total
txtgst.value = total
thisform.txtgst.refresh()


as I said this is just one way of doing this.

I hope it helps.
Alfred Trabulsi
Intelexis.
www.intelexis.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform