Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TxtBox - All Text is Not Selected - ThisForm.txtBox.SetF
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00270736
Message ID:
00271404
Views:
26
Sylvain: SelectOnEntry doesn't seem to help when referencing the object with .SetFocus. However, if I assign an InputMask value (the InputMask I assigned is XXXXXXXXXXXXXXX), all of the text gets selected when I call the .SetFocus.

>Try txtBox.SelectOnEntry = .T.
>
>HTH
>Even thought the txtBox.Format property is set to "K" in the Form Designer, when programmatically referencing SetFocus with ThisForm.txtBox.SetFocus, all the text is not selected.
Chuck Henry
Previous
Reply
Map
View

Click here to load this message in the networking platform