TextBox

The place for threads about TimoSoft EditControls.
Post Reply
User avatar
Mex
Captain
Posts: 130
Joined: 24 Sep 2009, 19:47

TextBox

Post by Mex »

Hi Timo

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

Is this a bug or feature :)?


Alles gute;
Meelis
User avatar
TiKu
Administrator
Administrator
Posts: 832
Joined: 28 Sep 2004, 21:10
Location: München
Contact:

Re: TextBox

Post 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.
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
User avatar
TiKu
Administrator
Administrator
Posts: 832
Joined: 28 Sep 2004, 21:10
Location: München
Contact:

Re: TextBox

Post 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.
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
User avatar
Mex
Captain
Posts: 130
Joined: 24 Sep 2009, 19:47

Re: TextBox

Post by Mex »

Hi

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

What am i doing wrong?


Meelis
User avatar
TiKu
Administrator
Administrator
Posts: 832
Joined: 28 Sep 2004, 21:10
Location: München
Contact:

Re: TextBox

Post 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.
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
Post Reply