Print Page | Close Window

How change columnheader height

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=12859
Printed Date: 14 November 2024 at 5:52pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How change columnheader height
Posted By: msotocl
Subject: How change columnheader height
Date Posted: 04 December 2008 at 3:00pm


Hello to all,

i like to know if someone can change like the height of a columnheader

thank very much



Replies:
Posted By: jpbro
Date Posted: 04 December 2008 at 6:25pm
You can use the HeaderHeightFormula object of the PaintManager object to set the header height. For example:


   With Me.wndReportControl.PaintManager
      With .HeaderHeightFormula
         .Multiplier = 5
         .Constant = 0
         .Divisor = 2
      End With
      .RefreshMetrics
   End With


Will make the header 2.5x higher than default. From the documentation:

The MulDivC formula if the following: x = y * Mul / Div + C


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6



Posted By: msotocl
Date Posted: 05 December 2008 at 8:30am

Thank you very much... itīs work








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