Problem with SAY Transparent - FWH 7.12

Problem with SAY Transparent - FWH 7.12

Postby vilian » Thu Dec 13, 2007 10:37 pm

Hi Antonio,

Before update for version 7.12 it used the following one:
Code: Select all  Expand view  RUN
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
vilian
 
Posts: 978
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

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

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

Postby Antonio Linares » Fri Dec 14, 2007 12:14 am

Vilian,

This test is working fine:
Code: Select all  Expand view  RUN
#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  Expand view  RUN
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
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby vilian » Fri Dec 14, 2007 3: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
User avatar
vilian
 
Posts: 978
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Postby Antonio Linares » Fri Dec 14, 2007 4:00 pm

Vilian,

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

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

Postby vilian » Fri Dec 14, 2007 6:06 pm

Antonio,

You it received the Memory.zip archive?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 978
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

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

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

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

Postby vilian » Tue Dec 18, 2007 1:04 am

Antonio,

I use that provided with FWH in samples\winxp.
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 978
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

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

Postby Antonio Linares » Tue Dec 18, 2007 8:23 am

Vilian,

Bug fixed :-)

We have emailed you new libraries.

many thanks for your feedback,
regards, saludos

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

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

Postby Silvio » 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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 59 guests