[RESOLVED] How To Text Be Unicode In TextBox And Label
Hello
How To Text Be Unicode In TextBox Not In RichTextBox And Unicode In Label
Thanks
Re: How To Text Be Unicode In TextBox And Label
Re: How To Text Be Unicode In TextBox And Label
Quote:
Originally Posted by
RhinoBull
Thanks But I Want Code For TextBox
1 Attachment(s)
Re: How To Text Be Unicode In TextBox And Label
Textbox is member of MS Forms 2.0 Object Library, You have to write Key_Down and Key_Press events of Textbox, Question is that what type of Unicode characters you wants to enter (or show only) in Textbox?
If there are any language's (like Asian, Arabic) Unicode characters then you have to write a complete keyboard layout for that language in Key_Press event, as default keyboard layout of that language. To show characters of a specific language, you will need a True Type Font that is containing those characters you wants to show in Textbox.
I've a (Key_Press & Key_Down) code sample for to write & show "Urdu" language (Unicode Characters) in Textbox, You can modify it as you need. Code project is attached.
Re: How To Text Be Unicode In TextBox And Label
Quote:
Originally Posted by
Mehmood Iqbal
Textbox is member of MS Forms 2.0 Object Library....
Which is NOT redistributable.
Re: How To Text Be Unicode In TextBox And Label
Quote:
Originally Posted by
RhinoBull
Which is NOT redistributable.
I can't understand what do you mean with that?
Re: How To Text Be Unicode In TextBox And Label
Quote:
Originally Posted by
Mehmood Iqbal
Textbox is member of MS Forms 2.0 Object Library, You have to write Key_Down and Key_Press events of Textbox, Question is that what type of Unicode characters you wants to enter (or show only) in Textbox?
If there are any language's (like Asian, Arabic) Unicode characters then you have to write a complete keyboard layout for that language in Key_Press event, as default keyboard layout of that language. To show characters of a specific language, you will need a True Type Font that is containing those characters you wants to show in Textbox.
I've a (Key_Press & Key_Down) code sample for to write & show "Urdu" language (Unicode Characters) in Textbox, You can modify it as you need. Code project is attached.
Thanks mohammad brother . But how can i show text unicode in stander textbox.
Re: How To Text Be Unicode In TextBox And Label
Vb6 controls are ANSI only with exception of MSHFlexGrid so you must use a Unicode aware control.
Re: How To Text Be Unicode In TextBox And Label
Quote:
Originally Posted by
DrUnicode
Vb6 controls are ANSI only with exception of MSHFlexGrid so you must use a Unicode aware control.
where i find it ?
Re: How To Text Be Unicode In TextBox And Label
Re: How To Text Be Unicode In TextBox And Label
I think, it will not easy to show Unicode in a Textbox without having a specialized code (like Key_Press). If you have multiple Textboxes, Then you can make a common module for all.
Re: How To Text Be Unicode In TextBox And Label
No specialized code is needed to show Unicode in MsForms TextBox or the control at http://www.vbforums.com/showthread.php?t=500026
If you want to type Unicode in the TextBox you should load a keyboard IME from Control Panel Regional Settings.
MsForms has issues with some Keyboard IMEs like Arabic, Urdu, and Kazakh.
The control at http://www.vbforums.com/showthread.php?t=500026 works with Arabic, Urdu, but not Kazakh.
Commercial controls:
1. Hexagora = No support for Kazakh and perhaps some other mapped keyboards.
2. UniToolBox at http://www.iconico.com/UniToolbox/ - Full IME supprot
3. UniSuite at http://www.cyberactivex.com - Full IME supprot
Re: How To Text Be Unicode In TextBox And Label
Quote:
Originally Posted by
Mehmood Iqbal
I can't understand what do you mean with that?
You cannot package Forms 2.0 library with your your program and distribute to other people unless it's done withing the same company under the same license.
For more information read MS Office license agreement.
Re: How To Text Be Unicode In TextBox And Label
Re: How To Text Be Unicode In TextBox And Label
Quote:
Originally Posted by
RhinoBull
You cannot package Forms 2.0 library with your your program and distribute to other people unless it's done withing the same company under the same license.
For more information read MS Office license agreement.
OK. Thanks. Moving towards MS Office License Agreement.
Re: How To Text Be Unicode In TextBox And Label
Nice project suggested by DrUnicode.. I was also not aware about that project. That is also a great help for me. :)
Re: How To Text Be Unicode In TextBox And Label