I made

and it run ok as you can see only it show black lines
How I can make to add a color ? for a sample red ?
I made
DEFINE BRUSH oBrush1 STYLE HORIZONTAL COLOR CLR_RED it run ok on easy dialog
but I need on Tfolderex class and it not run ok
I tried to change the color of border for a sample
:nClrBorder := { ||nRgb(218,214,179) } but not work
#include "FiveWin.ch"
Function test()
local oDlg,ofont
local oBrowse
local aData:= {}
local oBrush1,oBrush2
local obtn
DEFINE BRUSH oBrush1 STYLE HORIZONTAL
DEFINE BRUSH oBrush2 STYLE HORIZONTAL
DEFINE FONT oFont NAME "TAHOMA" SIZE 00, -12
DEFINE DIALOG oDlg SIZE 400,500 PIXEL FONT oFont TRUEPIXEL ;
TITLE "test" TRANSPARENT COLOR CLR_BLACK,CLR_WHITE
@ 10,10 BTNBMP obtn CENTER SIZE 96,96 PIXEL OF oDlg NOROUND 2007
obtn:bClrGrad := { |lInvert| If( lInvert, oBrush2:hBrush, oBrush1:hBrush ) }
obtn:disable()
ACTIVATE DIALOG oDlg CENTERED
oFont:End()
RELEASE BRUSH oBrush1,oBrush2
RETURN NI
and it run ok as you can see only it show black lines
How I can make to add a color ? for a sample red ?
I made
DEFINE BRUSH oBrush1 STYLE HORIZONTAL COLOR CLR_RED it run ok on easy dialog
but I need on Tfolderex class and it not run ok
I tried to change the color of border for a sample
:nClrBorder := { ||nRgb(218,214,179) } but not work
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com


