Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TextBox not selected on entry
Message
From
27/07/2001 13:07:17
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00535697
Message ID:
00536533
Views:
9
>Hilmar,
>
>Thanks!
>It was exactly wat I did. When I said I had put a new textbox without any methods what I did was to put a new textbox control onto the form, populate its properties according to the ones I had in the old one and leave its methods empty. Nothing changes in relation to the old textboxes. i.e. same problem.
>The new information I have is that if the value (controlsource for what matters) of this control is empty (0.00 for example), the control is not selected on entry. The problem it causes is that if my user types "1" in a numeric textbox and presses TAB, fox example, the value is changed to 10. If he (she) types "10", the value is changed to 100, and so on. Any clue?
>

Fabio,

Have you tried to put this in your gotfocus() method (from the first thread I sent you)?
Textbox::GotFocus()
This.SelStart = 0
This.SelLen = 999
NODEFAULT
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform