Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditional selecting in the TextBox
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00785262
Message ID:
00786102
Views:
20
Hallo Wilson,

first of all, your Code

with text1
if .selstart < alltrim(.len(.Value))
.selstart = 0
.sellength = len(.Value)
endif
endwith

can't work: the alltrim in the second line is not a numeric which could be compared to .selstart.

But, once again: it seems so, that the selstart is set AFTER the GotFocus event, and I need to know where was the MOUSEPOINTER as the user clicked on the textbox. .selstart has at that point of time NOTHING TO DO with the position of the MOUSEPOINTER

Regards
Alexander Lerner
a_lerner@heinrich-schmid.de

The life is somewhat easier than it seems to be.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform