Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - RowHeight and Grouping.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

RowHeight and Grouping.

 Post Reply Post Reply
Author
Message
keepITcool View Drop Down
Groupie
Groupie
Avatar

Joined: 08 April 2009
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote keepITcool Quote  Post ReplyReply Direct Link To This Post Topic: RowHeight and Grouping.
    Posted: 18 April 2009 at 6:17am

I'm getting to grips with various CJ controls... sometimes the hard way.

RowHeight: How do I control the rowheight? That goes for normal rows, but group rows in particular. I'm using office themes for coloring and shading but I'm not sure if and how these influence rowheight. For now I just want to get rid of these oversized group rows.

Grouping: I'm struggling with "ShowItemInGroups" (at runtime)  I found it late, but it's exactly what I needed.

.HideColumnAfterGroupBoxDrop = True appears to be ignored when grouping is handled by ShowItemsInGroup.
I can and apparently must do it myself for which I need GroupingOrderChangedEx event. Nice there's no documention for that.

First hing I notice is that only the Added column fires an event. I had expected it to first fire an event for the column dropped.
Thus I have to store the hidden column in my own variable. What an f***ing nuisance.

BTW: Overall I'm quite happy with the controls. Report performance is very good!.
BUT: Learning curve is pretty steep and the helpfile sucks. It's directed at individual methods and properties but there's hardly any overview of how the various settings work in combination. So finding out how to make the controls behave like you want is too much trial & error.   Then there's the technical issues with the helpfile itself. The "Location" is not precise. So in the search pane all controls are listed with "Xtrme Suite ActiveX Controls " and you''ve got to browse thrue the list. I find myself swapping between helpfile and object browser to find stuff. Pressing help from inside the code, will almost always bring up the wrong topic.

To paraphrase Paul Sr. from OCC: "I'm getting aggravated here".

Xtreme :SuitePro (ActiveX) version 13.1.0
Language: VB 6.0
Platform: WinXP/Win7(32+64bit)
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: 20 April 2009 at 1:18pm
Hi,
 
You are right about help file. I don't use it often but when I do, most of the time when I'm having really big problems, it will raise another question...
 
Well for your issues:
 
  1. RowHeight
    • set wndReportControl.SetCustomDraw  xtpCustomMeasureRow 
    • Private Sub wndReportControl_MeasureRow(ByVal Row As XtremeReportControl.IReportRow, ByVal hDC As stdole.OLE_HANDLE, ByVal Width As Long, Height As Long)
          If Row.GroupRow Then
              Height = 20
          End If
      End Sub
  2. Grouping
    • You found it yourself???
  3. GroupingOrderChange Event
    • You need GroupingOrderChangeEventEx
  4. ColumnOrderChange Event
    • You need ColumnOrderChangeEventEx
  5. There is always this forum
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
 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.