Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
As Paul said,
THISFORM.txtgst.VALUE = THISFORM.txtGstPercentage.VALUE * THISFORM.txtSales.VALUE in VALID method of txtSales will work. There is no reason why it wouldn't work.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement