Print Page | Close Window

How can MarkupElement be updated on idle?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: MarkupLabel Control
Forum Description: Topics Related to Codejock MarkupLabel Control
URL: http://forum.codejock.com/forum_posts.asp?TID=17668
Printed Date: 23 November 2024 at 3:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How can MarkupElement be updated on idle?
Posted By: zitz
Subject: How can MarkupElement be updated on idle?
Date Posted: 14 December 2010 at 2:12am
I want to make a toolbar with Markup. Is it possible?

-------------
Xtreme ToolkitPro v13.1.0, static, VC++6



Replies:
Posted By: Oleg
Date Posted: 15 December 2010 at 3:07am
Hi,

You can add label that supports markup:

CXTPControlMarkupLabel* pLabel = new CXTPControlMarkupLabel();
pLabel->SetCaption(_T("<TextBlock TextAlignment='Center'><Underline>This is</Underline><LineBreak/><Bold>Markup</Bold> <Run Foreground='Red'>Label</Run><LineBreak/><Italic>Control</Italic></TextBlock>"));




-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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