Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP5 - 12 0.00 gets 120.00 in numeric object
Message
From
01/08/1998 13:04:59
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
 
To
30/07/1998 22:15:03
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00121694
Message ID:
00123310
Views:
18
Always a better mousetrap!
//:^)

>If you put your This.SetFocus() into the GotFocus() event instead of the Click(), and use a K in the Format property of the textbox, you will get the desired effect on entering the textbox - even using a mouseclick, but the user will still be able to position the cursor with a second mouseclick.
>
>>I fixed this problem by putting
>>THIS.SETFOCUS()
>>in the click method.
>
>>>I don't think VFP5 handles numeric values in textboxes incorrrectly, just not necessarily the way we might want it to. Ther problem has to do with the value not being selected when the user starts typing. It usually show up if the mouse is used to get to the textbox. With a tab ito the textbox the SelectOnEntry property will contrl the selection adn any typing would overwrite the current value.
L.A.Long
ProgRes
lalong1@charter.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform