FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Problem with SAY Transparent - FWH 7.12
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Problem with SAY Transparent - FWH 7.12
Posted: Thu Dec 13, 2007 10:37 PM
Hi Antonio,

Before update for version 7.12 it used the following one:
DEFINE BRUSH oBrush FILENAME "VFATEC01.BMP"

DEFINE DIALOG oWnd RESOURCE "MEMORY" BRUSH oBrush TRANSPARENT ICON oIcone
     REDEFINE SAY oSay[3] TRANSPARENT ID 101          COLOR CLR_HRED  FONT oFont[2] OF oWnd UPDATE
ACTIVATE DIALOG oWnd


And had the following result when it executed oSay[3]:SetText("PASTILHA...")



Now when I execute the same command happens the following one:

Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Problem with SAY Transparent - FWH 7.12
Posted: Fri Dec 14, 2007 12:04 AM

Vilian,

Are you using the themes manifest file in your RC file ?

What FWH version were you using before ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Problem with SAY Transparent - FWH 7.12
Posted: Fri Dec 14, 2007 12:14 AM

Antonio,

Yes i use manifest. The before version is 2.8(dez/2006)

Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Problem with SAY Transparent - FWH 7.12
Posted: Fri Dec 14, 2007 12:14 AM
Vilian,

This test is working fine:
#include "FiveWin.ch"

function Main()

   local oDlg, oSay

   DEFINE BRUSH oBrush FILENAME "test.BMP" 

   DEFINE DIALOG oDlg RESOURCE "test" BRUSH oBrush TRANSPARENT

   REDEFINE SAY oSay TRANSPARENT ID 101 COLOR CLR_HRED OF oDlg UPDATE 

   REDEFINE BUTTON ID 1 OF oDlg ACTION oSay:SetText( Time() )

   ACTIVATE DIALOG oDlg 

return nil

1 24 "WindowsXP.Manifest" 

test DIALOG 67, 59, 194, 119
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Test"
FONT 8, "MS Sans Serif"
{
 DEFPUSHBUTTON "OK", IDOK, 75, 97, 50, 14
 PUSHBUTTON "Cancel", IDCANCEL, 135, 97, 50, 14
 LTEXT "Text", 101, 28, 35, 60, 8
}

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Problem with SAY Transparent - FWH 7.12
Posted: Fri Dec 14, 2007 03:09 PM

Antonio,

I obtained to mount an example with the problem. I can send for some email its?

Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Problem with SAY Transparent - FWH 7.12
Posted: Fri Dec 14, 2007 04:00 PM

Vilian,

Yes, please, send it to me as a ZIP file. Thanks,

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Problem with SAY Transparent - FWH 7.12
Posted: Fri Dec 14, 2007 06:06 PM

Antonio,

You it received the Memory.zip archive?

Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Problem with SAY Transparent - FWH 7.12
Posted: Fri Dec 14, 2007 06:21 PM

Vilian,

Yes, I got and it and built it and its working fine

I have emailed you a screenshot for your review

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Problem with SAY Transparent - FWH 7.12
Posted: Tue Dec 18, 2007 12:37 AM
Antonio,

I identified what he is causing the problem with the transparency - Themas. In the example that I sent to it, He is enough to exclude the WindowsXp.Manifest that the system functions
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Problem with SAY Transparent - FWH 7.12
Posted: Tue Dec 18, 2007 12:47 AM

Vilian,

I just sent you an email some minutes ago commenting you the same :-)

Please email me the themes manifest file that you are using. Is it the one that we provide with FWH in samples\winxp ? Have you modified it ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Problem with SAY Transparent - FWH 7.12
Posted: Tue Dec 18, 2007 01:04 AM

Antonio,

I use that provided with FWH in samples\winxp.

Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Problem with SAY Transparent - FWH 7.12
Posted: Tue Dec 18, 2007 01:22 AM

Vilian,

Ok, we have been able to reproduce the error here.

Now we can check where the error comes from

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Problem with SAY Transparent - FWH 7.12
Posted: Tue Dec 18, 2007 08:23 AM

Vilian,

Bug fixed :-)

We have emailed you new libraries.

many thanks for your feedback,

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Problem with SAY Transparent - FWH 7.12
Posted: Tue Dec 18, 2007 11:34 AM

Antonio,

Perfect, grateful for the fast reply.

Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Problem with SAY Transparent - FWH 7.12
Posted: Tue Dec 18, 2007 11:38 AM

vilian,
How you made the part of the ticket ?
I'd like to see it

Best Regards, Saludos



Falconi Silvio