How to show the SAY with Transparent background

Post Reply
tsai8839
Posts: 22
Joined: Mon Jul 24, 2006 6:45 am

How to show the SAY with Transparent background

Post by tsai8839 »

Hi Everyone,

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

Code: Select all

// 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
tsai8839
Posts: 22
Joined: Mon Jul 24, 2006 6:45 am

Post by tsai8839 »

Enrico,
It is transparent here using latest FWH version.
But it is not transparent here using FWH Dec. 2006 version.
:(
Regards,

Andy Tsai
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

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

Post by Antonio Linares »

Yes, there are lots of changes from 2006
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply