How to show the SAY with Transparent background

How to show the SAY with Transparent background

Postby tsai8839 » Thu Sep 27, 2007 1: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:

Code: Select all  Expand view
// 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

Re: How to show the SAY with Transparent background

Postby Enrico Maria Giordano » Thu Sep 27, 2007 7:23 am

It is transparent here using latest FWH version.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby tsai8839 » Thu Sep 27, 2007 7: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
tsai8839
 
Posts: 22
Joined: Mon Jul 24, 2006 6:45 am

Postby Enrico Maria Giordano » Thu Sep 27, 2007 9: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
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Thu Sep 27, 2007 8:24 pm

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

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 39 guests