Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - TrackControl-How to change Block Caption's color?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

TrackControl-How to change Block Caption's color?

 Post Reply Post Reply
Author
Message
wsun View Drop Down
Groupie
Groupie


Joined: 11 January 2012
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote wsun Quote  Post ReplyReply Direct Link To This Post Topic: TrackControl-How to change Block Caption's color?
    Posted: 06 March 2012 at 9:15pm
Hi,
Can anyone help me to solve my problem? Is it possible to change the color for Block Caption?


Thanks for the help.

Back to Top
Xander75 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 April 2007
Status: Offline
Points: 353
Post Options Post Options   Thanks (0) Thanks(0)   Quote Xander75 Quote  Post ReplyReply Direct Link To This Post Posted: 02 April 2012 at 4:48am
I don't think this is currently possible.

I have an open request (opened on Friday 30th of March 2012) for a few enhancements for this TrackControl these are as follows:
1. Blocks: Font interaction i.e. Alignment, Color, Font Size & Type etc
2. Markers: Added ability to freeze the markers so the user cannot change the position.
3. If possible even a secondary block within a block something like a progressbar to allow this to show the percentage of a task that's complete.
4. Extra functionality within the TimeLineLabel event to allow for a double row header, currently this only allows single row captions.

So I am hoping there can be a quick turnaround on some of these.
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition
Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6)
Back to Top
Xander75 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 April 2007
Status: Offline
Points: 353
Post Options Post Options   Thanks (0) Thanks(0)   Quote Xander75 Quote  Post ReplyReply Direct Link To This Post Posted: 02 May 2012 at 5:28am
Hi,

I haven't had any response to my support ticket, but I have since discovered that this can be done by using Markup!

Set EnableMarkUp to equal True, then using markup you can alter the Block text color, font, size and more...

Block.Caption = "<TextBlock Cursor='Hand' FontFamily='Segoe UI' Foreground='#FFFFFF' TextAlignment='Center' TextTrimming='CharacterEllipsis'>Your Text Goes Here</TextBlock>"
          
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition
Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6)
Back to Top
wsun View Drop Down
Groupie
Groupie


Joined: 11 January 2012
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote wsun Quote  Post ReplyReply Direct Link To This Post Posted: 11 June 2012 at 3:20am
Hi,

Yes, it is works. I got it. Thank you very much.Smile
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.154 seconds.