Report Control Header |
Post Reply |
Author | |
LittleJK
Senior Member Joined: 13 April 2006 Status: Offline Points: 168 |
Post Options
Thanks(0)
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 |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
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
|
|
Baldur
Senior Member Joined: 22 November 2006 Location: Germany Status: Offline Points: 244 |
Post Options
Thanks(0)
|
I think, you found a bug.
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
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
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Improved now and use more compact layout
|
|
LittleJK
Senior Member Joined: 13 April 2006 Status: Offline Points: 168 |
Post Options
Thanks(0)
|
So this will be fixed in the next update?
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Try https://forum.codejock.com/uploads/BetaOCX/ReportControlBeta13-2.rar to check new compact algorithm |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |