CHINESE IN GET
CHINESE IN GET
Hello,
How can I use chinese characters in get fields?.
Thank you.
How can I use chinese characters in get fields?.
Thank you.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
- richard-service
- Posts: 583
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Contact:
Re: CHINESE IN GET
You need to modify TGet Class code for Two bytes characters.ukservice wrote:Hello,
How can I use chinese characters in get fields?.
Thank you.
Regards,
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
Re: CHINESE IN GET
Hello.
And how can be done?.
Why does not FWH support this?.
Thank you.
And how can be done?.
Why does not FWH support this?.
Thank you.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
- richard-service
- Posts: 583
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Contact:
Re: CHINESE IN GET
Control position and key problem.ukservice wrote:Hello.
And how can be done?.
Why does not FWH support this?.
Thank you.
Ex: Press Left/Right/Del key, only delete or move one byte character.But Asia use Two bytes of character.
Regards,
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
Re: CHINESE IN GET
Hello,
I am afraid I have no idea of what I must change in tget.prg.
How much is your class?.
Does Fivetech plan to implement it?.
Thanks.
I am afraid I have no idea of what I must change in tget.prg.
How much is your class?.
Does Fivetech plan to implement it?.
Thanks.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
- cdmmaui
- Posts: 653
- Joined: Fri Oct 28, 2005 9:53 am
- Location: The Woodlands - Dallas - Scottsdale - London
- Contact:
Re: CHINESE IN GET
Hello,
Here is the RC file I used and got it to work. Please make sure the SimSum font is loaded on the workstation.
TEST DIALOG 20, 41, 356, 86
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
FONT 12, "SimSun"
{
EDITTEXT 201, 68, 29, 230, 12
EDITTEXT 202, 68, 44, 230, 12
CONTROL "\x89É\xA6s", 301, "BUTTON", BS_USERBUTTON | WS_TABSTOP, 302, 8, 46, 18
CONTROL "\xA8ú\xAEø", 302, "BUTTON", BS_USERBUTTON | WS_TABSTOP, 302, 29, 46, 18
CONTROL "\xA5\xB4\xA6L", 303, "BUTTON", BS_USERBUTTON | WS_TABSTOP, 302, 50, 46, 18
LTEXT "ENGLISH NAME", 101, 5, 29, 60, 12
LTEXT "\xA4\xA4\xA4å\xA9m\xA6W", 102, 5, 44, 60, 12
}
Here is the RC file I used and got it to work. Please make sure the SimSum font is loaded on the workstation.
TEST DIALOG 20, 41, 356, 86
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
FONT 12, "SimSun"
{
EDITTEXT 201, 68, 29, 230, 12
EDITTEXT 202, 68, 44, 230, 12
CONTROL "\x89É\xA6s", 301, "BUTTON", BS_USERBUTTON | WS_TABSTOP, 302, 8, 46, 18
CONTROL "\xA8ú\xAEø", 302, "BUTTON", BS_USERBUTTON | WS_TABSTOP, 302, 29, 46, 18
CONTROL "\xA5\xB4\xA6L", 303, "BUTTON", BS_USERBUTTON | WS_TABSTOP, 302, 50, 46, 18
LTEXT "ENGLISH NAME", 101, 5, 29, 60, 12
LTEXT "\xA4\xA4\xA4å\xA9m\xA6W", 102, 5, 44, 60, 12
}
- richard-service
- Posts: 583
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Contact:
Re: CHINESE IN GET
>>How much is your class?.ukservice wrote:Hello,
I am afraid I have no idea of what I must change in tget.prg.
How much is your class?.
Does Fivetech plan to implement it?.
Thanks.
Please call me. richard dot service at seed dot net dot tw
>>Does Fivetech plan to implement it?.
I think NO. Because I modify my TGet class support that input Chinese character.
Another problem: We can't add themes interface into my EXE. Because we modify TGet class not work within themes, remove themes work fine.
I do'nt know Why Minigui work fine. Maybe Antonio need to fix this problem.
Regards,
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
Re: CHINESE IN GET
Richard,
Is your class compilant with latest FWH and Harbour 3.0 builds?.
Maybe Fivetech can offer you a free update if you help Antonio to implement chinese chars in TGet
Is your class compilant with latest FWH and Harbour 3.0 builds?.
Maybe Fivetech can offer you a free update if you help Antonio to implement chinese chars in TGet
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
- richard-service
- Posts: 583
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Contact:
Re: CHINESE IN GET
I have copy TGet class to him. But he have no idea for Chinese themes solution.ukservice wrote:Richard,
Is your class compilant with latest FWH and Harbour 3.0 builds?.
Maybe Fivetech can offer you a free update if you help Antonio to implement chinese chars in TGet
Regards,
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: CHINESE IN GET
John, Richard,
We are willing to include Richard's changes in FWH Class TGet.
The problem we have is that we can´t manage a Chinese (or any other unicode language) Windows version.
We are willing to include Richard's changes in FWH Class TGet.
The problem we have is that we can´t manage a Chinese (or any other unicode language) Windows version.
Re: CHINESE IN GET
Antonio and Richard,
Thank you for help.
My customer uses an english Windows 7 but in product´s name he needs also to include chinese words (a.e RED TEA 华语/華語).
If I type 华语/華語 in notepad, I see propely. But not in TGet, i get ?????.
Thank you for help.
My customer uses an english Windows 7 but in product´s name he needs also to include chinese words (a.e RED TEA 华语/華語).
If I type 华语/華語 in notepad, I see propely. But not in TGet, i get ?????.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: CHINESE IN GET
John,
If you provide us detailed instructions to do it, then we may be able to support it, thanks
I don't know how to write that, sorryIf I type 华语/華語 in notepad, I see propely. But not in TGet, i get ?????
If you provide us detailed instructions to do it, then we may be able to support it, thanks
- richard-service
- Posts: 583
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Contact:
Re: CHINESE IN GET
I had test Minigui TEditBox EXE( themes ), I press right/left/del ... key, cursor position work fine.Antonio Linares wrote:John, Richard,
We are willing to include Richard's changes in FWH Class TGet.
The problem we have is that we can´t manage a Chinese (or any other unicode language) Windows version.
Only problem is input Unicode Chinese character and appear '?'
I test fwh within my TGet EXE( themes ), I press right/left/del ..key, cursor position work.
but if you delete character, I look Garbled. I think count position not work.
input Unicode Chinese character and appear '?'
I test fwh within my TGet EXE( not themes ), I press right/left/del ..key, cursor position work.
but if you delete/copy/paste character, anythink work fine.
input Unicode Chinese character and appear '?'
Regards,
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: CHINESE IN GET
Richard,
if you post here your changes for the Class TGet, we will check them to fix the themes issue, thanks
if you post here your changes for the Class TGet, we will check them to fix the themes issue, thanks
- richard-service
- Posts: 583
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Contact:
Re: CHINESE IN GET
I sent to your EMail. Please check it.Antonio Linares wrote:Richard,
if you post here your changes for the Class TGet, we will check them to fix the themes issue, thanks
Regards,
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
Richard
Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit