FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Bug on FWH_0801
Posts: 8
Joined: Mon Oct 31, 2005 10:11 AM
Bug on FWH_0801
Posted: Wed Jan 23, 2008 01:17 AM

Antonio,

Following example shows trouble on Tsay with 'box' or 'raised' in FWH_0801, may you check it ?

Thank & Regards.
Chiang Ming-Song

*---------------------------------------------

include "FiveWin.ch"

=============================================
proc Main()
---------------------------------------------
local oWnd
DEFINE WINDOW oWnd FROM 10, 10 TO 500,500 pixel TITLE 'Test say raised'
*--------
@ 0, 1 say Space(2) Size 100, 20 of oWnd pixel raised Color CLR_HGRAY, CLR_HGRAY
@ 25, 1 say Space(2) Size 100, 20 of oWnd pixel raised Color CLR_HGRAY, CLR_RED
@ 50, 1 say 'Raised' Size 100, 20 of oWnd pixel raised Color CLR_HGRAY, CLR_RED
@ 75, 1 say 'Raised' Size 100, 20 of oWnd pixel raised Color CLR_WHITE, CLR_HGRAY

@ 125, 1 say Space(2) Size 100, 20 of oWnd pixel box Color CLR_HGRAY, CLR_HGRAY
@ 150, 1 say Space(2) Size 100, 20 of oWnd pixel box Color CLR_HGRAY, CLR_RED
@ 175, 1 say 'Box' Size 100, 20 of oWnd pixel box Color CLR_HGRAY, CLR_RED
@ 200, 1 say 'Box' Size 100, 20 of oWnd pixel box Color CLR_WHITE, CLR_HGRAY

@ 250, 1 say Space(2) Size 100, 20 of oWnd pixel Color CLR_HGRAY, CLR_HGRAY
@ 275, 1 say Space(2) Size 100, 20 of oWnd pixel Color CLR_HGRAY, CLR_RED
@ 300, 1 say 'Plain' Size 100, 20 of oWnd pixel Color CLR_HGRAY, CLR_RED
@ 325, 1 say 'Plain' Size 100, 20 of oWnd pixel Color CLR_WHITE, CLR_HGRAY
----------
ACTIVATE WINDOW oWnd
---------------------------------------------

John M. S. Chiang
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug on FWH_0801
Posted: Wed Jan 23, 2008 08:31 AM

John,

RAISED is used for the SS_WHITERECT style, so you won't see a "raised" text. It will look as a white rectangle.

BOX is used for the SS_GRAYRECT style, so it will look as a gray rectangle.

We are using standard Windows behavior there.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 8
Joined: Mon Oct 31, 2005 10:11 AM
Bug on FWH_0801
Posted: Wed Jan 23, 2008 02:02 PM

Antonio,

Thanks for your responce, but Tsay displays Text in raised boder if raised style was specified in FWH version of Dec. 2006.

Regards.
John M. S. Chiang

John M. S. Chiang
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug on FWH_0801
Posted: Wed Jan 23, 2008 10:01 PM

John,

Please email me your source\classes\say.prg, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 8
Joined: Mon Oct 31, 2005 10:11 AM
Bug on FWH_0801
Posted: Mon Jan 28, 2008 07:22 AM

Antonio,

Sent on Jan.24, may you check it ?

Regards

John M. S. Chiang

*-----------------------------

> John,

> Please email me your source\classes\say.prg, thanks

John M. S. Chiang
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug on FWH_0801
Posted: Mon Jan 28, 2008 08:38 AM

John,

I meant Class TSay from FWH version of Dec. 2006, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 8
Joined: Mon Oct 31, 2005 10:11 AM
Bug on FWH_0801
Posted: Mon Jan 28, 2008 10:19 AM

Antonio,

say.prg from FWH version of Dec. 2006 sent.

Regards.

John M. S. Chiang

John M. S. Chiang
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug on FWH_0801
Posted: Mon Jan 28, 2008 10:24 AM

John,

Received, thanks.

Weren't you using themes previously in your app ? Are you using themes now ? ( 1 24 "WindowsXP.Manifest" )

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 8
Joined: Mon Oct 31, 2005 10:11 AM
Bug on FWH_0801
Posted: Tue Jan 29, 2008 01:12 AM

Antonio,

I use XP themes in previously and current version.

Regards

John M. S. Chiang
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug on FWH_0801
Posted: Tue Jan 29, 2008 09:07 AM

John,

If you compare the Class TSay, old and current, they are practically the same one. So the problem has to be a different one.

Could you please post a screenshot of your sample with the previous FWH that you used ? thanks,

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion