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 tedroche@gmail.com 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 rkaye@invaluable.com 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:profoxtech-bounces@leafe.com] On Behalf Of Ted Roche Sent: Wednesday, November 08, 2017 2:01 PM To: profoxtech@leafe.com Subject: Re: Textbox Highlighting
KEYBOARD {Ctrl+A} in GotFocus, IIRC.
On Wed, Nov 8, 2017 at 1:26 PM, John Weller john@johnweller.co.uk 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]