Print Page | Close Window

DrawTextVcenter not working

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=22780
Printed Date: 21 November 2024 at 9:21am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: DrawTextVcenter not working
Posted By: tjsivies
Subject: DrawTextVcenter not working
Date Posted: 11 November 2015 at 12:28am
I am trying to vertically center the Caption text on an item in a Property Grid.
It is not working as you can see from the top ITEM shown below.
This is what I am using :-
Item.Height = 97
Item.CaptionMetrics.DrawTextFormat = DrawTextVcenter + DrawTextWordBreak

I have tried this in 15.3.1 and also in 16.4.0 but both the same.
Does anyone have any solution for this?
or has it been fixed in v17 beta?


-------------
Xtreme SuitePro (ActiveX) version 18.3.0

Windows 7 (64bit)

Visual Basic 6.0 SP6



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