[ Fixed ] Weird behaviour when selecting text

Tell us if the software is behaving badly

Moderator: poiko

Post Reply
AlfaGTV
Bronze
Bronze
Posts: 65
Joined: Wed Aug 15, 2007 11:49 am
Contact:

[ Fixed ] Weird behaviour when selecting text

Post by AlfaGTV » Thu Aug 03, 2017 12:34 am

Hi!
I need to get this off my chest! :wink: No biggie but it would be highly appreciated if it could be solved!
I usually edit a lot of files and use both the mouse to select and the keyboard to edit.
A major problem is that when you click and hold, and select a part of, say, the artist name. When you release the mouse button ALL of the text in this particular field becomes selected. This means any input clears this field... :cry:
Many bad words has been spoken during my years with EZ CD Audio Converter when this happens!
You need to click once in the field, and then you can click and hold to select part of the content.

User avatar
poiko
Site Admin
Site Admin
Posts: 3822
Joined: Sat Mar 11, 2006 8:31 pm
Location: https://www.poikosoft.com
Contact:

Re: Weird behaviour when selecting text

Post by poiko » Fri Aug 04, 2017 4:30 pm

Just fixed it

Changed
pEdit->SelectAll();
to
if(!pEdit->SelLength) pEdit->SelectAll();
Which means that it does not select all text in the field if you have selected some of the text with your mouse. But select all text when you just click on the edit control.

:D

AlfaGTV
Bronze
Bronze
Posts: 65
Joined: Wed Aug 15, 2007 11:49 am
Contact:

Re: [ Fixed ] Weird behaviour when selecting text

Post by AlfaGTV » Sat Aug 05, 2017 11:21 pm

Excellent!
Great support and feedback as usual!
Regards /Mike

Post Reply