multiline tab-caption |
Post Reply |
Author | |
codschock
Newbie Joined: 21 December 2008 Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 12 June 2009 at 4:12am |
Hello,
Is it possible to set a multiline tab-caption, i.e. \n does not work, isnt it? ------------- ------------ --------------- | Fish & | Beer & | Sweets | | Food | Drinks | | ------------- ------------ ------------- ----------------------------------------- | | | | | | | | | | | | | | | | ----------------------------------------------------------------------------------- Regards Frank |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
You can use the <LineBreak/> tag in Markup in order to have multiple line tab captions.
Something like:
Note that the margin calculation I provided is only good for 2 lines of text, and only if your form font is the same as your TabControl button font. Also note that this is relatively untested code that is intended for demonstration purposes (you are free to use it any way you please, but there may be bugs so please test it thoroughly!) |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
codschock
Newbie Joined: 21 December 2008 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
You are a very good programmer, jpbro! Thank you!
|
|
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 |