![]() |
Multiline grid item |
Post Reply
|
| Author | |
farr02
Groupie
Joined: 10 May 2005 Status: Offline Points: 51 |
Post Options
Thanks(0)
Quote Reply
Topic: Multiline grid itemPosted: 30 August 2005 at 4:53am |
|
Hello,
is there a way to display multiline text values not only in the value field but also in the name field (aka the left column) of the property-grid? Best regards, Holger |
|
![]() |
|
farr02
Groupie
Joined: 10 May 2005 Status: Offline Points: 51 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 October 2005 at 8:24am |
|
Hi,
big thanks to Oleg. He gave me the answer:-) This feature is already implemented in v9.80: pItem = pMetrics->AddChildItem(new CXTPPropertyGridItem(_T(""), _T("Just one line"))); pItem->SetMultiLinesCount(3); pItem->SetCaption(_T("Line1\r\nLine2\r\nLine3")); pItem->GetCaptionMetrics()->m_uDrawTextFormat = DT_WORDBREAK; // 16 Bye Holger |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |