Print Page | Close Window

Multiline grid item

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=2815
Printed Date: 15 June 2024 at 10:52pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Multiline grid item
Posted By: farr02
Subject: Multiline grid item
Date Posted: 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




Replies:
Posted By: farr02
Date 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





Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net