Search found 39 matches: obrush1

Return to advanced search

Brush on btnbmp with color

I made #include "FiveWin.ch"Function test()local oDlg,ofontlocal oBrowselocal aData:= {}local oBrush1,oBrush2local obtn    DEFINE BRUSH oBrush1  STYLE HORIZONTAL    DEFINE BRUSH oBrush2  STYLE HORIZONTAL   DEFINE FONT oFont NAME "TAHOMA" SIZE 00, ...
by Silvio.Falconi
Wed Feb 08, 2023 9:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Brush on btnbmp with color
Replies: 8
Views: 679

Re: How to change SAY background color on transparent DIALOG

... A little test #include "Fivewin.ch" FUNCTION MAIN() local oWnd, oDlg, oSay1, oSay2, oFont, oBrush1, oBrush2 DEFINE FONT oFont NAME "Arial" SIZE 0,-18 BOLD DEFINE BRUSH oBrush1 FILE "MARBLE.bmp" DEFINE BRUSH oBrush2 FILE ...
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: 543

xImage - problem with < MOVE >

... complete window is moved on imagecapture. All other functions are working. DEFINE WINDOW oWnd FROM 0,0 TO 850, 600 PIXEL ; STYLE WS_POPUP BRUSH oBrush1 http://www.service-fivewin.de/IMAGES/Move9.jpg regards Uwe :?: :?:
by ukoenig
Mon Mar 29, 2021 7:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xImage - problem with < MOVE >
Replies: 5
Views: 966

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 ...
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: Any tests drawing text with GDIPLUS ?

It is working now LOCAL oBrush1 := Brush():NewSolidBrush ( 255, 255, 128, 0 ) // Orange DEFINE FONT oFontLarge NAME "Arial" SIZE 0, -30 BOLD ITALIC // font and size oGraphics:DrawTextLFont( 50, 125, "mod harbour", ...
by ukoenig
Mon Sep 30, 2019 1:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Any tests drawing text with GDIPLUS ?
Replies: 7
Views: 1541

Re: Any tests drawing text with GDIPLUS ?

... for each sample FUNCTION DRAWROUNDRECT(oWnd, oFont1) LOCAL hdc := oWnd:getdc(), aImage LOCAL oPen := Pen():New( 255, 0, 0, 255 , 10, .T.) LOCAL oBrush1 := Brush():NewSolidBrush( 255, 255, 128, 0 ) // Orange LOCAL oBrush2 := Brush():NewGradientBrush( 300, 200, 200, 200, 1,; 255, 255, 128, 0,; ...
by ukoenig
Thu Sep 26, 2019 10:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Any tests drawing text with GDIPLUS ?
Replies: 7
Views: 1541

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

Re: Ribbon Bar Sample ?

... I think it has to be MDI to run. DEFINE WINDOW oWnd TITLE "RibbonBar Test " + FWVERSION from 1,1 to 600,600 pixel MDI MENU oMenu brush oBrush1 It errors out on this line because it expects the MDI window to exist. DEFINE DIALOG oDlgRB[1] FROM 0,0 TO 538,782 OF oWndr:oWndClient PIXEL ...
by James Bott
Thu Oct 25, 2018 12:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon Bar Sample ?
Replies: 13
Views: 2669

Problem with scroll and bRush

... i move the scroll the bruh make error see here : https://s33.postimg.cc/74wtlgf0v/Immagine.png How I can resolve it ? DEFINE BRUSH oBrush1 FILENAME ".\bitmaps\spiaggia.bmp" DEFINE DIALOG oDlg SIZE 1100,700 BRUSH oBrush1 ; STYLE nOR( DS_MODALFRAME, WS_POPUP, WS_CAPTION, ...
by Silvio.Falconi
Thu Aug 09, 2018 4:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with scroll and bRush
Replies: 2
Views: 498

Re: strange error with png files

... window-size and wanted backgound-color 3. past the copied image 4. save the new merged image as new image 5. use it as a wnd-brush DEFINE BRUSH oBrush1 FILENAME c_path1 + "Backgrd.png" DEFINE WINDOW oWnd FROM 50, 50 TO 600, 800 TITLE "GDIPLUS-test" ; STYLE WS_POPUP BRUSH ...
by ukoenig
Wed Jan 13, 2016 8:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: strange error with png files
Replies: 2
Views: 559

Re: Any infos about function < C5RoundRect > ?

Antonio, THANK YOU VERY MUCH ! it works fine that way. Now I understand the logic. it can be a brush-combination : DEFINE BRUSH oBrush1 STYLE NULL DEFINE BRUSH oBrush2 COLOR 255 with some calculations, it will be possible, to get some nice effects. I will add four possible forms : 1. round ...
by ukoenig
Mon Apr 14, 2014 5:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Any infos about function < C5RoundRect > ? ( solved )
Replies: 3
Views: 866

XBROWSE NO ABRE DBFS CORRECTAMENTE

... ayuda? Gracias. //--------------------- FUNCTION Sys280(oWPpal) LOCAL oWnd, oDlg, oIco, oLbx, oBrw, cNom, n, nx, oFon1, nNroReg, oBtn[6], oBrush, oBrush1, oFld1, oDlgActive DEFINE BRUSH oBrush COLOR RGB(238,238,238) DEFINE BRUSH oBrush1 FILE "wall.bmp" DEFINE ICON oIco RESOURCE "GUIINGALentes" ...
by Luis
Fri Nov 15, 2013 4:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE NO ABRE DBFS CORRECTAMENTE
Replies: 1
Views: 1226

Re: uso de checkres()

Antonio
Este mismo criterio hay que seguir con los : oBrush := oBrush1 p.e., es decir no usarlo?
Gracias
by cnavarro
Mon Jul 22, 2013 4:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: uso de checkres()
Replies: 6
Views: 809

Radio y Brush

... Tengo un dialog al que le cambio el fondo (brush) durante la ejecución de la aplicación. Con los say no tengo problema porque hago oSay:setbrush(oBrush1). El problema lo tengo con un RadioButton al cual no se le puede hacer oRadio:setbrush(oBrush1) porque da error . Más abajo una captura de pantalla ...
by rolando
Sun Apr 21, 2013 10:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Radio y Brush
Replies: 8
Views: 853

Re: XBrowse - Midi y lRegistered

... echarte una mano en lo que esté a mi alcance...... .../... local cControl := "TPanel" local aPnels := {} local aClrPnels := {} local oBrush1 local cPanel := "wcia21.bmp" //"wcia2.bmp" Local oBrw1 Local oBrw2 hDC := GetDeskTopWindow() aRes := GetClientRect( hDC ...
by cnavarro
Thu Feb 21, 2013 5:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBrowse - Midi y lRegistered
Replies: 14
Views: 2525
Next

Return to advanced search