FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to show the SAY with Transparent background
Posts: 22
Joined: Mon Jul 24, 2006 06:45 AM
How to show the SAY with Transparent background
Posted: Thu Sep 27, 2007 01:29 AM
Hi Everyone,

I have a problem in my application, the SAY “Date:” was not in transparent background. The example is listed as below:

// Testing a SAY in transparent

#include "FiveWin.ch"

//------------------------------------------------------------------------//

function Main()

   local oDlg, oBru
   local dDay := Date()
   local oGet
   DEFINE BRUSH oBru FILE "sky.bmp"
   DEFINE DIALOG oDlg TITLE "Testing..." BRUSH oBru TRANSPARENT

   @ 2,  2 SAY "Date:" OF oDlg
   @ 2,  6 GET oGet VAR dDay OF oDlg SIZE 40, 10 SPINNER ;
      VALID ! Empty( dDay )

   @ 3,  7 BUTTON "&Ok" OF oDlg SIZE 30, 12 ACTION oDlg:End()
   @ 3, 16 BUTTON "&Cancel" SIZE 30, 12 OF oDlg ACTION oDlg:End() CANCEL

   oGet:bGotFocus := { || oGet:SelectAll() }

   ACTIVATE DIALOG oDlg CENTERED

return nil

//------------------------------------------------------------------------//


Any idea?
Regards,



Andy Tsai
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: How to show the SAY with Transparent background
Posted: Thu Sep 27, 2007 07:23 AM

It is transparent here using latest FWH version.

EMG

Posts: 22
Joined: Mon Jul 24, 2006 06:45 AM
How to show the SAY with Transparent background
Posted: Thu Sep 27, 2007 07:58 AM
Enrico,


It is transparent here using latest FWH version.

But it is not transparent here using FWH Dec. 2006 version.
:-)
Regards,



Andy Tsai
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
How to show the SAY with Transparent background
Posted: Thu Sep 27, 2007 09:01 AM

Your only option is to upgrade your FWH, I'm afraid. There are too many changes in the new version, if I'm not wrong. Antonio?

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
How to show the SAY with Transparent background
Posted: Thu Sep 27, 2007 08:24 PM

Yes, there are lots of changes from 2006

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion