Print Page | Close Window

[SOLVED] First Grouprow not painted correctly

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=12641
Printed Date: 22 November 2024 at 5:53am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] First Grouprow not painted correctly
Posted By: Aaron
Subject: [SOLVED] First Grouprow not painted correctly
Date 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....



Replies:
Posted By: Aaron
Date Posted: 20 January 2009 at 3:27pm
Hi,
 
Here is test project...
 
https://forum.codejock.com/uploads/20090120_152650_TestGrouprowCap.zip - uploads/20090120_152650_TestGrouprowCap.zip
 
 


-------------
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....


Posted By: mdoubson
Date Posted: 21 January 2009 at 11:46pm
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. 


Posted By: Aaron
Date Posted: 22 January 2009 at 12:57am
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....


Posted By: mdoubson
Date Posted: 22 January 2009 at 1:24am
Fine - this is that I used.


Posted By: Aaron
Date Posted: 22 January 2009 at 1:46am
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....


Posted By: mdoubson
Date Posted: 22 January 2009 at 10:58pm
So far I reached smth similar to your case - see ColumnMarkup snapshot
 
 


Posted By: Aaron
Date Posted: 10 February 2009 at 1:34pm
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....



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