Search found 144 matches: background

Searched query: background

by Silvio.Falconi
Thu Jan 09, 2025 9:16 pm
Forum: FiveWin for Harbour/xHarbour
Topic: BTNBMP image
Replies: 0
Views: 85

BTNBMP image

... cc/SRBQ5pfn/test2.jpg


if I upload a png I get a Stretch image

https://i.postimg.cc/HsWCYnVT/J.png

only if I insert the color (color CLR_BLACK,CLR_WHITE) then I get a clear image but I think it's a forced thing because I won't always have the image on a white background

How can I solve it?
by Silvio.Falconi
Thu Jan 09, 2025 12:44 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Btnbmp with a line
Replies: 5
Views: 230

Btnbmp with a line

... text in a btnbmp?

example

https://i.postimg.cc/DwYGn8n9/btnbmp.png


if there is no image the text must be in the center without the line

https://i.postimg.cc/5N4Qzw0c/g.png

I saw that if I upload an image on a white background the button then puts the text on a gray background
Any solution ?
by Silvio.Falconi
Mon Dec 09, 2024 1:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: create a circle colored in a dialog
Replies: 5
Views: 400

Re: create a circle colored in a dialog

... png

I wnated create a chromatic circle to enable the classification of color shades of dyes as the choosecolor circle
sample https://www.shutterstock.com/shutterstock/photos/1721319283/display_1500/stock-vector-color-wheel-isolated-circle-on-white-background-vector-illustration-1721319283.jpg
by José Camilo
Wed Oct 30, 2024 11:31 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta color en xbrowse
Replies: 3
Views: 518

Consulta color en xbrowse

... 10 OF oDlg ;
SIZE 740,AltoBrw2 PIXEL ;
JUSTIFY .f.,.t.,.f.,.t.,.f.,.f.,.f.,.t.,.t.,.t. ;
ALIAS cAlias AUTOSORT FOOTERS LINES CELL NOBORDER ;
BACKGROUND aQueGrad VERTICAL
// COLSIZES 90,50,120,60,120,40,40,100,60,100 OF oDlg ;

oBrw:nStretchCol := 2
oBrw:nRowHeight := 30
oBrw:nMarqueeStyle := 4 ...
by Silvio.Falconi
Wed Sep 25, 2024 6:17 am
Forum: FiveWin for Harbour/xHarbour
Topic: question gdiplus
Replies: 3
Views: 487

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 where the old figure is ...
by Otto
Tue Sep 24, 2024 6:05 pm
Forum: FiveWin for Harbour/xHarbour
Topic: question gdiplus
Replies: 3
Views: 487

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 FranciscoA
Sat Sep 21, 2024 6:16 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Xbrowse con BACKGROUND y Color de Celdas
Replies: 0
Views: 456

Xbrowse con BACKGROUND y Color de Celdas

Se puede?
Tengo el siguiente codigo, que si omito el BACKGROUND del XBrowse funciona OK, de lo contrario no colorea fondo de las Celdas:

#include "fivewin.ch"
#include "xbrowse.ch"
STATIC aMe, aRu

//--------------------------------------------//
FUNCTION Main() //ColorDeCeldas()
local n, oDlg ...
by TOTOVIOTTI
Thu Sep 19, 2024 10:23 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Webview 2 + Html + ChatGPT !
Replies: 60
Views: 7586

Webview 2 + Html + ChatGPT !

... cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background-color: #8b93bb; /* Beige claro */
}
.dashboard {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px ...
by nageswaragunupudi
Tue Sep 10, 2024 4:14 am
Forum: FiveWin for Harbour/xHarbour
Topic: FwH 2.07 hb_MEMOREAD() does not work ?
Replies: 4
Views: 590

Re: FwH 2.07 hb_MEMOREAD() does not work ?

... MULTILINE does not work correct like before so i can´t see it (Black on Black)

We confirm this is a bug in 2407. This creates problem when the background color is black.
For now, please use this work-around.
Do not use COLOR clause and instead use oGet:SetColor(...) in the next line like this:
@ r ...
by wilsongamboa
Tue Sep 10, 2024 12:09 am
Forum: FiveWin para Harbour/xHarbour
Topic: ajustar una imagen en un dialogo como background
Replies: 15
Views: 2353

Re: ajustar una imagen en un dialogo como background

Master Rao asi quedo con sus consejos lo dejo me gusta
Image

muchas gracias
by nageswaragunupudi
Mon Sep 09, 2024 1:54 am
Forum: FiveWin para Harbour/xHarbour
Topic: ajustar una imagen en un dialogo como background
Replies: 15
Views: 2353

Re: ajustar una imagen en un dialogo como background

This is not correct
function BuildBrush( oDlg )

local oImage, oBrush, aRect := oDlg:GetRect()

DEFINE IMAGE oImage FILENAME ".\logo.jpg"

oBrush := TBrush():new( ,,,, ResizeBmp( oImage:hBitmap, aRect[4], aRect[3], .T., ) ) // 1 = stretch, 2 : fitoutside, 3:fitinside
oImage:End()
oDlg:SetBrush ...
by wilsongamboa
Sat Sep 07, 2024 12:53 am
Forum: FiveWin para Harbour/xHarbour
Topic: ajustar una imagen en un dialogo como background
Replies: 15
Views: 2353

Re: ajustar una imagen en un dialogo como background

Muchas gracias a todos voy a revisar y comentaré
Saludos
by karinha
Fri Sep 06, 2024 12:47 pm
Forum: FiveWin para Harbour/xHarbour
Topic: ajustar una imagen en un dialogo como background
Replies: 15
Views: 2353

Re: ajustar una imagen en un dialogo como background


// C:\FWH\SAMPLES\OLIVEJR1.PRG - By Joao Santos.

#include "FiveWin.ch"

STATIC oFont, oFont2, oSay, oSay2, oSay3

FUNCTION Main()

LOCAL oDlg, oImagem, oBtn, nNum := 0, oGet, oGet2, oEmail
LOCAL cImagem := "..\bitmaps\pngs\2.png"
LOCAL dDat := Date()
LOCAL cEmail := "Wilson.josenet@gmail.com ...
by wilsongamboa
Thu Sep 05, 2024 8:48 pm
Forum: FiveWin para Harbour/xHarbour
Topic: ajustar una imagen en un dialogo como background
Replies: 15
Views: 2353

Re: ajustar una imagen en un dialogo como background

creo que eso si esta lo que quisiera es que se opaque un poco la imagen de fondo pára que se distingan bien los gets
perdon si estoy pidiendo cosas erroneas
saludos y gracias