Print Page | Close Window

Markup Text - How to excape characters

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=12692
Printed Date: 23 June 2025 at 3:19pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Markup Text - How to excape characters
Posted By: pbergeot
Subject: Markup Text - How to excape characters
Date Posted: 16 November 2008 at 9:41pm
I need to create a markup text which has the following 3 requirements.

1> I can include the character '<' in the text portion (so I need to escape it somehow but I couldn't find out how).

2> The text portion must wrap on resize.

3> The text portion must have some bolded and non-bolded parts.

For example, I need to create the following string as markup:

If the Chicken is < than the Road it must cross the Road

(in wrapable mode)

It seems that I can align 2 out of these 3 conditions but not the 3 together. Can someone help?

Thank you.



Replies:
Posted By: Oleg
Date Posted: 17 November 2008 at 8:44am
Hi,
 
You can replace < to &gt; in text.


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


Posted By: mgampi
Date Posted: 18 November 2008 at 8:23am
Originally posted by oleg oleg wrote:

Hi,
 
You can replace < to &gt; in text.


Shouldn't it be &lt for <?


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022


Posted By: Oleg
Date Posted: 19 November 2008 at 5:26am
Maybe :)
 
2 https://forum.codejock.com/member_profile.asp?PF=4573&FID=112 - pbergeot : or even better use Text property:
 
<TextBlock> <Run Text = "text>text"/>  <Run Text = "text>text"/> </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