Transposed Grouping |
Post Reply |
Author | |
joeliner
Senior Member Joined: 09 June 2006 Status: Offline Points: 273 |
Post Options
Thanks(0)
Posted: 31 July 2009 at 5:08am |
On the release notes there is a feature i really need to know how to apply it: Transposed Grouping (Column-based) (while existed Grouping is Rows-based)
A sample would help!
Thanks
|
|
Product: Xtreme SuitePro (ActiveX) version 13.1
Platform: Windows XP SP 3 Language: Visual Basic 6 SP6 |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
joeliner
Senior Member Joined: 09 June 2006 Status: Offline Points: 273 |
Post Options
Thanks(0)
|
Is there hope that CJ will implement something like this:
Something like columns within columns. regards, |
|
Product: Xtreme SuitePro (ActiveX) version 13.1
Platform: Windows XP SP 3 Language: Visual Basic 6 SP6 |
|
joeliner
Senior Member Joined: 09 June 2006 Status: Offline Points: 273 |
Post Options
Thanks(0)
|
uploads/20090817_032054_RcPlusMinus_bug.rar
Hi, this feature has a bug when you user savesettings. After savesettings the 'hidden' groups dont show even after you click on plus-minus. see attached project for more info. Then on a cosmetic note, if i wud equate > to + and < to -, then if columns are show, use < else if hidden use > end if :) just my thoughts |
|
Product: Xtreme SuitePro (ActiveX) version 13.1
Platform: Windows XP SP 3 Language: Visual Basic 6 SP6 |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Thanks - this is not bug in feature but in old SaveSetting / LoadSetting functions - I will take a look
You can also use this PlusMinus feature with negative settings - it will show / hide columns LEFT of PlusMinus Column
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Still I am not sure that SaveSettings - LoadSettings is safe way for all cases - e.g. if you call SaveSettings only in Form_Unload
and LoadSettings in Form_Load - it looks safe but if you call LoadSettings after some user steps - you can't be sure that static set of properties will match user expectations
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
About your layout - I think that you can use in this case simple title logic everybody understand:
Customer Address | ..Name | ..Phone | ..Pet | ..Birthday | Supplier Address | ..Name | ..Phone | ..Pet | ..Birthday | ...
like full-qualified name and intenal name inside same qualifier
btw - there is your respond about modified ocx?
as we are going to make release sometimes in September - you all should review current state of control and report now to make some improvements...
[same rule as before - clear isolated test-case with simple VB sample to proof]
for example - I know that some RC properties not covered by SaveSettings - LoadSettings or design-mode PropertyBag but this is in most case minor and developer can always write proper initialization code to be sure that app will run in proper mode.
|
|
mlatona
Senior Member Joined: 19 April 2005 Location: Germany Status: Offline Points: 124 |
Post Options
Thanks(0)
|
Hi Mark,
the report control don`t work correct when I use a negative settings. Not all columns are visible, when I expand the plus minus column.
Regards
Marco
|
|
Product: Xtreme SuitePro (ActiveX) version 13.2.1
Platform: Windows XP Language: Visual Basic 6.0 SP6 |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Are you sure that in the moment you set column#5 - PlusMinus and NextVisualBlock = -2 you already have visible column#4 and column#3?
|
|
mlatona
Senior Member Joined: 19 April 2005 Location: Germany Status: Offline Points: 124 |
Post Options
Thanks(0)
|
Hi, here is a sample. Collapse column 'Q1'. Column 'Jan', 'Feb' and 'May' are hidden. Exand column 'Q1'. Only column 'Jan' and 'Feb' are visible.uploads/20090819_073816_PlusMinusSample.zip
|
|
Product: Xtreme SuitePro (ActiveX) version 13.2.1
Platform: Windows XP Language: Visual Basic 6.0 SP6 |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Thanks
Try this simple code please
Private Sub Form_Load()
With Me.ReportControl1 .ShowGroupBox = True With .Columns.Add(.Columns.Count, "Col1", 100, True) .PlusMinus = True .NextVisualBlock = 2 End With With .Columns.Add(.Columns.Count, "Col2", 100, True) End With With .Columns.Add(.Columns.Count, "Col3", 100, True) .PlusMinus = True .NextVisualBlock = -2 End With With .Records.Add .AddItem "A" .AddItem "B" .AddItem "C" End With .Populate .PaintManager.ColumnPlusMinusSign = True End With |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
If I modify your sample like this - easy to see
Private Sub Form_Load()
With ReportControl1
.Columns.Add 0, "Jan", 50, False .Columns.Add 1, "Feb", 50, False .Columns.Add 2, "Mar", 50, False With .Columns.Add(3, "Q1", 50, False) .PlusMinus = True .NextVisualBlock = -2 End With .Columns.Add 4, "Apr", 50, False .Columns.Add 5, "May", 50, False .Columns.Add 6, "Jun", 50, False With .Columns.Add(7, "Q2", 50, False) .PlusMinus = True .NextVisualBlock = -2 End With .PaintManager.ColumnPlusMinusSign = True .Populate End With End Sub
it works. Will check deep
|
|
mlatona
Senior Member Joined: 19 April 2005 Location: Germany Status: Offline Points: 124 |
Post Options
Thanks(0)
|
Yes, it works, but column 'Jan' is visible when you collapse the column 'Q1' and this is not correct.
|
|
Product: Xtreme SuitePro (ActiveX) version 13.2.1
Platform: Windows XP Language: Visual Basic 6.0 SP6 |
|
mlatona
Senior Member Joined: 19 April 2005 Location: Germany Status: Offline Points: 124 |
Post Options
Thanks(0)
|
Try this code and it works not correct.
With Me.ReportControl1
.ShowGroupBox = True With .Columns.Add(.Columns.Count, "Col1", 100, True) .PlusMinus = True .NextVisualBlock = 2 End With With .Columns.Add(.Columns.Count, "Col2", 100, True) End With With .Columns.Add(.Columns.Count, "Col3", 100, True) End With With .Columns.Add(.Columns.Count, "Col4", 100, True) .PlusMinus = True .NextVisualBlock = -3 End With With .Records.Add .AddItem "A" .AddItem "B" .AddItem "C" End With .Populate .PaintManager.ColumnPlusMinusSign = True End With |
|
Product: Xtreme SuitePro (ActiveX) version 13.2.1
Platform: Windows XP Language: Visual Basic 6.0 SP6 |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Right - fixed - please try now - https://forum.codejock.com/uploads/DemoVersion/ReportControlUpdated.rar
|
|
mlatona
Senior Member Joined: 19 April 2005 Location: Germany Status: Offline Points: 124 |
Post Options
Thanks(0)
|
It works. Thank you. Is it possible, that you add a unicode version in your rar file?
|
|
Product: Xtreme SuitePro (ActiveX) version 13.2.1
Platform: Windows XP Language: Visual Basic 6.0 SP6 |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Ok - get it
|
|
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 |