Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - How change columnheader height
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How change columnheader height

 Post Reply Post Reply
Author
Message
msotocl View Drop Down
Groupie
Groupie


Joined: 05 March 2008
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote msotocl Quote  Post ReplyReply Direct Link To This Post Topic: How change columnheader height
    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
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
msotocl View Drop Down
Groupie
Groupie


Joined: 05 March 2008
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote msotocl Quote  Post ReplyReply Direct Link To This Post Posted: 05 December 2008 at 8:30am

Thank you very much... itīs work





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.