FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to make TSButton will compatible with FW_SetUnicode()?
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
How to make TSButton will compatible with FW_SetUnicode()?
Posted: Wed Oct 21, 2015 09:46 AM
Dear All,

I use TSButton.lib of Manuel Mercado a lot in my program but TSButton does not support unicod (I thought). Because it doesn't show charactor correctly. I try to add FW_SetUnicode(.T.) in top of the TSButton Classes but it doesn't work.

How to make TSButton class support FW_SetUnicode()?

Thanks in advance.
Code (fw): Select all Collapse
FW_SetUnicode( .T. )

DEFINE FONT oFnt NAME "Segoe UI" SIZE 0, -14DEFINE DIALOG oWnd SIZE  500, 200 TITLE 'Test TSButton' TRUEPIXEL FONT oFnt 

   @160, 70 SBUTTON oBtn PROMPT "中国版"         OF oWnd SIZE 150, 25 PIXEL  FONT oFnt ;
            ACTION GTraslate2() 
   
   @160,280 BUTTON '中国版' OF oWnd SIZE 150, 25 PIXEL  FONT oFnt ;  // "Translate F/O Menu"
            ACTION TranslateMenu() 

   ACTIVATE DIALOG oWnd CENTER

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: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: How to make TSButton will compatible with FW_SetUnicode()?
Posted: Wed Oct 21, 2015 09:53 AM

Dutch
You have the source code of the class ?, send it to me
I can look at
I can not assure you that it may become

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 1515
Joined: Thu Oct 30, 2008 02:37 PM
Re: How to make TSButton will compatible with FW_SetUnicode()?
Posted: Wed Oct 21, 2015 11:37 AM

Una pregunta... ¿ cual de los dos botones sale mal ?

Posts: 581
Joined: Tue Oct 11, 2005 11:28 AM
Re: How to make TSButton will compatible with FW_SetUnicode()?
Posted: Wed Oct 21, 2015 01:17 PM

Lo de la izquierda.

Kleyber Derick



FWH / xHb / xDevStudio / SQLLIB
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: How to make TSButton will compatible with FW_SetUnicode()?
Posted: Wed Oct 21, 2015 02:15 PM
Dear cnavarro,

What is your email?
cnavarro wrote:Dutch
You have the source code of the class ?, send it to me
I can look at
I can not assure you that it may become
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: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: How to make TSButton will compatible with FW_SetUnicode()?
Posted: Wed Oct 21, 2015 02:43 PM

This download-link is working < TSBUTTON > release 7.0
from post :

viewtopic.php?f=4t=16710p=86646hilit=tsbutton+download#p86646

best regards
Uwe :D

&&&

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: How to make TSButton will compatible with FW_SetUnicode()?
Posted: Wed Oct 21, 2015 04:21 PM

Dutch

navarro. cristobal arroba gmail . com

You use the version indicating Uwe?

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: How to make TSButton will compatible with FW_SetUnicode()?
Posted: Wed Oct 21, 2015 07:41 PM

Dear C. Navarro,

I'm not quite sure. I've sent you already.

Thanks so much

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: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: How to make TSButton will compatible with FW_SetUnicode()?
Posted: Fri Oct 23, 2015 02:58 PM

Thanks a lot C. Navarro,

It's working well now.

Regards,
Dutch

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: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: How to make TSButton will compatible with FW_SetUnicode()?
Posted: Sat Oct 24, 2015 07:25 AM

Dutch

Please, You can put an image ?

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: How to make TSButton will compatible with FW_SetUnicode()?
Posted: Sat Oct 24, 2015 10:21 AM

With version 15.09, any external control, non text editing, you can easily convert Unicode

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: How to make TSButton will compatible with FW_SetUnicode()?
Posted: Sat Oct 24, 2015 10:54 AM
Dear C. Navarro,

This is an TSbutton work.
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: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: How to make TSButton will compatible with FW_SetUnicode()?
Posted: Sat Oct 24, 2015 10:56 AM

Thanks Dutch

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: How to make TSButton will compatible with FW_SetUnicode()?
Posted: Mon Nov 02, 2015 04:51 PM

Isn't it a good idea to make it available to all?

Regards



G. N. Rao.

Hyderabad, India
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: How to make TSButton will compatible with FW_SetUnicode()?
Posted: Fri Nov 20, 2015 04:00 PM
nageswaragunupudi wrote:Isn't it a good idea to make it available to all?


Yes, sorry for the delay

https://bitbucket.org/fivetech/fivewin- ... uttonu.zip
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces

Continue the discussion