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

Report Control Header

 Post Reply Post Reply
Author
Message
LittleJK View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 April 2006
Status: Offline
Points: 168
Post Options Post Options   Thanks (0) Thanks(0)   Quote LittleJK Quote  Post ReplyReply Direct Link To This Post Topic: Report Control Header
    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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Baldur View Drop Down
Senior Member
Senior Member


Joined: 22 November 2006
Location: Germany
Status: Offline
Points: 244
Post Options Post Options   Thanks (0) Thanks(0)   Quote Baldur Quote  Post ReplyReply Direct Link To This Post Posted: 05 November 2009 at 10:10am
I think, you found a bug.
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 10 November 2009 at 1:53pm
Improved now and use more compact layout
Back to Top
LittleJK View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 April 2006
Status: Offline
Points: 168
Post Options Post Options   Thanks (0) Thanks(0)   Quote LittleJK Quote  Post ReplyReply Direct Link To This Post Posted: 10 November 2009 at 5:00pm
So this will be fixed in the next update?
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 12 November 2009 at 7:58pm
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.156 seconds.