Page 1 of 1

TextBox

Posted: 26 Nov 2009, 12:12
by Mex
Hi Timo

In TextBox does not work Ctrl+A (Select all)

Is this a bug or feature :)?


Alles gute;
Meelis

Re: TextBox

Posted: 27 Nov 2009, 23:56
by TiKu
It works if the MultiLine property is set to False. I'll have to setup a C++ test project before I can tell whether this is a bug of my controls or the default behavior of the native edit control.

Re: TextBox

Posted: 28 Nov 2009, 15:22
by TiKu
Checked that. The native edit control behaves the same: Ctrl+A selects all text in single-line mode and does nothing in multi-line mode. So my control behaves correctly.

Re: TextBox

Posted: 16 Dec 2009, 10:36
by Mex
Hi

I can't get Ctrl+a to work also with Multiline=False

What am i doing wrong?


Meelis

Re: TextBox

Posted: 17 Dec 2009, 09:01
by TiKu
You are using Windows XP, right? I did some checks and found out that on XP the native behavior is to not handle Ctrl+A at all. On Windows 7 (and probably also on Vista) the native behavior is to handle Ctrl+A for single-line edit controls.