|  | 
| [SOLVED] Metrics.Font.Bold = True | 
| Post Reply   | 
| Author | |
| McKloony   Senior Member     Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |  Post Options  Thanks(0)  Quote  Reply  Topic: [SOLVED] Metrics.Font.Bold = True Posted: 13 July 2013 at 6:08am | 
| 
   If ".VisualTheme = xtpReportThemeOffice2013" and "Metrics.Font.Bold = True" then "Metrics.ForeColor = xxx" has no effect! Ist this a bug?
    | |
| 
     Product: Xtreme SuitePro (ActiveX) 16.2.5 Platform: XP / Windows 7 Language: Visual Basic 6.0 SP6 | |
|  | |
| McKloony   Senior Member     Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |  Post Options  Thanks(0)  Quote  Reply  Posted: 13 July 2013 at 11:49am | 
| 
   Is that still nobody noticed that, "RecordItem.ForeColor = xxx" also has no effect if "RecordItem.Bold = True"??? Try to do it with the VB ReportControl sample.
    | |
| 
     Product: Xtreme SuitePro (ActiveX) 16.2.5 Platform: XP / Windows 7 Language: Visual Basic 6.0 SP6 | |
|  | |
| Willowmaster   Senior Member     Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |  Post Options  Thanks(0)  Quote  Reply  Posted: 15 October 2013 at 6:46am | 
| 
   If you use RecordItem.ForeColor = xxx then you need to call .Redraw to show the changes I think. But don't call it within the BeforeDrawRow event. That will trigger an infinite loop.
    | |
| 
     Product: Xtreme SuitePro (ActiveX) version 15.3.1  Platform: Windows XP (32bit) - SP 3 (on VMWare) Language: Visual Basic 6.0 | |
|  | |
| SuperMario   Senior Member     Joined: 14 February 2004 Status: Offline Points: 18057 |  Post Options  Thanks(0)  Quote  Reply  Posted: 04 December 2013 at 10:36am | 
| 
   Check your issues, a possible fix has been added.
 This patch will also allow group row to be changed and also by default changes the selected row highlight/backcolor.  You will need to check for selected row now if you dont want to change it.     If Row.Selected = False Then         Metrics.BackColor = vbGreen     End If | |
|  | |
| SuperMario   Senior Member     Joined: 14 February 2004 Status: Offline Points: 18057 |  Post Options  Thanks(0)  Quote  Reply  Posted: 04 December 2013 at 4:01pm | 
| 
   If you guys can confirm this patch resolves all your issues we can get an update out.  I'd like to be sure all scenarios were addressed.
    | |
|  | |
| SuperMario   Senior Member     Joined: 14 February 2004 Status: Offline Points: 18057 |  Post Options  Thanks(0)  Quote  Reply  Posted: 05 December 2013 at 9:52am | 
| 
   The zip that is attached to you issues has been updated.   Added 2 properties BoldText and BoldTextHighlight. These were colors used internally and not accessible to COM.
    | |
|  | |
| olebed   Senior Member   Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |  Post Options  Thanks(0)  Quote  Reply  Posted: 06 April 2015 at 2:09pm | 
| 
   
I'm glad to inform you that the issue has been fixed. The fix will be available in the next beta or final release. Once you have an update installed, please make sure everything works as  expected, let me know if there are any issues left. | |
|  | |
| 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 |