Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Odd Behavior in a Native Text Box
Message
From
02/02/2006 23:04:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Odd Behavior in a Native Text Box
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01093212
Message ID:
01093212
Views:
68
When clicking into a native TextBox that is empty, shouldn't the "I-beam" go to the left (assuming left alignment) immediately? There seems to be a slight, disconcerting delay before it does. Also, if I double-click in an empty TextBox, the field partially highlights, and clicking somewhere in the highlighted region leaves the I-beam at that location. Again, shouldn't an empty, left-aligned TextBox hug the left until something's typed? Furthermore, when the I-beam is at the left in an empty TextBox, I can arrow right and then begin typing _in the middle of the TextBox_.

I would like to implement the following behavior:

1) Force the I-beam to either edge of the control (depending on alignment) until something is typed;
2) When double-clicking the TextBox, do not highlight anything if there's nothing to highlight;
3) Under no circumstances allow arrowing toward the middle of the control is the control is empty;
4) Under no circumstances allow typing into the middle of the control such that doing so creates leading or trailing blanks.

Is this possible? Am I missing something?

Thank you.
Next
Reply
Map
View

Click here to load this message in the networking platform