Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Shortcut Bar
  New Posts New Posts RSS Feed - Obtaining ForeColor when using VisualThem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Obtaining ForeColor when using VisualThem

 Post Reply Post Reply
Author
Message
John31 View Drop Down
Groupie
Groupie
Avatar

Joined: 08 December 2005
Location: United States
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote John31 Quote  Post ReplyReply Direct Link To This Post Topic: Obtaining ForeColor when using VisualThem
    Posted: 12 June 2006 at 5:01pm

I have a shortcut bar with a label control overlayed at the end of it.  I am trying the set the forecolor of this label control to match the shortcut bar forecolor. 

When using the new VisualTheme the reported forecolor is not correct.  Is there a way to obtain the actual forecolor used by the shortcut bar when a specific theme is used.

For example:

Using this code:

SC1.VisualTheme = xtpShortcutThemeOffice2007
        
lblFilter.ForeColor = SC1.ForeColor
lblClear.ForeColor = SC1.ForeColor

If you look at the SC1.ForeColor it is 536870911 which is not a valid color.

Thoughts?

Regards

John Layton
Back to Top
John31 View Drop Down
Groupie
Groupie
Avatar

Joined: 08 December 2005
Location: United States
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote John31 Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2006 at 10:52am
Can someone at CJ please point me in the right direction or just tell it's a bug?
Regards

John Layton
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.156 seconds.