Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - [SOLVED] Custom Row Height
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] Custom Row Height

 Post Reply Post Reply
Author
Message Reverse Sort Order
Ymer View Drop Down
Newbie
Newbie


Joined: 21 February 2013
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ymer Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] Custom Row Height
    Posted: 22 February 2013 at 8:46pm
Hi, can you help me pleas how to 

Height

headerrows.
Back to Top
Xander75 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 April 2007
Status: Offline
Points: 353
Post Options Post Options   Thanks (0) Thanks(0)   Quote Xander75 Quote  Post ReplyReply Direct Link To This Post Posted: 08 September 2011 at 9:38am
Yes,

Using the following code:

ReportControl.PaintManager.FixedRowHeight = False
ReportControl.SetCustomDraw xtpCustomMeasureRow

This means the ReportControl can now change the row height for all rows or a given row or number of rows.

Private Sub rpcGrid_MeasureRow(ByVal Row As XtremeReportControl.IReportRow, ByVal hdc As stdole.OLE_HANDLE, ByVal Width As Long, Height As Long)
    If (Row.Index = 5 Or Row.Index = 10) Then Height = 42
End Sub

The sample above is only changing the height on rows 5 & 10, remove this and it will change the height for all rows.

Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition
Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6)
Back to Top
Suicidal View Drop Down
Newbie
Newbie


Joined: 19 July 2010
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Suicidal Quote  Post ReplyReply Direct Link To This Post Posted: 02 September 2011 at 12:36pm
Hello,

is there any way to customize row height?


Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.

This page was generated in 0.063 seconds.