Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - Caption: Multiline & vertical alignment
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Caption: Multiline & vertical alignment

 Post Reply Post Reply
Author
Message
Joachim View Drop Down
Newbie
Newbie


Joined: 25 January 2010
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Joachim Quote  Post ReplyReply Direct Link To This Post Topic: Caption: Multiline & vertical alignment
    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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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
 
 
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....
Back to Top
Joachim View Drop Down
Newbie
Newbie


Joined: 25 January 2010
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Joachim Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
Joachim View Drop Down
Newbie
Newbie


Joined: 25 January 2010
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Joachim Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.