Differences between yours MarkupLabel and Label ? |
Post Reply |
Author | |
Jebo
Senior Member Joined: 27 October 2005 Location: Germany Status: Offline Points: 318 |
Post Options
Thanks(0)
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! ;-) |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
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 |
|
JantjeKeizer
Groupie Joined: 12 February 2008 Status: Offline Points: 70 |
Post Options
Thanks(0)
|
Another simple difference is that the mousewheel actually works :)
|
|
nighthawk
Senior Member Joined: 11 June 2004 Status: Offline Points: 167 |
Post Options
Thanks(0)
|
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 |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
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 |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |