FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to change SBUTTON to support FW_SetUnicode()
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
How to change SBUTTON to support FW_SetUnicode()
Posted: Wed Jun 20, 2018 02:34 AM
Dear All,

I try to add FW_SetUnicode(.T.) in New() Method in TSBUTTON.PRG but it still doesn't support display UNICODE.



How do I change to support Unicode?

Thank you in advance,
Regards,

Dutch



FWH 2304 / 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)
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: How to change SBUTTON to support FW_SetUnicode()
Posted: Wed Jun 20, 2018 08:40 AM

But I am seeing Thai characters on the TSButton in the above image.

Regards



G. N. Rao.

Hyderabad, India
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: How to change SBUTTON to support FW_SetUnicode()
Posted: Wed Jun 20, 2018 09:37 AM
Dear Mr.Rao,
nageswaragunupudi wrote:But I am seeing Thai characters on the TSButton in the above image.


It is unreadable charactor. It must show "ว๊อคอิน" but it show incorrect and unreadable.
Regards,

Dutch



FWH 2304 / 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)
Posts: 1515
Joined: Thu Oct 30, 2008 02:37 PM
Re: How to change SBUTTON to support FW_SetUnicode()
Posted: Wed Jun 20, 2018 10:41 AM

Así ya se entiende mejor.

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: How to change SBUTTON to support FW_SetUnicode()
Posted: Thu Jun 21, 2018 07:05 AM

TSButton has its own text rendering routines which do not support Unicode.

Available alternatives:
1) Use TBtnBmp instead of TSButton
or
2) Modify TSButton library

Regards



G. N. Rao.

Hyderabad, India
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: How to change SBUTTON to support FW_SetUnicode()
Posted: Thu Jun 21, 2018 09:06 AM
Dear Mr.Rao,

nageswaragunupudi wrote:TSButton has its own text rendering routines which do not support Unicode.

Available alternatives:
1) Use TBtnBmp instead of TSButton
or
2) Modify TSButton library


I have changed almost normal button to TBtnBmp but in some case, I have to use TSButton.

Another question, Can we make TBtnBmp to DEFAULT (Clause) button?

Thank you in advance.
Regards,

Dutch



FWH 2304 / 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)

Continue the discussion