Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - PropertyGridItem Alignemt
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

PropertyGridItem Alignemt

 Post Reply Post Reply
Author
Message
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post Topic: PropertyGridItem Alignemt
    Posted: 08 May 2008 at 6:55am
If I set a PropertyGridItem with EditStyle = EditStyleMultiLine and MultiLinesCount = 3 of example, then the Aligment of the PropertyGridItem Caption is VCenter. Is it possible to set it VTopLeft?
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6
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: 09 May 2008 at 12:02am
Hi,
 
Try this:
 
Item.CaptionMetrics.DrawTextFormat = DrawTextVcenter
Strange property though
 
I set the same properties you did and I found that with setting MultiLinesCount = 3 , you can type as many lines as you want. I thought this would prevent the user from typing more than 3 lines, but it isn't ?!?
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
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post Posted: 09 May 2008 at 2:26am
Yes, that's works fine. Thank you!
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6
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.156 seconds.