Search found 25 matches: ncolor2

Return to advanced search

alternate columns colors

coloring alternate rows we can do oBrw:bClrStd := { || { CLR_BLACK, If( oBrw:KeyNo % 2 == 0, nColor1, nColor2 ) } } how can we color the columns alternately? For a sample if I wish colorized only the 4th colomn I made Function Alternate_Columns(nColor1,oBrw)   local ...
by Silvio.Falconi
Mon Jan 09, 2023 12:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: alternate columns colors
Replies: 0
Views: 252

Re: search highest digit in the array

... I made nRowSelect:=Colorize_Max(oBrw,RGB( 255, 0,0 ),RGB( 252, 235, 220 )) oBrw:KeyNo:= nRowSelect static Function Colorize_Max(oBrw,nColor1,nColor2) local avals:= oBrw:aArraydata local atest:= aFindMax( aVals ) local nRow:= atest[1] local nCol:= atest[2] oBrw:aCols[nCol]:bClrStd := {|| { ...
by Silvio.Falconi
Thu Mar 10, 2022 8:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: search highest digit in the array
Replies: 7
Views: 650

Colorized cell of xbrowse

... oBrw:aRow[ n ]:VALUE ) } } static function ColorCell( num ) local nColor := GetSysColor( 15 ) //for demo local nColor1 := CLR_HGREEN local nColor2 := CLR_HRED local ncolor3 := GetSysColor( 15 ) /* IF num<3 nColor :=nColor1 elseif num>3 nColor := nColor2 elseif num<9 nColor := nColor3 ...
by Silvio.Falconi
Fri Mar 04, 2022 10:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Colorized cell of xbrowse
Replies: 13
Views: 1718

Re: Tgroup not transparent in w10

... Color ) http://www.pflegeplus.com/IMAGES/FolderGrp.jpg ... ACTIVATE DIALOG oDlg ; ON INIT ( DLG_BACK( oDlg, nDStyle, nColor1, nColor2, lDirect, nGrdPos, nCGrdPos, cBrush, cImage ), ; FLD_BACK( oFld, nTColor, nColor1, nColor2, lDirect, nGrdPos, nCGrdPos, cBrush, cImage ) ) The ...
by ukoenig
Fri Nov 16, 2018 8:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tgroup not transparent in w10
Replies: 3
Views: 868

Re: Mr. Rao's samples collection.

... 3 is Circle-painting and new :!: I think Your FWH-version doesn't support it. circle syntax IF nStyle = 3 // GRADIENT CIRCLE aGrad := { nColor1,nColor2 } DEFINE BRUSH oBrush GRADIENT aGrad ENDIF regards Uwe :D Thank you Uwe. Probably my version of FWH1701 that does not support the command. Many ...
by karinha
Wed Feb 07, 2018 6:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Rao's samples collection.
Replies: 139
Views: 26204

Re: Mr. Rao's samples collection.

nStyle 3 is Circle-painting and new :!:

I think Your FWH-version doesn't support it.

circle syntax
IF nStyle = 3 // GRADIENT CIRCLE
aGrad := { nColor1,nColor2 }
DEFINE BRUSH oBrush GRADIENT aGrad
ENDIF

regards
Uwe :D
by ukoenig
Wed Feb 07, 2018 5:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Rao's samples collection.
Replies: 139
Views: 26204

Re: Resize gradient with Dialog Resize

... on startup I use ON INIT ACTIVATE DIALOG oDlg ; ON PAINT ABPaint( hDC, 100, 20, oImg:hBitmap, 255 ) ; ON INIT ( DLG_BACK( oDlg, nDStyle, nColor1, nColor2, lDirect, nGrdPos, nCGrdPos, cBrush, cImage ), ; FLD_BACK( oFld, nTColor, nColor1, nColor2, lDirect, nGrdPos, nCGrdPos, cBrush, cImage ) ) viewing ...
by ukoenig
Fri Oct 09, 2015 3:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resize gradient with Dialog Resize
Replies: 9
Views: 2319

Re: Logo background screen blurring on Windows SEVEN 64 or 32bit

... on Dialog-init like // nStyle := 1 1=Color, 2 = Gradient, 3 = Brush and 4 = Image // nColor := 116443068 Color or 1. Calor of gradient // nColor2 := 10899511 2. Gradient-color // nMove := 0.5 Color-position // lDirect := .T. vertical or horizontal // cBrush := "Brush.bmp" Brush ...
by ukoenig
Mon May 20, 2013 9:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Logo background screen blurring on Windows SEVEN 64 or 32bit
Replies: 31
Views: 7724

Re: BackGround Painting

... PIXEL ; ACTION oDlg3:End() ACTIVATE DIALOG oDlg3 ; ON INIT oDlg3:Move(250, 250) RETURN NIL // -------- FUNCTION DLG_BACK( oWnd, lDirect, nColor1, nColor2, nMove ) local oBrush aGrad := { { nMove, nColor1, nColor2 }, { nMove, nColor2, nColor1 } } hDC = CreateCompatibleDC( oWnd:GetDC() ) hBmp = ...
by ukoenig
Tue Feb 26, 2013 11:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BackGround Painting (SOLVED)
Replies: 14
Views: 5416

Ayuda con este codigo

... TITLE "Inventario de Armas" NOSYSMENU NOICONIZE NOCAPTION OF oWnd1 SELE INV_EQ @ 0,0 BROWSE oBrw ALIAS "INV_EQ" OF oWnd2 COLOR nCOLOR2,nCOLOR1 ADD COLUMN TO oBrw DATA FieldWBlock('MODELO',SELECT()) HEADER "MODELO" ALIGN 0,1,1 FIXED ADD COLUMN TO oBrw DATA FieldWBlock('MACADDRESS',SELECT()) ...
by Orbex
Fri Jul 20, 2012 1:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con este codigo
Replies: 1
Views: 786

Image-selector Rel.1.2 UPDATE

... You can change the Dialog-background : // nStyle // 1 = Color, 2 = Gradient, 3 = Brush, 4 = Image // D_BACKGRD( oDlg, nStyle, lDirect, nColor1, nColor2, nMove, cBrush, cImage ) D_BACKGRD( oDlg, 2, .T., 10899511, 16777215, 0.5, "Marble5.bmp", "Fantasy2.jpg" ) http://www.pflegeplus.com/pictures/Imgsel1.jpg ...
by ukoenig
Sat Jan 14, 2012 11:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Image-selector Rel.1.2 UPDATE
Replies: 1
Views: 689

Re: ExplorerBar with Windows 7 look

there're many functions are the same on fwh sample : DegradaSO( hDC, aRect, nColor2, nColor, .f.) = GradientFill( hDC, aRect[ 1 ] - 2, aRect[ 2 ] - 3, aRect[ 3 ] + 1, aRect[ 4 ] + 5,; { { 1, RGB( 220, 235, 252 ), RGB (199, 223, 252) } }, .T. ) we're seeing if ...
by MdaSolution
Sun Jul 31, 2011 7:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ExplorerBar with Windows 7 look
Replies: 30
Views: 8127

A Problem using : VTitles, Gradient / Base and BtnBmp

... like, to keep the round Button ). Otherwise I have to change the Button-class using Gradient-background. oBar1:aGrdBack := { { nGradPos, nColor1, nColor2 },{ nGradPos, nColor2, nColor1 } } http://www.pflegeplus.com/pictures/about15.jpg As soon I select a Gradient-background there ...
by ukoenig
Thu Jul 07, 2011 7:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Problem using : VTitles, Gradient / Base and BtnBmp
Replies: 3
Views: 832

Re: About box

... : 1. @ nTop, nLeft TITLE oBar1 SIZE nWidth, nHeight OF oContrl TRANSPARENT BORDER BASE SHADOWSIZE 0 2. oBar1:aGrdBase := { { nGradPos, nColor1, nColor2 } , ; { 10 - nGradPos, nColor2, nColor1 } } http://www.pflegeplus.com/pictures/about14.jpg Best Regards Uwe :lol:
by ukoenig
Thu Jul 07, 2011 12:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: About box
Replies: 13
Views: 2823

Re: New Arrangement of MSGWAIT- ALERT- and YESNO-function

... Calculations. The calculation is the same in all Functions : MSG_ALERT(oBrush, ; oFont1, ; oFont2, ; cTitle, ; cTxt1, ; cTxt2, ; cTxt3, ; nColor1, nColor2, ; nSpace, nTop, nLeft, ; cImage1, cImage2) http://www.pflegeplus.com/pictures/dlgsize.jpg 1. Get the Text-len from all included ...
by ukoenig
Fri Apr 29, 2011 10:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Arrangement of MSGWAIT- ALERT- and YESNO-function
Replies: 8
Views: 3872
Next

Return to advanced search