Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keyboard buffer for number
Message
 
 
To
02/07/2001 22:37:48
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00525669
Message ID:
00526378
Views:
15
Wilson,

I really don't know enough about the complexity of the UI you are trying to develop. A good way of dealing with this is to have the currently active control "register" with your input control in it's GotFocus() and then you can directly manipulate it's .Value property from your input control. You can test the type() of the .Value to see whether it's numeric or character and behave appropriately.

>I know your solution should solve the problem. But do you think it is hard to use for complex screen which are many objects on the screen. Each objects should tell the keypad it is the current object and waht type of value it stores.
>
>Today, I get a message that toolbar can solve the probelm.
>It is great it really works. However, toolbar is hard to control looking like a keypad. So I will continue to try this problem.
>
>I know it should be the focus problem for VFP. I use a shape to instead of command button because shape does have a gotfocus event. But problem still here for numberic field.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform