Print Page | Close Window

Report Control Header

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=15447
Printed Date: 16 September 2024 at 7:32pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Report Control Header
Posted By: LittleJK
Subject: Report Control Header
Date Posted: 24 October 2009 at 2:11pm
We are starting to compare our production app which is running 12.2 verse the newer/newest versions 13.1 and 13.2.

We have a question about headers being resized during a sort. In 12.2 our columns that were just wide enough to show the full text would reduce down to showing the abbreviation and the sort indicator.  example Room# would become Roo... ^


After we upgraded, the sort indicator does not show up because the column is not wide enough and that the column header does not abbreviate to Roo... ^
Is there a new property or do we have to have a custom sort chevron to reduce down

our report control properties are this:

With Report
        .EnableMarkup = True
        .FreezeColumnsAbs = True
        .FullColumnScrolling = False
        .Icons = ImageList.Icons
        .MovePivot = True
        .PaintManager.CaptionFont.Size = 9
        .PaintManager.ColumnStyle = xtpColumnOffice2007
        .PaintManager.ColumnWidthWYSIWYG = True
        .PaintManager.DrawGridForEmptySpace = False
        .PaintManager.DrawSortTriangleAlways = True
        .PaintManager.FixedInplaceButtonHeight = True
        .PaintManager.FixedRowHeight = False
        .PaintManager.FreezeColsDividerColor = RGB(236, 233, 215)
        .PaintManager.FreezeColsDividerStyle = xtpReportFreezeColsDividerThin
        .PaintManager.GroupIndentColor = RGB(223, 234, 250)
        .PaintManager.HotTracking = True
        .PaintManager.PreviewTextFont.Size = 9
        .PaintManager.ShadeGroupHeadings = True
        .PaintManager.TextFont.Size = 9
        .PaintManager.ThemedInplaceButtons = True
        .ReactivateOnSetFocus = True
        .SelectionEnable = bAllowSelection
        .ShowFooterRows = True
        .ShowHeaderRows = True
        .ShowRowFocus = bAllowSelection
        .SkipGroupsFocus = False
        .ToolTipContext.Style = xtpToolTipRTF
    End With



Replies:
Posted By: mdoubson
Date Posted: 26 October 2009 at 7:05pm
  enum
  {
   [helpcontext(5514)] xtpReportDrawSortTriangleDefault        = 0,
   [helpcontext(5514)] xtpReportDrawSortTriangleAlways         = 1,
   [helpcontext(5514)] xtpReportDrawSortTriangleNever          = 2
  } XTPReportDrawSortTriangleStyle;
so if you want save space for text - use
.PaintManager.DrawSortTriangleStyle = xtpReportDrawSortTriangleNever
and
.PaintManager.DrawSortTriangleAlways = False


-------------
Mark Doubson, Ph.D.


Posted By: Baldur
Date Posted: 05 November 2009 at 10:10am
I think, you found a bug.


Posted By: mdoubson
Date Posted: 09 November 2009 at 5:39pm

Try to use PaintManager.DrawSortTriangleStyle = xtpReportDrawSortTriangleAlways

I will look in algo to make it better.
Btw - you use default setting PaintManager.DrawSortTriangleStyle = xtpReportDrawSortTriangleDefault
It means - show sorting trianlge only if we have enough space


-------------
Mark Doubson, Ph.D.


Posted By: mdoubson
Date Posted: 10 November 2009 at 1:53pm
Improved now and use more compact layout

-------------
Mark Doubson, Ph.D.


Posted By: LittleJK
Date Posted: 10 November 2009 at 5:00pm
So this will be fixed in the next update?


Posted By: mdoubson
Date Posted: 12 November 2009 at 7:58pm

Try https://forum.codejock.com/uploads/BetaOCX/ReportControlBeta13-2.rar - https://forum.codejock.com/uploads/BetaOCX/ReportControlBeta13-2.rar  to check new compact algorithm



-------------
Mark Doubson, Ph.D.



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