Einzelnen Beitrag anzeigen

Benutzerbild von toms
toms
(CodeLib-Manager)

Registriert seit: 10. Jun 2002
4.648 Beiträge
 
Delphi XE Professional
 
#2

Re: Virtual Treeview - manueller Zeilenumbruch in Zelle

  Alt 20. Jul 2008, 16:56
Hallo

Hier eine Antwort auf die Frage "Breaking text with #13#10 in Text?" von Mike Lischke aus seinem Forum:

Zitat:
Well, the problem is with the used APIs. In VirtualTrees.pas there is a DrawTextW implementation that deals with embedded new line chars. However this does not handle automatic word break. So on Windows NT/2k/XP I use the built-in API (Unicode is needed), which obviously does not handle hard line breaks then (although I expected it to work).

You can file a bug report if you think this is a serious limitation. Interestingly enough, so far nobody else missed hard line breaks.
Thomas
  Mit Zitat antworten Zitat