Print Page | Close Window

TrackControl-How to change Block Caption's color?

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=19552
Printed Date: 30 November 2024 at 9:55am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TrackControl-How to change Block Caption's color?
Posted By: wsun
Subject: TrackControl-How to change Block Caption's color?
Date 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.




Replies:
Posted By: Xander75
Date 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)


Posted By: Xander75
Date 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)


Posted By: wsun
Date Posted: 11 June 2012 at 3:20am
Hi,

Yes, it is works. I got it. Thank you very much.Smile



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