Print Page | Close Window

Caption: Multiline & vertical alignment

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=16071
Printed Date: 20 May 2024 at 2:53am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Caption: Multiline & vertical alignment
Posted By: Joachim
Subject: Caption: Multiline & vertical alignment
Date Posted: 25 January 2010 at 4:19pm
Hi all,

is it possible to create multiline caption text (left side of the grid) and to set the vertical alignment to top? If yes how can this be achieved? Using release 13.2.1.

Thanks,
Joachim



Replies:
Posted By: Aaron
Date Posted: 26 January 2010 at 2:51pm
Hi,
 
You can
 
propItem.CaptionMetrics.DrawTextFormat = DrawTextSingleLine
 
 
But downside is, IF you are using an icon, the icon isn't aligned same way see post: https://forum.codejock.com/forum_posts.asp?TID=13542 - https://forum.codejock.com/forum_posts.asp?TID=13542
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: Joachim
Date Posted: 26 January 2010 at 3:39pm
Hi Aaron,

I wasn't aware of that one, thanks
And DrawTextWordBreak activates the multiline mode as well.

Do you know if there is a way to adjust the item height when the splitter is moved?

Thanks a lot so far!
Joachim


Posted By: Aaron
Date Posted: 27 January 2010 at 12:45am
Hi,
 
The height isn't resized automatically  Too bad... this would be a nice option to have.
If you are desperate just submit ticket and maybe CJ will implement this, you have my vote
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: Joachim
Date Posted: 27 January 2010 at 6:18am
Hi,

I opened a ticket for this. Let's wait and see ...

Another option would be to change the height e.g. moving the vertical border with the mouse. Don't know if this possible with the current version?



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