TStaticText.BorderStyle is broken
Original Reporter info from Mantis: Ask
-
Reporter name: Alexander S. Klenin
Original Reporter info from Mantis: Ask
- Reporter name: Alexander S. Klenin
Description:
Setting BorderStyle to anything but sbsNone results in incorrect behavior.
Steps to reproduce:
- Create a form
- Put StaticText component on it
2a) Set BorderStyle to sbsSingle
=> Height property is now 65534 (!)
2b) Set BorderStyle to sbsSunken
=> Border area is now not painted at all
(you can see that by e.g. toggling form view on/off)
Additional information:
Tested on Windows XP, this might be a Windows-specific issue.