Search found 25 matches: ncolor1

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)  ...
by Silvio.Falconi
Mon Jan 09, 2023 12:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: alternate columns colors
Replies: 0
Views: 176

colorize xbrowse on specific col/row

... If I make For n= 1 to Len(aPos) nRow:= aPos[n][1] nCol:= aPos[n][2] oBrw1:aCols[nCol]:bClrStd := {|| { CLR_BLACK,IIf(oBrw1:nArrayAt=nRow, nColor1,CLR_WHITE) } } next it colorize only the last nRow , so I think it need to make a codeblock but I not Know How make it Can U help me pls
by Silvio.Falconi
Tue May 31, 2022 8:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: colorize xbrowse on specific col/row
Replies: 5
Views: 450

Re: search highest digit in the array

... calculated? 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: 488

Colorized cell of xbrowse

... return {|| { CLR_BLACK, ColorCell( 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 ...
by Silvio.Falconi
Fri Mar 04, 2022 10:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Colorized cell of xbrowse
Replies: 13
Views: 1316

Re: Tgroup not transparent in w10

... Gradient, 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 ...
by ukoenig
Fri Nov 16, 2018 8:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tgroup not transparent in w10
Replies: 3
Views: 829

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 Thank you Uwe. Probably my version of FWH1701 that does not support the command. ...
by karinha
Wed Feb 07, 2018 6:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Rao's samples collection.
Replies: 139
Views: 21644

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: 21644

Re: Resize gradient with Dialog Resize

Rick, Yes, 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 ...
by ukoenig
Fri Oct 09, 2015 3:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resize gradient with Dialog Resize
Replies: 9
Views: 2083

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

... horizontal // cBrush := "Brush.bmp" Brush // cImage := "image.jpg" Image // 2 = gradient selected // D_BACKGRD( oDlg, nStyle, nColor1, nColor2, nMove, lDirect, cBrush, cImage ) ACTIVATE DIALOG oDlg ; ON INIT D_BACKGRD( oDlg, 2, 116443068, 10899511, 0.5, "Brush.bmp", ...
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: 6957

Re: BackGround Painting

... OF oDlg3 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() ...
by ukoenig
Tue Feb 26, 2013 11:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BackGround Painting (SOLVED)
Replies: 14
Views: 4831

Ayuda con este codigo

... 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: 755

Image-selector Rel.1.2 UPDATE

... of a Image. 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: 658

A Problem using : VTitles, Gradient / Base and BtnBmp

... ( I would 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 ...
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: 778

Re: About box

... needed : 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: 2547

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

... do many 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 ...
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: 3686
Next

Return to advanced search