Search found 35 matches: open2

Return to advanced search

Re: question gdiplus

oGraphics:DrawEllipse( oPen2, oBrush2 , 500, 100, 60, 60 )

Isn't it this you want to delete?
by Otto
Wed Sep 25, 2024 1:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: question gdiplus
Replies: 3
Views: 174

Re: question gdiplus

Silvio, Redraw the background only over the part where the old figure is. oGraphics:DrawEllipse( oPen2, oBrush2 , 500, 100, 60, 60 ) but for oBrush2 take the background brush. Or clear the entire drawing area. Best regards, Otto >Redraw the background only over the part ...
by Silvio.Falconi
Wed Sep 25, 2024 6:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: question gdiplus
Replies: 3
Views: 174

Re: question gdiplus

Silvio,
Redraw the background only over the part where the old figure is.
oGraphics:DrawEllipse( oPen2, oBrush2 , 500, 100, 60, 60 )
but for oBrush2 take the background brush.
Or clear the entire drawing area.

Best regards,
Otto
by Otto
Tue Sep 24, 2024 6:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: question gdiplus
Replies: 3
Views: 174

question gdiplus

... oPen := Pen():New( 255, 0, 0, 255 , 10 , .T.) local oBrush2 := Brush():NewSolidBrush( 150, 0, 255, 167 ) oPen:SetInset( ) oGraphics:DrawEllipse( oPen2, oBrush2 , 500, 100, 60, 60 ) then I want clear this figure to create another over , sample : oGraphics:DrawRect( oPen2, oBrush2 , 500, 100, 70, ...
by Silvio.Falconi
Tue Sep 24, 2024 11:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: question gdiplus
Replies: 3
Views: 174

Re: CODIGO DE BARRAS. ERROR CON FILLRECT()

... SIZE 0,-18 OF oPrn DEFINE FONT oFnt2 NAME "Arial" SIZE 0,-8 BOLD OF oPrn DEFINE BRUSH oBrush COLOR 0 DEFINE PEN oPen1 WIDTH 5 DEFINE PEN oPen2 WIDTH 15 COLOR 7873845 DEFINE PEN oPen3 WIDTH 1 COLOR 4556678 DEFINE PEN oPen4 WIDTH 3 COLOR 3123123 #DEFINE VACIA 0 #DEFINE RELLENA 1 oPrn:setpage(9) ...
by pedroluis
Sun May 12, 2024 8:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CODIGO DE BARRAS. ERROR CON FILLRECT()
Replies: 31
Views: 3439

Exportacíon Excel desde Reporte

... #define BLANCO 1 #define ROJO 2 #define AMARILLO 3 #define AZUL 4 #define VERDE 5 LOCAL NOME := SPACE(25) LOCAL oFont1, oFont2, oFont3, oPen1, oPen2, cTit cTit := ALLTRIM(NEWPAR->EMPRESA1) DEFINE FONT oFont1 NAME "ARIAL" SIZE 0,-10 DEFINE FONT oFont2 NAME "ARIAL" SIZE ...
by danielgustavo
Thu Jun 24, 2021 2:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Exportacíon Excel desde Reporte
Replies: 0
Views: 364

Re: Fwh19.05 - New Class TDockPnel

... 0 TABS oTabs PROMPTS "&One", "&Two" OF oDlg PIXEL ; BITMAPS "..\bitmaps\16x16\people.bmp", "..\bitmaps\open2.bmp",; "..\bitmaps\16x16\print.bmp", "..\bitmaps\open2.bmp" ; ACTION ( nTabPos := oTabs:nOption, ; IIF( nTabPos = 2, ...
by ukoenig
Tue Jun 04, 2019 5:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fwh19.05 - New Class TDockPnel
Replies: 17
Views: 3397

Re: class to make Report with tdatabase

STRANGE..... this morning I add DEFINE PEN ::oPen1 WIDTH 1 COLOR CLR_HGRAY DEFINE PEN ::oPen2 WIDTH 1 COLOR CLR_BLACK and REPORT ::oReport ; TITLE "ELENCO TARIFFE LISTINO ALTA STAGIONE" ; FONT ::oFont ; PEN ::oPen1,; ::oPen2 ; HEADER "Data: " + DTOC( ...
by Silvio.Falconi
Sat Jun 01, 2019 7:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: class to make Report with tdatabase
Replies: 5
Views: 1290

Re: How to use GDIPLUS -> NewGradientBrush ?

... ) LOCAL oGraphics3 := Graphics():New( oWnd:hDC ) LOCAL oGraphics4 := Graphics():New( oWnd:hDC ) LOCAL aRect := GETCLIENTRECT( oWnd:hWnd ), oPen1, oPen2 oGraphics1:DrawImage( oImage1, aRect[1] + 150 , aRect[2] + 250 , 200, 200 ) oGraphics1:destroy() oPen1 := Pen():New( 255 , 255, 0 , 0 , .T.) oPen1:Setsize(10) ...
by ukoenig
Sun Apr 07, 2019 1:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to use GDIPLUS -> NewGradientBrush ?
Replies: 11
Views: 2299

Possible to add < roundrect > to FW_CreateBitmap ?

... 600 } ), ; Drawroundrect(ownd) ) :?: FUNCTION DRAWROUNDRECT(ownd) local hdc:= oWnd:GETDC() local oGraphics := Graphics():New( oWnd:hDC ) local oPen2 := Pen():New( 255, 255, 0, 0 , 10 ) local oPath:= Path():new() oPath:AddRoundRect( 300, 250, 150, 100 , 20 ) oGraphics:DrawPath( oPen2, oPath ...
by ukoenig
Fri Mar 23, 2018 8:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to add < roundrect > to FW_CreateBitmap ?
Replies: 0
Views: 544

How to change / add the bitmap on the xBrowse-tree-column ?

... the sample xBrowsetree to my sample-collector. trying to add a bitmap on column 1 with WITH OBJECT oBrw3:aCols[ 1 ] :AddBmpFile( c_Path1 + "Open2.bmp" ) :bBmpData := 1 END on column 1, doesn't work. Using column 2, it is OK http://www.pflegeplus.com/IMAGES/Samples6.jpg ...
by ukoenig
Mon May 15, 2017 9:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to change / add the bitmap on the xBrowse-tree-column ?
Replies: 3
Views: 1029

Re: EXCESS RELEASE OF FONT

... bTextoSubgr,campoSubgr,nLtrSize,lPreview,lPrinterSetup) local oRpt local oFontNorm, oFontNegr local oPen1, oPen2 local i:=0 local cImpresoraSalida:="" default cTitulo1 TO '' default cTitulo2 TO '' default cCaption TO cTitulo1 default cCabecera1 ...
by Verhoven
Wed Feb 04, 2015 8:59 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: EXCESS RELEASE OF FONT
Replies: 28
Views: 8052

Problem with two xbrowse tree - possible bug in dblclick ?

... 640,440 PIXEL ; TITLE 'Directory' ; FONT oFont @ 10,10 XBROWSE oBrw SIZE 300,70 PIXEL OF oDlg NOBORDER oBrw:SetTree( oTree, { "\fwh\bitmaps\open2.bmp", ; "\fwh\bitmaps\16x16\folder.bmp", ; "\fwh\bitmaps\16x16\onepage2.bmp" } ) oBrw:bKeyChar := { |nKey| If( nKey == ...
by Marco Turco
Sun Jun 01, 2014 2:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with two xbrowse tree - possible bug in dblclick ?
Replies: 2
Views: 928

cGetFile replacement

... 640,440 PIXEL ; TITLE 'Directory' ; FONT oFont @ 10,10 XBROWSE oBrw SIZE 300,200 PIXEL OF oDlg NOBORDER oBrw:SetTree( oTree, { "\fwh\bitmaps\open2.bmp", ; "\fwh\bitmaps\16x16\folder.bmp", ; "\fwh\bitmaps\16x16\onepage2.bmp" } ) oBrw:bKeyChar := { |nKey| If( nKey == ...
by Marco Turco
Thu Feb 27, 2014 3:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cGetFile replacement
Replies: 2
Views: 816

Re: Report no hace bPostEnd

... *------------------------------------------------------------------------------- LOCAL oFont1, oFont2, oPen1, oPen2 Local oReport Local nSele := SELECT() DEFINE FONT oFont1 NAME "ARIAL" SIZE 0,-10 DEFINE FONT oFont2 NAME "ARIAL" SIZE 0,-9 ...
by FranciscoA
Mon Sep 27, 2010 2:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Report no hace bPostEnd
Replies: 14
Views: 2785
Next

Return to advanced search

cron