Browse by Tags

Tagged Content List
  • Blog Post: RightToLeftAutoMirrorImage, what’s that?

    It’s a mouthful, but we wanted to provide descriptive words for this property. This property is in the Strip controls, the MenuStrip , ToolStrip , StatusStrip , and ContextMenuStrip controls, in WinForms. When you set RightToLeft=Yes , your strip control items are automatically rearranged from...
  • Blog Post: Detecting RTL Cultures

    When you develop Arabic\English applications you are bound to change you may change the Forms direction to rtl, programmatically at runtime or (1) according to user settings or (2) according to the detected OS culture. According to user settings is straightforward but what about change it according to...
  • Blog Post: Text Rendering

    There are numerous classes presented by GDI+ and GDI for rendering text on Windows Forms. The GDI+ Graphics class has several DrawString methods that allow you to specify various features of text, such as location, bounding rectangle, font, and format. In addition, you can draw and measure text with...
  • Blog Post: Enabling ASP.NET site for RTL

    I had a question from a friend about how to enable an ASP.NET site for right-to-left languages. I know what needs to be done and I published, over the years, some useful resources and small bit and pieces but I started of with Bing. What did I find? I found many questions from people who would like to...
  • Blog Post: Arabic Windows Forms Applications

    This is another article that I wrote earlier about Arabic WinForm applications. I’m republishing it for your reference. I hope you enjoy it too. You are sometimes faced with some challenges to develop Arabic applications. Most of these issues are due to the fact that Arabic is a right-to-left ...
  • Blog Post: When should you set RightToLeftLayout and RightToLeft?

    I got a question from a previous post , about when should we set RightToLeftLayout, and RightToLeft in the code. His scenario is as follows: He has a multi lingual Windows Forms application. In the case of Arabic, he sets RightToLeft at runtime, depending on a value in his resources. If his UI is...
  • Blog Post: Detecting if your Locale\Culture is RightToLeft

    I got several questions about how to know if the locale\culture is right to left. Arabic is not the only RTL language, there is Farsi, Urdu, Dari, some Chinese and Indian scripts, to name some. There are several techniques but after many trials these are my best picks. In managed code there is a property...
  • Blog Post: Hotfix for your RTL VB 6 applications, for Win 7

    You moved to Windows 7 and tried to deploy and install Arabic or right-to-left VB6.0 application on this environment. The VB 6.0 applications is working but with some exceptions. Some symptoms of the issues: • In VB 6IDE the devs are not allowed to set RighToLeft=True. • Menus are Left...
  • Blog Post: FlowDocumentReader Arabic strings

    I had a customer question about how to use FlowDocumentReader in WPF, for Arabic text. I thought this was a good opportunity to share with you this short sample. This is a FlowDocumentReader that displays an Arabic FlowDocument. I included diacritics in the strings to make it more illustrative. To...
  • Blog Post: DataGridView with RTL Columns

    I had an interesting customer scenario, which is common among developers that deal with more than language. Basically you have an English WinForm application that uses the DataGridView , but you have the Names field in Arabic. So, you want to keep the DataGridView in English , but change one column only...
  • Blog Post: Mixed Time\ Date display

    Hi, I wanted to continue posting in this blog in a hope that it would help people understand more the challenges in Arabic application development. Today, I'll talk a little about some wrong behavior in the mixed Arabic \English display of dates. I hope it's a useful insight to the issues in hand. ...
  • Blog Post: VBAME.DLL is the Middle East support file, for VB 6.0

    This blog entry, is a flash back because I’ll talk about VB 6.0, I got several complains about using RightToLeft property with VB 6 applications… Although it’s not a new topic but I found little info about it on the internet, so I thought that it would be useful to share this information. Actually, this...
  • Blog Post: Layout Controls Properly without Re-arranging them Manually

    I had a question last week from a customer who wanted to display a right-to-left WinForm but doesn't want to manually rearrange the items from right-to-left. What would be the recommended way to obtain the correct layout without rearranging the items? The recommended solution is to use the new *LayoutPanels...
  • Blog Post: Changing the input language in a textbox at runtime

    Today, I'll talk about changing the input language for a textbox at runtime, in VS 2005. The might have two textboxes and each would expect a different input language. In my example, I need TextBox1 to receive Arabic input, while TextBox2 should receive English input. These are the steps to do so...
  • Blog Post: ContextMenuStrip images don't update quickly, if you have controls with different RightToLeft settings

    A customer complained that the ContextMenuStrip didn't render images correctly when assigned to more than one control, where, some controls were RightToLeft, while the other controls were not RightToLeft. In this case, the context menu doesn't update its layout, so that it doesn’t render from RightToLeft...
Page 1 of 1 (15 items)