Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - [SOLVED] Metrics.Font.Bold = True
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] Metrics.Font.Bold = True

 Post Reply Post Reply
Author
Message
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Willowmaster View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 July 2010
Location: Netherlands
Status: Offline
Points: 180
Post Options Post Options   Thanks (0) Thanks(0)   Quote Willowmaster Quote  Post ReplyReply Direct Link To This Post 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



Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post 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. 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.158 seconds.