I have defined a dialog, holding an Editbox and a couple of buttons. Everything is working fine, and I can use the MyEditBox.Text property, and have some text filled into the editbox.

Yet, there seem to exist one small annoyance here. After the editbox has been filled in, the cursor always land at the end of the text. Not a big deal. The user can simply hit Ctrl-Home, and then start to arrow his way down through the box. And if he has set his screen reader correctly, he will have the whole contents read out automatically, once the editbox gets focus.

Still, I wonder if there is - or could be made available - a routine for placing the cursor at the top of the text, once the editbox has been filled in and things are ready for reading. many users may not find it very logic to start out at the end of the text. Imagine if you was offered to read a book, and they presented you the back cover first thing. Smile.

Any such routine-call existing, or any suggestions for a workaround? OK, I have the idea of one workaround, even if it is a bit simplistic. I could send a Ctrl-Hme command right after the editbox has been getting the focus, but don't know if there is any drawback of doing so. That's why, I wanted to check with other developers what their ideas might be, or if they have fixed it by any means in their coding.

Thanks for all inputs.

--
David

Reply via email to