Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select on entry - textbox
Message
From
21/10/2010 10:23:05
 
 
To
11/12/2007 06:11:03
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01274694
Message ID:
01486511
Views:
104
This is an older topic ... SelectOnEntry only works when you tab into an editbox, but not when you click on it.

The suggestion for the Click event below does indeed select on entry ... but, once this occurs, I would like to have it so that the next and all subsequent clicks do not select anything. Is this possible?

>>I cannot get the numeric values in a textbox in a grid to select on entry if instead of tabbing to the textbox, the user uses the mouse. I am sure I have seen the answer to this before, but can't come up with it. Of cource I have selectonentry set to .t.
>>
>>Thanks in advance to the worlds fastest problem solving community
>>
>>Fred
>
>
>*Textbox::Click
>this.SelStart = 0
>this.SelLength = 50
>
>PS: 50 is an arbitrary value wide enough to cover all range, could be 999 or 9999 as well.
>Cetin
Jim Nelson
Newbury Park, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform