New FTDN September/Septiembre 2015 (FWH 15.09)
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
New FTDN September/Septiembre 2015 (FWH 15.09)
September 2015
==============
* Unicode support extended to all controls. Existing applications
turn into multi-lingual unicode application by inserting one line
of code in the Main function
FW_SetUnicode( .t. )
This being a major revision, we request the users to provide
feedback to help improvements.
* It is the ulitmate aim that a single application can simultaneously
have different ANSI and Unicode windows at the sametime and also
one window/dialog to contain some Ansi and some Unicode controls.
But for now it is desirable to have the entire application either as
Ansi or as Unicode. However even in a Unicode application, every effort
has been makde to maintain full backward compatibility of Ansi text
opetaions including accented characters. Any feedback on this aspect
will be highly appreciated and promptly responded.
* Fix: Edit.prg: fixed excess release of font when font clause is used.
* Enhancement: Unicode support for common messageboxesm MsgInfo(),
MsgAlert(), MsgStop(), MsgYesNo(), MsgNoYes(), MsgRetryCancel(),
MsgAbout(), MsgRun, MsgWait(). MsgText and Title can be any
combination of UTF8/ANSI. Buttons are shown in the default
language installed.
* MsgGet() supports unicode display and edit if FW_SetUnicode()
is set to TRUE.
* MemoEdit() supports unicode display and multilingual edit
if FW_SetUnicode() is set to TRUE
* Enhancement: TEdit control supports multiline mode.
- Supports multi-lingual edit from keyboard / paste.
- Supports password clause
* Enhancement: GetTextWidth(). Optionally text height can be
retrieved in the 4th parameter if passed by reference.
* New: functions CompareString( nLocaleID, cUtfStr1, cUtfStr2 ) and
CompareStringEx( cLocaleName, cUtfStr1, cUtfStr2 ) adopting Win API
for comparing UTF8 stings,
* New: DATA ncLocalID of TXBrwColumn: If provided UTF8 data in
a column in an arry can be sorted like other columns
* Enhancement: XBrowse: Reasonable functionality for Unicode Incremental
Seeks, etc.
August 2015 (Revd Build)
=======================
1) Fix: Wrong printing and display of accented characters in some cases
is fixed.
2) Clipborad: Method SetText() fully supports Unicode text also.
New Method GetUnicodeText() copies unicode or ansi text from the clipborad
3) XBrowse supports Pasting of unicode text into cells.
==============
* Unicode support extended to all controls. Existing applications
turn into multi-lingual unicode application by inserting one line
of code in the Main function
FW_SetUnicode( .t. )
This being a major revision, we request the users to provide
feedback to help improvements.
* It is the ulitmate aim that a single application can simultaneously
have different ANSI and Unicode windows at the sametime and also
one window/dialog to contain some Ansi and some Unicode controls.
But for now it is desirable to have the entire application either as
Ansi or as Unicode. However even in a Unicode application, every effort
has been makde to maintain full backward compatibility of Ansi text
opetaions including accented characters. Any feedback on this aspect
will be highly appreciated and promptly responded.
* Fix: Edit.prg: fixed excess release of font when font clause is used.
* Enhancement: Unicode support for common messageboxesm MsgInfo(),
MsgAlert(), MsgStop(), MsgYesNo(), MsgNoYes(), MsgRetryCancel(),
MsgAbout(), MsgRun, MsgWait(). MsgText and Title can be any
combination of UTF8/ANSI. Buttons are shown in the default
language installed.
* MsgGet() supports unicode display and edit if FW_SetUnicode()
is set to TRUE.
* MemoEdit() supports unicode display and multilingual edit
if FW_SetUnicode() is set to TRUE
* Enhancement: TEdit control supports multiline mode.
- Supports multi-lingual edit from keyboard / paste.
- Supports password clause
* Enhancement: GetTextWidth(). Optionally text height can be
retrieved in the 4th parameter if passed by reference.
* New: functions CompareString( nLocaleID, cUtfStr1, cUtfStr2 ) and
CompareStringEx( cLocaleName, cUtfStr1, cUtfStr2 ) adopting Win API
for comparing UTF8 stings,
* New: DATA ncLocalID of TXBrwColumn: If provided UTF8 data in
a column in an arry can be sorted like other columns
* Enhancement: XBrowse: Reasonable functionality for Unicode Incremental
Seeks, etc.
August 2015 (Revd Build)
=======================
1) Fix: Wrong printing and display of accented characters in some cases
is fixed.
2) Clipborad: Method SetText() fully supports Unicode text also.
New Method GetUnicodeText() copies unicode or ansi text from the clipborad
3) XBrowse supports Pasting of unicode text into cells.
-
- Posts: 454
- Joined: Sun Oct 30, 2005 6:37 am
- Location: Guangzhou(Canton),China
- richard-service
- Posts: 583
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Contact:
Re: New FTDN September/Septiembre 2015 (FWH 15.09)
Hi Antonio,
Could you please offer a sample EXE for test?
Could you please offer a sample EXE for test?
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: New FTDN September/Septiembre 2015 (FWH 15.09)
Richard,
Please provide me a PRG that you want to be built using unicode and I will send you the EXE
Please provide me a PRG that you want to be built using unicode and I will send you the EXE
Re: New FTDN September/Septiembre 2015 (FWH 15.09)
Dear Antonio,
I've still got problem when compile in "samples\testuni2.prg" as picture. I choose UTF-8 and save already.
What is the problem?
image uploading
I've still got problem when compile in "samples\testuni2.prg" as picture. I choose UTF-8 and save already.
What is the problem?
image uploading
Regards,
Dutch
FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Dutch
FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- richard-service
- Posts: 583
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Contact:
Re: New FTDN September/Septiembre 2015 (FWH 15.09)
Antonio,
I already sent to you sample ANSI PRG to your EMail.
Please check it.
Thanks a lot.
I already sent to you sample ANSI PRG to your EMail.
Please check it.
Thanks a lot.
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: New FTDN September/Septiembre 2015 (FWH 15.09)
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: New FTDN September/Septiembre 2015 (FWH 15.09)
Richard,
Here you have the EXE for testchinese-u8.prg:
https://bitbucket.org/fivetech/fivewin- ... ese-u8.zip
Please try it and let me know how it goes for you, thanks
Here you have the EXE for testchinese-u8.prg:
https://bitbucket.org/fivetech/fivewin- ... ese-u8.zip
Please try it and let me know how it goes for you, thanks
-
- Posts: 454
- Joined: Sun Oct 30, 2005 6:37 am
- Location: Guangzhou(Canton),China
- richard-service
- Posts: 583
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Contact:
Re: New FTDN September/Septiembre 2015 (FWH 15.09)
Dear Antonio,
Run it OK.
I just sent to you V2, please compile it to EXE.
This version include Code and Resource Dialog.
UTF-8 PRG and UTF-8 RC
Run it OK.
I just sent to you V2, please compile it to EXE.
This version include Code and Resource Dialog.
UTF-8 PRG and UTF-8 RC
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: New FTDN September/Septiembre 2015 (FWH 15.09)
Richard,
I get these errors. Please fix them and send it again, thanks
Compiling 'testchinese-u8.prg' and generating preprocessed output to 'testchinese-u8.ppo'...
5 errors
No code generated.
testchinese-u8.prg(233) Error E0030 Syntax error "syntax error at 'OREPORT'"
testchinese-u8.prg(235) Error E0030 Syntax error "syntax error at 'TITLE'"
testchinese-u8.prg(236) Error E0030 Syntax error "syntax error at 'TITLE'"
testchinese-u8.prg(238) Error E0030 Syntax error "syntax error at 'END'"
testchinese-u8.prg(249) Warning W0001 Ambiguous reference 'NI'
testchinese-u8.prg(250) Warning W0001 Ambiguous reference 'NI'
testchinese-u8.prg(251) Warning W0001 Ambiguous reference 'NI'
testchinese-u8.prg(251) Warning W0001 Ambiguous reference 'NI'
testchinese-u8.prg(255) Error E0030 Syntax error "syntax error at 'REPORT'"
I get these errors. Please fix them and send it again, thanks
Compiling 'testchinese-u8.prg' and generating preprocessed output to 'testchinese-u8.ppo'...
5 errors
No code generated.
testchinese-u8.prg(233) Error E0030 Syntax error "syntax error at 'OREPORT'"
testchinese-u8.prg(235) Error E0030 Syntax error "syntax error at 'TITLE'"
testchinese-u8.prg(236) Error E0030 Syntax error "syntax error at 'TITLE'"
testchinese-u8.prg(238) Error E0030 Syntax error "syntax error at 'END'"
testchinese-u8.prg(249) Warning W0001 Ambiguous reference 'NI'
testchinese-u8.prg(250) Warning W0001 Ambiguous reference 'NI'
testchinese-u8.prg(251) Warning W0001 Ambiguous reference 'NI'
testchinese-u8.prg(251) Warning W0001 Ambiguous reference 'NI'
testchinese-u8.prg(255) Error E0030 Syntax error "syntax error at 'REPORT'"
- richard-service
- Posts: 583
- Joined: Tue Oct 16, 2007 8:57 am
- Location: New Taipei City, Taiwan
- Contact:
Re: New FTDN September/Septiembre 2015 (FWH 15.09)
Antonio,
I make this sample, PRG and RC Save UTF-8 style.
http://www.fivetech.com.tw/downloads/Te ... -u8-V3.rar
I make this sample, PRG and RC Save UTF-8 style.
http://www.fivetech.com.tw/downloads/Te ... -u8-V3.rar
Code: Select all
// Add this to your resources RC file
#ifdef __FLAT__
1 24 "./WinXP/WindowsXP.Manifest"
#endif
new BITMAP "./bitmaps/32x32/new.bmp"
quit BITMAP "./bitmaps/32x32/quit.bmp"
TEST DIALOG 20, 41, 356, 86
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "測試 Unicode 繁體中文(Traditional Chinese)-例如堃,叙"
FONT 12, "細明體"
{
EDITTEXT 201, 68, 7, 170, 12
EDITTEXT 202, 68, 22, 99, 12
CONTROL "存檔", 301, "BUTTON", BS_USERBUTTON | WS_TABSTOP, 302, 8, 46, 18
CONTROL "取消", 302, "BUTTON", BS_USERBUTTON | WS_TABSTOP, 302, 29, 46, 18
CONTROL "列印", 303, "BUTTON", BS_USERBUTTON | WS_TABSTOP, 302, 50, 46, 18
LTEXT "中文地址", 101, 5, 7, 60, 12
LTEXT "中文姓名", 102, 5, 22, 60, 12
}
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: New FTDN September/Septiembre 2015 (FWH 15.09)
Richard,
When I try to build your examples using bcc7 I get this error:
Error testchinese-u8.RC 1 2: Bad character in source input
And if I try to build it using VS2013 then I get:
testchinese-u8.RC(4) : error RC2135 : file not found: 1
testchinese-u8.RC(8) : error RC2135 : file not found: quit
testchinese-u8.RC(10) : error RC2135 : file not found: TEST
There is something wrong with the RC file. Not sure if it is caused for using unicode into it
When I try to build your examples using bcc7 I get this error:
Error testchinese-u8.RC 1 2: Bad character in source input
And if I try to build it using VS2013 then I get:
testchinese-u8.RC(4) : error RC2135 : file not found: 1
testchinese-u8.RC(8) : error RC2135 : file not found: quit
testchinese-u8.RC(10) : error RC2135 : file not found: TEST
There is something wrong with the RC file. Not sure if it is caused for using unicode into it
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: New FTDN September/Septiembre 2015 (FWH 15.09)
It seems as cgrc.exe has to be used instead of brc32.exe:
http://blog.spreendigital.de/2008/10/14 ... rce-files/
http://blog.spreendigital.de/2008/10/14 ... rce-files/