Board index » cppbuilder » Memo, Label

Memo, Label


2004-12-23 07:49:21 PM
cppbuilder75
Hello:
Is it possible to
1. manipulate Font properties of individual characters in a Label?
2. have Full Justified text in Memo?
Thanks,
Sudesh
 
 

Re:Memo, Label

"Sudesh" < XXXX@XXXXX.COM >wrote in message
Quote
Is it possible to
1. manipulate Font properties of individual characters in a Label?
Not in the native TLabel, no. You would have to derive a new class from
T(Custom)Label and override the DoDrawText() method. Then you can draw the
text anyway you wish.
Quote
2. have Full Justified text in Memo?
Justified in what way exactly?
Gambit
 

Re:Memo, Label

thanks,
aligned to both right and left
sudesh
Quote
>2. have Full Justified text in Memo?

Justified in what way exactly?


Gambit


 

{smallsort}

Re:Memo, Label

"Remy Lebeau (TeamB)" < XXXX@XXXXX.COM >wrote in message
Quote

"Sudesh" < XXXX@XXXXX.COM >wrote in message
news: XXXX@XXXXX.COM ...


>2. have Full Justified text in Memo?

Justified in what way exactly?


Gambit


I think he mean the opposite of AutoSize - spacing the text to fit in the
Label Width
 

Re:Memo, Label

in Memo
sudesh
Quote
I think he mean the opposite of AutoSize - spacing the text to fit in the
Label Width


 

Re:Memo, Label

"Sudesh" < XXXX@XXXXX.COM >wrote in message
Quote
aligned to both right and left
At the same time? Standard Win32 Edit controls (which TEdit, TMemo, and
TRichEdit are based) do not support that.
Gambit