Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Differences between yours MarkupLabel and Label ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Differences between yours MarkupLabel and Label ?

 Post Reply Post Reply
Author
Message
Jebo View Drop Down
Senior Member
Senior Member


Joined: 27 October 2005
Location: Germany
Status: Offline
Points: 318
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jebo Quote  Post ReplyReply Direct Link To This Post Topic: Differences between yours MarkupLabel and Label ?
    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! ;-)

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
JantjeKeizer View Drop Down
Groupie
Groupie


Joined: 12 February 2008
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote JantjeKeizer Quote  Post ReplyReply Direct Link To This Post Posted: 21 November 2008 at 3:31am
Another simple difference is that the mousewheel actually works :)
Back to Top
nighthawk View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 June 2004
Status: Offline
Points: 167
Post Options Post Options   Thanks (0) Thanks(0)   Quote nighthawk Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post 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
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.