Page 1 of 1

Bug on FWH_0801

Posted: Wed Jan 23, 2008 1:17 am
by jhncon
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
*---------------------------------------------

Posted: Wed Jan 23, 2008 8:31 am
by Antonio Linares
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.

Posted: Wed Jan 23, 2008 2:02 pm
by jhncon
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

Posted: Wed Jan 23, 2008 10:01 pm
by Antonio Linares
John,

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

Posted: Mon Jan 28, 2008 7:22 am
by jhncon
Antonio,

Sent on Jan.24, may you check it ?

Regards

John M. S. Chiang

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

> John,

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

Posted: Mon Jan 28, 2008 8:38 am
by Antonio Linares
John,

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

Posted: Mon Jan 28, 2008 10:19 am
by jhncon
Antonio,

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

Regards.

John M. S. Chiang

Posted: Mon Jan 28, 2008 10:24 am
by Antonio Linares
John,

Received, thanks.

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

Posted: Tue Jan 29, 2008 1:12 am
by jhncon
Antonio,

I use XP themes in previously and current version.

Regards

Posted: Tue Jan 29, 2008 9:07 am
by Antonio Linares
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,