Problem with SAY Transparent - FWH 7.12

User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Problem with SAY Transparent - FWH 7.12

Post by vilian »

Hi Antonio,

Before update for version 7.12 it used the following one:

Code: Select all

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...")

Image

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

Image
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Post by vilian »

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

Post by Antonio Linares »

Vilian,

This test is working fine:

Code: Select all

#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

Code: Select all

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
}
Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Post by vilian »

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

Post by Antonio Linares »

Vilian,

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

Antonio Linares
www.fivetechsoft.com
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Post by vilian »

Antonio,

You it received the Memory.zip archive?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Post by vilian »

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

Post by Antonio Linares »

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
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Post by vilian »

Antonio,

I use that provided with FWH in samples\winxp.
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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

Post by Antonio Linares »

Vilian,

Bug fixed :-)

We have emailed you new libraries.

many thanks for your feedback,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Post by vilian »

Antonio,

Perfect, grateful for the fast reply.
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

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

Falconi Silvio
Post Reply