Question

How can i align the text in a TRichEdit vertically centered. There is a property for aligning paragaph by horizontal but there isn't any property for vertical alignment. I use C++ builder.

Was it helpful?

Solution

TRichEdit is just a wrapper around MS RichEdit component, so you can get a handle and use WinAPI to work with it directly: http://msdn.microsoft.com/en-us/library/bb787873(VS.85).aspx

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top