Bug on FWH_0801

Bug on FWH_0801

Postby jhncon » Wed Jan 23, 2008 1: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
jhncon
 
Posts: 8
Joined: Mon Oct 31, 2005 10:11 am

Postby Antonio Linares » Wed Jan 23, 2008 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41366
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby jhncon » Wed Jan 23, 2008 2: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
jhncon
 
Posts: 8
Joined: Mon Oct 31, 2005 10:11 am

Postby Antonio Linares » Wed Jan 23, 2008 10:01 pm

John,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41366
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Antonio Linares » Mon Jan 28, 2008 8:38 am

John,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41366
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby jhncon » Mon Jan 28, 2008 10:19 am

Antonio,

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

Regards.

John M. S. Chiang
jhncon
 
Posts: 8
Joined: Mon Oct 31, 2005 10:11 am

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

Postby jhncon » Tue Jan 29, 2008 1:12 am

Antonio,

I use XP themes in previously and current version.

Regards
John M. S. Chiang
jhncon
 
Posts: 8
Joined: Mon Oct 31, 2005 10:11 am

Postby Antonio Linares » Tue Jan 29, 2008 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41366
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 29 guests

cron