what happens with unicode ??
#1
Posted 02 June 2007 - 08:25 PM
i discovered that a character is not displayed correct. It should be an "u" with a little ring on top (it is in Lucida Sans Unicode the 2. character in the 16. row in the character table of the system programs, code U+016F). But i see only a normal "u". Displaying the same value in another component from another company shows the right caracter. So i am sure it is an error in NextGrid. But i don't know if this was always the same or if it is a new problem now in 3.9.9.b.
I wonder what you are doing with unicode, because TNT is not longer free - have you eleminated or changed unicode support in your components?
thanks,
user22
#2
Posted 02 June 2007 - 08:40 PM
Problem is most probably because you have edit cell without TNT editors support, or maybe Column Font is not set to Lucida Sans too.
I have create 2 columns, place NextGrid on form, and one TTntEdit component.
When I click on button, Text from Edit is set to selected cell, and correct "ů" character is displayed. Please look for sample in attach: User22.zip 339.12KB 11 downloads
regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#3
Posted 02 June 2007 - 08:43 PM
I will try to add native support for unicode in my Edit controls in next period.
regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#4
Posted 03 June 2007 - 12:42 PM
thank you for the fast answer - glad to see that you still support unicode. I tested your demo and it works. But i use the free nextgrid for D7 and so i cannot enable or disable something, i can only use it and i remember that the free nextgrid supported unicode very well. And i have no edit fields, i only need to display unicode strings in the grid (yes, i use WideCells[] for assignment) nothing else. Maybe you disabled it in the free 3.99b for D7?
thanks,
user22
#5
Posted 03 June 2007 - 01:05 PM
I didn't disable anything in free version of NextGrid. This is how was been before
regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#6
Posted 15 July 2008 - 03:32 AM
i've downloaded your sample User22.zip, enabled goInput, entered some non-English characters pressed Enter and got bad result (as you can see on the picture in the attachment), after that I entered the same characters into the tnt edit box, pressed the button and got the correct result - I've got the same problem in one of my programs. I'm using the free version of NextGrid for displaying/entering/changing data from a simple SQLite database. Is this a bug, or I missed something?
PS. Sorry for my bad English, I'm still learning...
Attached Files
#7
Posted 15 July 2008 - 10:52 AM
Maybe Tnt unicode controls are not supported. More info at: http://dn.bergsoft.n...laceeditors.htm
Please tell me if this helps.
Best regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#8
Posted 15 July 2008 - 11:18 AM
Maybe Tnt unicode controls are not supported. More info at: http://dn.bergsoft.n...laceeditors.htm
Please tell me if this helps.
Best regards
Hello Boki,
I've installed tnt unicode controls, and enabled tnt support in NxSuite.inc already. After entering non-English characters through the input field and enabling editing with goEditing, the characters are displayed well with inplace editor:
Attached Files
#9
Posted 15 July 2008 - 11:56 AM
I assume that now all works fine
Kind regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#10
Posted 15 July 2008 - 12:01 PM
I've just discovered, that after entering some non-English chars into the tnt edit box and pressing the button they're displayed well with NextGrid, but if I open the inplace editor, I get bad results again:
Attached Files
#11
Posted 15 July 2008 - 12:03 PM
I assume that now all works fine
Kind regards
Hello Boki,
unfortunatelly not, the inplace editor is displaying the chars well, but NextGrid isn't.
#12
Posted 15 July 2008 - 12:09 PM
unfortunatelly not, the inplace editor is displaying the chars well, but NextGrid isn't.
Hello Boki,
I've got some conclusions:
1. If I enter some none-English chars through the Input line, they aren't displayed well in NextGrid, but they're displayed well in the inplace editor
2. If I enter some none-English chars through the tnt editor and copy them into NextGrid, they're displayed well in NextGrid, but not in the inplace editor
Is there any solution?
#13
Posted 15 July 2008 - 12:28 PM
Maybe font for column is not set to some unicode font such as Tahoma, Verdana. If you also like, you may send me small demo project to I test it.
Best regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#14
Posted 15 July 2008 - 12:40 PM
Maybe font for column is not set to some unicode font such as Tahoma, Verdana. If you also like, you may send me small demo project to I test it.
Best regards
Hello Boki,
I am using your sample User22.zip for testing, I've just enabled goInput and goEditing and nothing more. It uses Lucida Sans Unicode font. Here is the modified demo project:
Attached Files
#15
Posted 15 July 2008 - 12:57 PM
It seems to all work fine, here is a screenshot. Even if you type characters within Input Line:
Attached Files
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#16
Posted 15 July 2008 - 12:59 PM
Attached Files
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#17
Posted 15 July 2008 - 01:56 PM
Hello Boki,
Thank you for your answers! Your exe is working well, but mine isn't. I've just reinstalled NextGrid and got a massege about unicode controls - they're enabled, but still nothing. I'm sending you my exe, please check it yourself.
Attached Files
#18
Posted 15 July 2008 - 02:03 PM
Then only thing may be that you are using older version of NextGrid. Can you please try to download latest one and try once again.
Best regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#19
Posted 15 July 2008 - 02:07 PM
Then only thing may be that you are using older version of NextGrid. Can you please try to download latest one and try once again.
Best regards
Hello Boki,
I'm using the latest version 4.4.5 of NextGrid.
#20
Posted 15 July 2008 - 02:41 PM
I see no reason why this happen, it should work fine. Try once again to delete _ in NxSuite.inc file beside DEFINE TNTUNICODE. I really see no reason why this may happen.
Best regards
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users