Bug on FWH_0801

Post Reply
jhncon
Posts: 8
Joined: Mon Oct 31, 2005 10:11 am

Bug on FWH_0801

Post 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
*---------------------------------------------
John M. S. Chiang
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
jhncon
Posts: 8
Joined: Mon Oct 31, 2005 10:11 am

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

John,

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

Antonio Linares
www.fivetechsoft.com
jhncon
Posts: 8
Joined: Mon Oct 31, 2005 10:11 am

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

John,

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

Antonio Linares
www.fivetechsoft.com
jhncon
Posts: 8
Joined: Mon Oct 31, 2005 10:11 am

Post by jhncon »

Antonio,

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

Regards.

John M. S. Chiang
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
jhncon
Posts: 8
Joined: Mon Oct 31, 2005 10:11 am

Post by jhncon »

Antonio,

I use XP themes in previously and current version.

Regards
John M. S. Chiang
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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,
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply