Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric Keypad
Message
 
À
14/01/2005 07:27:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
00977137
Message ID:
00977139
Vues:
29
>Dear Experts
>
>There is text1 and 10 commandbuttons on form.
>Text1 is numeric type and commandbuttons are with caption from 0 to 9 as follows
>
>command1 0
>command2 1
>command3 2 and so on.
>
>I want to enter data in text1 through commandbuttons for example if I want to enter data 210 then I should press command3, command2 and then command1 but what command should I apply on every commandbutton.
>
>Please help


On Click Event of Your Command Buttons (0...9)
i.e. On Click Event of Command2
thisform.Text1.Value = VAL(TRANSFORM(thisform.Text1.Value)+"1")
i.e. On Click Event of Command3
thisform.Text1.Value = VAL(TRANSFORM(thisform.Text1.Value)+"2")
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform