Windows Develop Bookmark and Share   
 index > Windows Forms General > Question about RightToLeft Property
 

Question about RightToLeft Property

I'm pretty sure I know the answer to this question, but I wanted to ask. I have a need to be able to use the righttoleft property with a textbox, however, what I'm having a little trouble with is how the property determines breaks when reversing characters. My data uses a number of mnemonics, so I want to treat some characters, like $'s as hard characters. So, for example:

=100 10$aTest

I would like it represented as:
tseTa$01 100=

But it gets represented as:
tseTa01$ 100=

Outside of creating a custom function (which I'm trying to avoid because then I'd have to use it both for reading and writing data -- I think) -- can the Rightoleft property be customized so I can make it work like the above.

Thanks,

--TR

  • Moved byOmegaManMVPTuesday, June 30, 2009 5:39 AM (From:Visual C# General)
  •  
reeset  Monday, June 29, 2009 11:09 PM
That's not possible, you'll have to write the code.

Hans Passant.
nobugz  Tuesday, June 30, 2009 12:01 PM
That's not possible, you'll have to write the code.

Hans Passant.
nobugz  Tuesday, June 30, 2009 12:01 PM

You can use google to search for other answers

Custom Search

More Threads

• Text entry controls with field masks!
• syntax error in INSERT INTO statement
• Why I can perform int operations on a numericupdown control's value?
• How to run my vb.net application in Mac OS?
• I can not get value from other form. Please help me about this.
• AssemblyResolve event not firing for satellite assemblies
• Closing forms
• Problem with bindingNavigator and tabControls
• VB or C#, and why?
• Client Area of MDIParent should not be sunken