Print Page | Close Window

CXTButton and multiline text

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=13933
Printed Date: 22 June 2025 at 8:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTButton and multiline text
Posted By: YMHiK
Subject: CXTButton and multiline text
Date Posted: 06 April 2009 at 2:13pm
I have CXTButton which has icon defined and text using BS_XT_TWOROWS style. Also, assigned button text has line breaks and they do show up on button. The text itself is shown as one line.

Does anybody have suggestion for this problem?



Replies:
Posted By: Oleg
Date Posted: 07 April 2009 at 1:17am
Hi,
 
CXTButton doesn't support Multline text.  Try CXTPButton instead with BS_MULTILINE style.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: YMHiK
Date Posted: 07 April 2009 at 4:05pm
Thank you! It does help. Here is another question for you. Is there an equivalent of SetButtonFace() of CXTButton for CXTPButton?



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