PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Label control bug?  (Read 408 times)

Anonymous

  • Guest
Label control bug?
« on: August 22, 2005, 10:05:47 AM »

Hi,

I'm just about to create my first form in FF and noticed a strange thing with the Label control. If you change the WindowsStyle to anything else then SS_LEFT strange things start to happen.

First of all in the FF form designer, the control doesn't get unselected, although the next control clicked gets selected and the property list changes. Furthermore, the control gets "transperent" and is "leaking" to show what's in the windows behind. This doesn't just stay within FF, but other applications windows behind can leaks through as well.

Finally, after compiling and the form is shown, the label is just "blank" (but grey) showing no text for the Caption.

The form is in a DLL, if that matters. I haven't tried to make any exe yet.

/Joakim
Logged

Anonymous

  • Guest
Label control bug?
« Reply #1 on: August 22, 2005, 10:14:01 AM »

Hmm, I removed and recreated the label and now all seem to be ok, so far at least. Not sure if it could have anything to do with that the lable previously was the first control created on the form. Well it's just a guess.

I tried a few times but wasn't able to reproduce it again... Will keep an eye open if it happens again...

/Joakim
Logged