Search found 177 matches: ncolor

Return to advanced search

Re: Bug in TBtnClr

Dear Enrico,

tbtnclr.prg modified as:

static Function PickColor(nColor,oControl)

many thanks for your feedback
by Antonio Linares
Fri May 19, 2023 6:52 am
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Bug in TBtnClr
Replies: 2
Views: 11324

Re: cyclometric circle

... also with ::bPainted := { |hDC|FillRectEx( ::hDC, aPoints, aGrad) } or ::bPainted := { |hDC|FloodFill( ::hDC, aPoints [1][1], aPoints [5][1], nil, nColor ) } or local hBru := CreateSolidBrush( nColor ) local hOld := SelectObject( ::hDC, hBru ) local hpen:=CreatePen(0,8,nColor) FillRect( ::hDC, ...
by Silvio.Falconi
Sat Dec 03, 2022 3:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 3015

Re: Ayuda con RICHEDIT5 Aplicar color al Focus

... un tema es cambiar el color al control cuando obtiene el foco ( algo parecido a lo que obtenemos al aplicar la function SetGetColorFocus( <nColor> ) ), y otro tema es cambiar el color del fondo al texto que escribimos ( que lo podemos hacer tantas cuantas veces necesitemos para dar la ...
by remtec
Mon Aug 29, 2022 7:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con RICHEDIT5 Aplicar color al Focus
Replies: 11
Views: 840

Re: Ayuda con RICHEDIT5 Aplicar color al Focus

... un tema es cambiar el color al control cuando obtiene el foco ( algo parecido a lo que obtenemos al aplicar la function SetGetColorFocus( <nColor> ) ), y otro tema es cambiar el color del fondo al texto que escribimos ( que lo podemos hacer tantas cuantas veces necesitemos para dar la ...
by cnavarro
Mon Aug 29, 2022 5:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con RICHEDIT5 Aplicar color al Focus
Replies: 11
Views: 840

Re: cyclometric circle

... Making this .. run bad https://i.postimg.cc/SxdKLwbC/bu.png  // refill area of Polygon     hBrush1 := CreateSolidBrush( nColor )     hOld1:= SelectObject( hBrush1 )     aRect:= { aPoints [1][1], aPoints [2][1], aPoints ...
by Silvio.Falconi
Sun Jul 31, 2022 9:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 3015

Re: cyclometric circle

I insert a Paint before of distance_multiple() method oCiclo:Paint() oCiclo:Distance_Multiple(val(num1),val(num2),val(num3),val(num4),val(num5),nColor,oCiclo:apos) https://i.postimg.cc/2S1JYLbd/ciclometric.gif Now How I can to refill the area with transparent color ? https://i.postimg.cc/0yk3BHx4/refi.jpg ...
by Silvio.Falconi
Fri Jul 29, 2022 4:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 3015

Re: Colorized cell of xbrowse

... := ChangeColor( oBrw, i )  Nages, give me error WITH OBJECT oBrw :nRowHeight := 22 :nClrBorder := CLR_GRAY :lDrawBorder := .t. :nColorBox := CLR_HRED :nMarqueeStyle := MARQSTYLE_HIGHLWIN7 :lHscroll := .f. :l2007 := .F. :l2015 := .f. :nStretchCol := STRETCHCOL_WIDEST :lAllowRowSizing ...
by FranciscoA
Mon Mar 07, 2022 2:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Colorized cell of xbrowse
Replies: 13
Views: 1269

Re: Colorized cell of xbrowse

... := ChangeColor( oBrw, i )  Nages, give me error WITH OBJECT oBrw :nRowHeight := 22 :nClrBorder := CLR_GRAY :lDrawBorder := .t. :nColorBox := CLR_HRED :nMarqueeStyle := MARQSTYLE_HIGHLWIN7 :lHscroll := .f. :l2007 := .F. :l2015 := .f. :nStretchCol := STRETCHCOL_WIDEST :lAllowRowSizing ...
by Silvio.Falconi
Sun Mar 06, 2022 4:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Colorized cell of xbrowse
Replies: 13
Views: 1269

Colorized cell of xbrowse

... END static function ChangeColor( oBrw, n ) 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 ...
by Silvio.Falconi
Fri Mar 04, 2022 10:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Colorized cell of xbrowse
Replies: 13
Views: 1269

Re: Errores OLE en TEXCELSCRIPT

... ,'Matrícula','Arial',09 ,.F. , , , 7 , , , ,1) //METHOD Say( nRow, nCol, xValue , cFont , nSize , lBold , lItalic ,lUnderLine, nAlign, nColor, nFondo , nOrien , nStyle , cFormat ) CLASS TExcelScript Como que "explota" el ole y el error sale en cualquier parte, adentro de un ...
by puenteda
Thu Feb 24, 2022 5:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Errores OLE en TEXCELSCRIPT
Replies: 9
Views: 1172

Re: New FTDN April/Abril 2021 (FWH 21.04)

... la pérdida de recursos en las fuentes. * Clase TWindow, método Line( top, left, bottom, right, color, size ) Ahora el quinto parámetro "nColor" puede ser también "oPen/hPen". En este caso, el _ parámetro "size" debería ser NIL u omitido. * Corrección: El comando ...
by Antonio Linares
Fri Jun 04, 2021 2:15 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2021 (FWH 21.04)
Replies: 8
Views: 1933

Re: Draw on top of a photo

I forgot to adjust the glow-effect-section ( 3D - look ) nlinetype 2 = glow FREE_LINE(Object, hDC, nTop, nLeft, nBottom, nRight, nLineType , nColor, nPensize, nTransp ) the used values with calculated size ( 10 = the given distance from border ) oImage:bPainted    := < |hDC|          nHeight ...
by ukoenig
Wed May 12, 2021 5:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Draw on top of a photo
Replies: 3
Views: 549

Re: Change color in a bmp

... := 0 oImg:oCursor := oHand oImg:blClicked := { | nCol, nRow | nPickRow := nRow, nPickCol := nCol,; FILLCOLOR(oImg, nPickRow, nPickCol, nColorSet ) } // ----------- FUNCTION FILLCOLOR( oImg, nRow, nCol, nColor ) LOCAL hDC := oImg:getDc() FloodFill( hDC, nRow, nCol, nil, nColor ) oImg:SaveToBmp( ...
by ukoenig
Tue Mar 23, 2021 12:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change color in a bmp
Replies: 25
Views: 2541

Return-value of the selected Windows-scalefactor ?

... 100 % scalefactor other selections must be adjusted with a defined factor : local hDeskTop := GETDC(0) local a := GETCURSORPOS() // Left Top local nColor := GETPIXEL( hDeskTop, a[2] * nMonScale , a[1] * nMonScale ) http://www.service-fivewin.de/IMAGES/scale1.jpg regards Uwe
by ukoenig
Tue Jan 26, 2021 9:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Return-value of the selected Windows-scalefactor ?
Replies: 2
Views: 343

Re: Cambiar el borde a un Get

Es muy interesante la funcionalidad que queres hacer.
En la clase TGraph hay metodos que te pueden ser de utilidad
METHOD DrawBox( nTop, nLeft, nBottom, nRight, nColor )
METHOD DrawLine( nY, nX, nHigh, nWidth, nColor, lDotted )
...
MESSAGE CreatePen METHOD _CreatePen()
METHOD DeletePen()
by cmsoft
Sat Jan 23, 2021 5:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambiar el borde a un Get *SOLUCIONADO*
Replies: 22
Views: 2240
Next

Return to advanced search