PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Jean-pierre Leroy on April 28, 2010, 10:06:15 AM

Title: TextBox control with WindowsStyles ES_READONLY is locked by default
Post by: Jean-pierre Leroy on April 28, 2010, 10:06:15 AM
Paul,

I don't know if it is intentional or not, but it is not possible to resize a TextBox control with ES_READONLY set with the mouse within the IDE; I have to use the keyboard; it seems that as soon as I set the flag ES_READONLY, the TextBox control is locked.

- Is-it intentional?
- Do we have the same behavior/issue on other controls ?

Jean-Pierre
Title: Re: TextBox control with WindowsStyles ES_READONLY is locked by default
Post by: Brian Chirgwin on April 28, 2010, 10:23:24 AM
I reported this and I believe Paul has already fixed it and will release it in the next update.

Checking Read-Only turns on the Locked property to true in FF.

For now just set Locked to false and you can use the mouse (will not uncheck Read-Only).


Brian
Title: Re: TextBox control with WindowsStyles ES_READONLY is locked by default
Post by: Jean-pierre Leroy on April 28, 2010, 12:03:34 PM
Hi Brian ... you're right I didn't seen at first that you had already reported this bug... my mistake ...

Jean-Pierre
Title: Re: TextBox control with WindowsStyles ES_READONLY is locked by default
Post by: Paul Squires on April 28, 2010, 02:32:46 PM
Today, I was finally able to track down why setting the ES_READONLY style would casue LOCKED = TRUE. It was kind of a holdover from one of my FireFly 2 style template files that I never thought about looking in.

It is all fixed now. The fix will be in the next update.