>> "(OK, I really need to stop fooling around and get back to writing
__________."

This is a hazard to all members of the ProFox mail list. I find myself
wanting to chase all of the weird and wonderful stuff I see here and then I
remember that the light bill is due next week and my employees always seem
to want a paycheck on Friday. 

Can't they just let me PLAY!?

Paul

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Ted
Roche
Sent: Wednesday, November 08, 2017 2:25 PM
To: [email protected]
Subject: Re: Textbox Highlighting

I s'spose if you wanted to avoid the menu dependence, you could set some of
the Sel* properties, try this (untested) code:

GetFocus():
THIS.SelStart=1
THIS.SelLength = LEN(THIS.Value)

(Of course, if THIS.Value isn't a string, you'll need to use
ALLTRIM(STRING(THIS.Value)) or other functions as appropriate)

(OK, I really need to stop fooling around and get back to writing HTML :)...


On Wed, Nov 8, 2017 at 2:33 PM, Ted Roche <[email protected]> wrote:
> No, that's not exactly right, either... SelectOnEntry (and the old 
> '@K' option in Format/InputMask, @GET and TRANSFORM) apply to 
> keyboarding and not mousing.
>
> The "box is blank" issue applies to keyboarding when you're trying to 
> do something tricky like put the cursor at the beginning of the value, 
> so that likely doesn't apply.
>
> KEYBOARDing is an inelegant solution: it depends on the Edit menu 
> being available the default Ctrl+A menu shortcut defined.
>
> On Wed, Nov 8, 2017 at 2:22 PM, Ted Roche <[email protected]> wrote:
>> And Ctrl-A has more problems: if the box is blank, f'example.
>>
>> The property is SelectOnEntry.
>>
>> On Wed, Nov 8, 2017 at 2:10 PM, Richard Kaye <[email protected]>
wrote:
>>> And what if the user is trying to highlight some specific part of the
number? By automagically applying the select all to mouse clicks, you make
that more difficult to do. Having said that, I've also got similar issues
with users clicking into a number box and not going as far left as they can.
>>>
>>> I also think that there might be something in either Kilofox or Megafox;
the Hentzenwerke books written by the late Marcia Akins, Andy Kramek and
Rick Schummer.
>>>
>>> --
>>>
>>> rk
>>>
>>> -----Original Message-----
>>> From: ProfoxTech [mailto:[email protected]] On Behalf Of 
>>> Ted Roche
>>> Sent: Wednesday, November 08, 2017 2:01 PM
>>> To: [email protected]
>>> Subject: Re: Textbox Highlighting
>>>
>>> KEYBOARD {Ctrl+A} in GotFocus, IIRC.
>>>
>>> On Wed, Nov 8, 2017 at 1:26 PM, John Weller <[email protected]>
wrote:
>>>> I have a textbox which I use to enter money.  ControlSource is a 
>>>> property on the form.  I initialise it to 0000.00 in the form's 
>>>> Init.  If the user tabs into the textbox it is highlighted and any 
>>>> amount can be entered but if they click into the box too close to 
>>>> the right hand edge it will only allow a small amount to be 
>>>> entered.  Is there a setting which will cause the box to be 
>>>> highlighted when clicked in the same way as tabbed?  I'm sure I've seen
one but can't find it.
>>>>
>>>> Thanks
>>>>
>>>> John
>>>>
>>>> John Weller
>>>> 01380 723235
>>>> 07976 393631
>>>>
>>>>
>>>>
>>>>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to