Print Page | Close Window

RTL(RightToLeft) support for Markup tooltip style

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=17148
Printed Date: 01 May 2025 at 1:03pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: RTL(RightToLeft) support for Markup tooltip style
Posted By: Xiaoling
Subject: RTL(RightToLeft) support for Markup tooltip style
Date Posted: 23 August 2010 at 4:52pm
Hi,
 I am trying to support RightToLeft for Markup tooltip style on commandbars and put FlowDirection='RightToLeft' on the markup string, but Codejock doesn't seem to know how to handle this. Does anyone know how to support RTL for this?
 
 I added FlowDirection='RightToLeft' into the markup string from TooltipContext sample, but this doesn't work.
 Any help is appreciated.
 

strHTML.Format(

_T("<StackPanel FlowDirection='RightToLeft' Margin='1' MaxWidth='200' >")

_T("<TextBlock Padding='1, 3, 1, 3' FontWeight='Bold'>%s</TextBlock>")

_T("<TextBlock Padding='9, 6, 30, 7' TextWrapping='Wrap'>%s</TextBlock>")

_T("<Border Height='1' Background='#9ebbdd' />")

_T("<Border Height='1' Background='White' />")

_T("<StackPanel Margin='1, 7, 0, 3' Orientation='Horizontal'>")

_T("<Image Source='res://Help.ico'/><TextBlock Margin='7, 0, 0, 0' VerticalAlignment='Center' FontWeight='Bold'>Press F1 for more help.</TextBlock>")

_T("</StackPanel>")

_T("</StackPanel>"),

strCaption, strDesc, (LPCTSTR)lpszModule);




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