[SOLVED] First Grouprow not painted correctly |
Post Reply |
Author | |
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
Posted: 08 November 2008 at 6:05am |
Hi,
When dragging column to groupbox, group caption doesn't show correct (see image) The caption is created with Markup in BeforeDrawRow event like this:
Metrics.Text = "<TextBlock>" & rptGroupRow.GroupCaption & " <Bold Foreground='Red'> (" & rptGroupRow.Childs.Count & ") </Bold></TextBlock>"
As you can see the Markup part is OK but the original caption itself isn't...
All other captions work OK but only first one doesn't. Once the RC is resized, row is selected or groupbox is clicked (RC redraw internally...) the first row will be correctly (re)drawn. Thank you
|
|
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.... |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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.... |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Hi, I checked your case and found:
different syntax for markup (may be I don't have something?)
See my snapshot:
This is release 13 ActiveX testing.
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi Mark
This should be output:
The line:
wndReportControl.EnableMarkupFlags = 1 + 2 + 3 + 4
is used because Markup for Metrics doesn't work in V12.1.1 and I had to use V12.1.0 to test this.
EnableMarkupFlags property is removed from ReportControl (see major post also) so you have to use wndReportControl.EnableMarkup = True (V12.1.1)
|
|
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.... |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Fine - this is that I used.
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi Mark,
If you did use wndReportControl.EnableMarkup = True (and you fixed Markup issue) you should have output as my uploaded image. I see your output and it doesn't show Markup for grouprows, yes only the Markup in BeforeDrawRow event (and yes, this works OK).
Thank you
|
|
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.... |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
So far I reached smth similar to your case - see ColumnMarkup snapshot
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi
This issue is solved in V13.0.0
(in V12.1.1 this issue is a bug)
|
|
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.... |
|
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 |