Skip to main content Skip to footer

RTL Support In C1SuperTooltip

ComponentOne SuperTooltip for WinForms allows you to create visually rich WinForms applications with Vista-style ToolTips and labels that can display HTML content. C1SuperTooltip supports virtually all HTML constructs, including cascading style sheets, mixed fonts and text colors, preformatted text, tables, bulleted and numbered lists, and more. Even with these rich set of customization, only missing link in this control was the support for RTL (RightToLeft) feature. This feature is useful with the languages read from right-to-left. Since most of the controls in Studio for Winforms support RTL feature & after requests from our customers using this control, support for RTL was introduced in C1SuperTooltip**.**

Implementation of RTL

The ToolTip Text for C1SuperTooltip now supports the Dir attribute & you need to provide the value RTL to enable the feature. You can try the implementation using the given HTML markup under the Html tab in C1SuperToolTip Editor.


<table><tr>  
<td><parm><img src='res://TextBox.bmp'></parm></td>  
<td><b><parm>View C1SuperToolTip</parm></b></td>  
</tr></table>  
<parm></parm>  
<div style='margin:1 12' DIR='RTL'><parm>  
English Numbers : <br>  
0     1     2     3     4     5     6     7     8     9  
<br>  
<br>  
Arabic Numerals :<br>  
0     ౧     ౨     ౩     ౪     ౫     ౬     ౭     ౮     ౯  
</parm></div>  
<parm></parm>  
<table><tr>  
<td><parm><img src='res://Access.bmp'></parm></td>  
<td><b><parm>RTL Support</parm></b></td>  
</tr></table>  

Screenshot for C1SuperTooltip Text Editor: Screenshots below display the differences in the tooltips with & without the use of Dir attribute :

This feature is available in C1SuperTooltip from the build 2/4.0.20122.108 onward. You can run C1Live utility to update to the latest build or you may download the latest C1SuperTooltip builds from the following links: http://prerelease.componentone.com/dotnet20/C1SuperTooltip/2012-T2/ http://prerelease.componentone.com/dotnet40/C1SuperToolTip/2012-T2/ Refer to the attached sample for complete implementation. Download Sample

MESCIUS inc.

comments powered by Disqus