oFld:SetColor( "N/G" ) doesn't work ?

oFld:SetColor( "N/G" ) doesn't work ?

Postby ukoenig » Fri Sep 04, 2009 1:37 pm

Hello,

I wanted to change from Gradient to Single-Color
with oFld:SetColor( "N/G" )
It seems, it doen't work.
I tested with < Testfld3.prg > with the same result.
To get it working, I used the Gradient-function with two same colors.

Image

function Another()
local oWnd, oFld

DEFINE WINDOW oWnd TITLE "FiveWin Dynamic folders" ;
FROM 5, 5 TO 20, 50 COLOR "N/G"

@ 0.5, 1 FOLDER oFld PROMPT "&xBase", "&And OOP", "&Power" ;
OF oWnd SIZE 260, 180

oFld:SetColor( "N/G" )

@ 1, 1 BUTTON "&Hello" OF oFld:aDialogs[ 1 ] ;
ACTION MsgInfo( "Hello world!" ) SIZE 80, 20

ACTIVATE WINDOW oWnd

return nil

Using Gradient-Function :
Image

Best regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 18 guests