Print Page | Close Window

Differences between yours MarkupLabel and Label ?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=12742
Printed Date: 05 October 2024 at 7:02pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Differences between yours MarkupLabel and Label ?
Posted By: Jebo
Subject: Differences between yours MarkupLabel and Label ?
Date Posted: 20 November 2008 at 10:42am
Hi CJ-Team,

do I realy need the new "MarkupLabel"?

Or can I still use your Codejock.Label-Control?

What exactly is the difference or advantage if I use MarkupLabel instead of Label-Control with "EnableMarkup"=True ?

Thank you for a better understanding! ;-)




Replies:
Posted By: SuperMario
Date Posted: 20 November 2008 at 12:09pm
Guess main reason is ONLY MarkupLabel allows you to write markup in code, similar to how you would in in WPF.

See the new Markup Sample for more


Posted By: JantjeKeizer
Date Posted: 21 November 2008 at 3:31am
Another simple difference is that the mousewheel actually works :)


Posted By: nighthawk
Date Posted: 01 January 2009 at 2:05pm
The standard Codejock Label has an enableMarkup property.  It is even used in the full page XAML sample.  So both Label and MarkupLabel appear to support markup code.  Is there now no difference between the two controls?

-------------
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0


Posted By: jpbro
Date Posted: 01 January 2009 at 3:11pm
The Label control accepts Markup as strings only, and this can get unwieldy after a while (best for short snippets of Markup). The MarkupLabel has a complete object model for generating your Markup, and it is far superior for more complex situations. Check out my chart demos for examples of how to use the MarkupLabel object model:

http://forum.codejock.com/forum_posts.asp?TID=12332 - http://forum.codejock.com/forum_posts.asp?TID=12332


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6




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