Page 1 of 1

Select all text (Ctrl+a) not working in multi-line Edit control if msgbox is open!

Posted: 21 Oct 2018, 20:41
by User
Why select all text (Ctrl+a) does not work in multi-line Edit control if msgbox is open?

Code: Select all

gui, add, edit, w300 h200, Test `r`nkeep the msgbox open, and press "ctrl+a" in the gui edit control to select all text

gui, show

msgbox, Wait

return


guiclose:	;__________ gui close ________
exitapp

Re: Select all text (Ctrl+a) not working in multi-line Edit control if msgbox is open!

Posted: 22 Oct 2018, 01:41
by Rohwedder
Hallo,
I don't know why not, but that's how it seems to work:

Code: Select all

gui, add, edit, w300 h200, Test `r`nkeep the msgbox open, and press "ctrl+a" in the gui edit control to select all text
gui, show
msgbox, Wait
return
guiclose:	;__________ gui close ________
exitapp
#IfWinActive, ahk_class AutoHotkeyGUI
^a::ControlSend,, ^a

Re: Select all text (Ctrl+a) not working in multi-line Edit control if msgbox is open!

Posted: 22 Oct 2018, 06:19
by User
Rohwedder wrote:
22 Oct 2018, 01:41
.
Thanks for the work around!

That is really strange, maybe it is a bug!