Author: A Hilton
Posted: 2001-10-09 at 20:16:04
> I'd like to suggest using SelStart and SelLength. I just
The problem, as I vaguely remember it, wasn't that the text wasn't actually
selected (using the selectonentry property for when the user keyboards onto
the control; using the KEYBOARD commands within the Gotfocus event when the
user mouses onto the control) but the visual blue-text-selected-clue wasn't
there showing the user that all the text was, indeed, selected but only when
the user keyboarded onto the control. The control showed all text selected
correctly when the user would mouse to it though. The control simply showed
no visual clues at all that it had focus. I tried using the
SelStart/SelLength stuff too and it behaved the same way.
I believe I got around that particular problem by manually changing the
backcolor property of the control during gotfocus and changing it back again
in lostfocus.
I had all kinds of problems with this clients' UI demands (seeing many
fields for each record in a grid at the same time without horizontal
scrolling) on this form. It was a fun one!
- AHilton