Author: Charlie Coleman
Posted: 2001-10-09 at 16:35:14
As one more suggestion, you may want to check out the "SelectOnEntry"
property. I haven't messed with it much myself. I've normally used the
below suggestion. But since the property is there, I thought I'd mention it.
HTH,
-Charlie
>You could do a:
>
>keyboard '{END}'
>keyboard '{HOME}'
>keyboard '{SHIFT+END}'
>
>and it *might* work. I say *might* because there are cases where it doesn't
>work (like having a textbox/editbox contained in a container class that's
>programmatically added to a grid ... in which case NOTHING works to
>auto-select text reliably). I'm sure there are other methods to achieve what
>you want, but my brain is mush at the moment having had the pleasure of
>debugging a chain of MS Exchange Servers all morning (F#*&!!##KIN#@##@!).
>
>- AHilton
>
> > Ok, I've got an editbox with Format="K" and it's not selecting
> > all the text
> > when I set focus to the box!!! Argh!
> >
> > How can I programatically do this in the GotFocus event of the editbox???
> >
> > TIA,