Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric Keypad
Message
 
To
14/01/2005 07:27:51
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00977137
Message ID:
00977139
Views:
28
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform