TIP: XAML Markup & Labels |
Post Reply |
Author | |
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
Posted: 10 May 2008 at 6:56pm |
Using markup with the CJ label control is a great way to get rich presentation for your apps, but the XAML strings can get a bit unwieldy (due to their length and internal quotation marks in particular). Here's my solution:
The StrConv call is required because the LoadResData function returns the bytes exactly as they are stored in the file (non-unicode), but VB6 requires unicode strings. Anyway, this might be an obvious route to most of you, but I thought it could be helpful to others. Perhaps you've found a better solution that you can post here? |
|
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 |