I will use SAY with background-color but in a dialog not transparent with clausula GRADIENT is not functioning. Any suggestion please!
I will use SAY with background-color but in a dialog not transparent with clausula GRADIENT is not functioning. Any suggestion please!
#include "FiveWin.ch"
function Main()
local oDlg
SetDlgGradient( { { 1, RGB( 199, 216, 237 ), RGB( 237, 242, 248 ) } } )
DEFINE DIALOG oDlg
oDlg:lTransparent = .F.
@ 1, 2 SAY "Hello" COLOR "R+/B"
ACTIVATE DIALOG oDlg CENTERED
return nilAntonio, thanks!
Now i have the Problem, all other says are also not transparent. The says with ID i can make transparent with the clausula TRANSPARENT but what is with the static says (only declared in the RC-file).
#include "FiveWin.ch"
function Main()
local oDlg
SetDlgGradient( { { 1, RGB( 199, 216, 237 ), RGB( 237, 242, 248 ) } } )
DEFINE DIALOG oDlg
@ 1, 3 SAY "with gradient"
ACTIVATE DIALOG oDlg CENTERED ;
ON INIT BuildMyDifferentSay( oDlg )
return nil
function BuildMyDifferentSay( oDlg )
@ 5, 4 SAY "without gradient" COLOR "R+/B"
return nil