Search found 125 matches: setbrush

Return to advanced search

Re: Brush

... DEFINE IMAGE oImagem FILENAME cImagem oBrush := TBrush():new( ,,,, ResizeBmp( oImagem:hBitmap, 600, 600, .T. ) ) oImagem:End() oDlg:SetBrush( oBrush ) oBrush:End() Return NIL *----------------------------------------------------------------------------------*
by oliveiros junior
Fri Apr 19, 2024 1:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Brush
Replies: 9
Views: 159

Re: Create a Panel width a text

... oPanel1 is a ttaskpanel //the shadow oItem1:=Tpanel():New( oPanel1:nTitleHeight +10, 10,; oPanel1:nBottom-30,oPanel1:nWidth-40, oPanel1 ) oItem1:SetBrush( oBrushshadow ) //panel for the text oItem2:=Tpanel():New( 2, 2,; oItem1:nBottom-45,oItem1:nWidth-4, oItem1) oItem2:SetBrush( oBrushtext ) ...
by Silvio.Falconi
Thu Jan 04, 2024 10:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3187

Re: TBAR CON BRUSH DE FONDO

... FROM 118, 266 TO 561, 801 PIXEL ; COLOR 0, 14215660 DEFINE BUTTONBAR oBar OF oWnd _3D Size 030, 030 DEFINE BUTTON oBtn1 OF oBar oBar:SetBrush( oBrush ) ACTIVATE WINDOW oWnd RETURN NIL lo que pasa y necesito es el el jpg se ajuste a toda la tbar se podra?
by claudio.leiva
Thu Nov 02, 2023 4:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TBAR CON BRUSH DE FONDO
Replies: 11
Views: 650

Re: Bad look btnbmp disable()

... If( lInvert, aBru[ 2 ]:hBrush, aBru[ 1 ]:hBrush ) }   oBtn:disable()  RETURN NIL  another types Horizontal SetBrush( "HORIZONTAL", nRGB( 0, 255, 0 ) ) Vertical SetBrush( "VERTICAL", nRGB( 20, 30, 40 ) ) FDiagonal SetBrush( "FDIAGONAL", ...
by Silvio.Falconi
Thu Mar 09, 2023 9:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bad look btnbmp disable()
Replies: 9
Views: 722

Re: How to change SAY background color on transparent DIALOG

... BRUSH oBrush1 FILE "MARBLE.bmp" DEFINE BRUSH oBrush2 FILE "MARBLE6.bmp" DEFINE WINDOW oWnd FROM 70, 70 TO 400, 500 PIXEL oWnd:SetBrush( oBrush1 ) DEFINE DIALOG oDlg RESOURCE "Test" OF ownd PIXEL // TRANSPARENT oDlg:SetBrush( oBrush2 ) REDEFINE SAY oSay1 PROMPT "Test ...
by ukoenig
Sun Apr 04, 2021 11:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to change SAY background color on transparent DIALOG
Replies: 2
Views: 542

Colorize a dialog two colors

I use a brush to colorize a dialog DEFINE BRUSH oBrush1 COLOR COLORE_MIO oApp:oMyDialog:SetBrush(oBrush1) for reasons that I am not here to list now I would need to know if I can color a two-color dialog i.e. having a light blue color for two fingers above and another ...
by Silvio.Falconi
Tue Mar 31, 2020 11:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Colorize a dialog two colors
Replies: 3
Views: 705

Re: A METRO image-background without FREEIMAGE ?

... := TBrush():new( ,,,, ResizeBmp( oImage:hBitmap, aRect[4], aRect[3], .T. ) ) // 1 = stretch, 2 : fitoutside, 3:fitinside oImage:End() oMetro:SetBrush( oBrush ) RELEASE BRUSH oBrush is it possible to define a metro-image-background without using FREEIMAGE ? regards Uwe :?: Except the TImage() ...
by nageswaragunupudi
Mon Sep 09, 2019 4:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A METRO image-background without FREEIMAGE ?
Replies: 5
Views: 954

A METRO image-background without FREEIMAGE ?

... := TBrush():new( ,,,, ResizeBmp( oImage:hBitmap, aRect[4], aRect[3], .T. ) ) // 1 = stretch, 2 : fitoutside, 3:fitinside oImage:End() oMetro:SetBrush( oBrush ) RELEASE BRUSH oBrush is it possible to define a metro-image-background without using FREEIMAGE ? regards Uwe :?:
by ukoenig
Sat Sep 07, 2019 3:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A METRO image-background without FREEIMAGE ?
Replies: 5
Views: 954

Re: METRO with visible taskbar ?

... WS_POPUP ); COLOR CLR_WHITE, CLR_GREEN oMetro := MakeMetroPanel( oMWnd ) DEFINE BRUSH oBrush FILE c_Path1 + "earth.bmp" RESIZE oMetro:SetBrush( oBrush ) oBrush:End() oMetro:bRClicked := { |r,c,f,o| msginfo( 'HWND' + NUMTOHEX( oMWnd:hWnd, 8 ) ) } ACTIVATE WINDOW oMWnd ON INIT oMetro:Show() ...
by MarioG
Wed Jul 24, 2019 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: METRO with visible taskbar ?
Replies: 5
Views: 1355

Re: Error brush with scroll Panel class

I tried to insert

IF !Empty(cBackBrush)
DEFINE BRUSH oBrush1 FILENAME cBackBrush
ELSE
DEFINE BRUSH oBrush1 COLOR COLORE_SABBIA
ENDIF

oPanel:bResized := { || oPanel:SetBrush( oBrush1) }

but it is the same
by Silvio.Falconi
Fri May 03, 2019 11:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error brush with scroll Panel class
Replies: 3
Views: 488

creating a panel with border

I wish create a colored panel but I cannot show the border ...why ?
this is the sources :

oPanelCustomer:=Tpanel():New( 35, 5, 55, oFld:aDialogs[1]:nWidth-5, oFld:aDialogs[1])
oPanelCustomer:SetBrush( oBrushGreen )
oPanelCustomer:WinStyle(WS_BORDER, .t.)
by Silvio.Falconi
Mon May 21, 2018 6:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: creating a panel with border
Replies: 4
Views: 830

Re: METRO with visible taskbar ?

... WS_POPUP ); COLOR CLR_WHITE, CLR_GREEN oMetro := MakeMetroPanel( oMWnd ) DEFINE BRUSH oBrush FILE c_Path1 + "earth.bmp" RESIZE oMetro:SetBrush( oBrush ) oBrush:End() oMetro:bRClicked := { |r,c,f,o| msginfo( 'HWND' + NUMTOHEX( oMWnd:hWnd, 8 ) ) } ACTIVATE WINDOW oMWnd ON INIT oMetro:Show() ...
by ukoenig
Sun Jul 02, 2017 8:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: METRO with visible taskbar ?
Replies: 5
Views: 1355

Re: brush on PANEL

I tried with

aGrad :={ { 1, CLR_BLUE, CLR_WHITE } }
DEFINE BRUSH oBrush GRADIENT aGrad
oPanel:=TPanel(5,215,155,305,oDlg)
oPanel:SetBrush( oBrush )

I see all black!!!
by Silvio.Falconi
Mon Dec 19, 2016 1:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: brush on PANEL
Replies: 20
Views: 3608

Re: FWH 16.11 Texured Fonts

... // ----------------------- oBrush := WD_BACKGRD( oMetro, aVal[1], aVal[2], aVal[3], aVal[5], aVal[4], aVal[6], aVal[7] ) oMetro:SetBrush( oBrush ) oBrush:End() cText := "Stammdaten" aPalBmp := oWnd:ReadPalBmpEx( c_Pfad1 + "Blustone.bmp", nil, .t. ) pBrush ...
by ukoenig
Thu Dec 01, 2016 8:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.11 Texured Fonts
Replies: 8
Views: 1811

Re: TImage zoom

... oBrush := TBrush():new( ,,,, ResizeBmp( oImage:hBitmap, aRect[4], aRect[3], .T. ) ) // 1 = stretch, 2 : fitoutside, 3:fitinside oImage:End() oDlg:SetBrush( oBrush ) oBrush:End() define a new size and REDO using the original aRect best regards Uwe :?:
by ukoenig
Wed Apr 06, 2016 8:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TImage zoom
Replies: 14
Views: 2590
Next

Return to advanced search