Board index » cppbuilder » label text
Jurgen
CBuilder Developer |
Jurgen
CBuilder Developer |
label text2007-02-27 10:25:04 AM cppbuilder79 Hi, Does anyone know of a label component that has orientation as a property? I need a label that I can rotate by 90 degrees. Best Regards Jurgen |
JD
CBuilder Developer |
2007-02-27 09:14:31 PM
Re:label text
"Jurgen" < XXXX@XXXXX.COM >wrote:
Quote
each line. If using a reader, please locate and set some option for the line length/width/limit. Thanks! QuoteDoes anyone know of a label component that has orientation www.tamaracka.com/search.htm There are 2 ways to do it. One is to create a font that is rotated and the other is to set the TLabel's properties to accomplish the look of a rotated label. Set it's Width to a small value such as TextWidth( "W" ) and allow it to AutoSize and WordBreak. Then just change the Caption to include spaces. For example, change: "My Label Caption" to "M y L a b e l C a p t i o n" ~ JD |