Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select on entry - textbox
Message
From
22/10/2010 07:17:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
21/10/2010 10:23:05
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:
01486600
Views:
68
>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

Yes you can add a property as a flag for entry and exit, set, check it.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform