FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour oFld:SetColor( "N/G" ) doesn't work ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
oFld:SetColor( "N/G" ) doesn't work ?
Posted: Fri Sep 04, 2009 01: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.



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 :


Best regards
Uwe :-)
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.

Continue the discussion