Search found 45 matches: obitmap

Return to advanced search

Júlio, Then try to use: oBitmap:Say( nRow, nCol, cText, ... ) METHOD Say( nRow, nCol, cText, nClrFore, nClrBack, oFont, lPixel,; lTransparent, nAlign ) Antonio, I tried with this implementation, but not works! oBitmap := TBitmap():redefine( ...
by JC
Wed Aug 27, 2008 6:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: "REDEFINE SAY ... TRANSPARENT" not work! SOLVED!
Replies: 22
Views: 3410

Júlio,

Then try to use:

oBitmap:Say( nRow, nCol, cText, ... )

METHOD Say( nRow, nCol, cText, nClrFore, nClrBack, oFont, lPixel,;
lTransparent, nAlign )
by Antonio Linares
Wed Aug 27, 2008 6:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: "REDEFINE SAY ... TRANSPARENT" not work! SOLVED!
Replies: 22
Views: 3410

Bitmaps

... when fl:del update Then when you change fl:del you'll need to issue a ftdetdlg:AEvalWhen(). In the mean time I got an even simpler solution, oBitmap:Show() & oBitmap:hide(). But thanks anyway. --------------------------------------------------------------------------------
by Antonio Linares
Wed Aug 27, 2008 7:34 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 65804

BACKGROUND ON A WINDOW

... MAXIMIZED; ON PAINT (showBitmaps( oWnd, hDC, oBmpSFONDO:hBitmap,oBmpSFONDO ) ) // this is good for BMPs STAT FUNC shwBitmaps( oWnd, hDC, hBmp, oBitmap ) LOCAL nTop := 0 LOCAL nLeft := 0 LOCAL nWidth := oWnd:nWidth() LOCAL nHeight := oWnd:nHeight() Local oSay IF hBmp = 0 RETURN NIL ENDIF PalBmpDraw( ...
by Silvio
Thu Mar 06, 2008 11:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BACKGROUND ON A WINDOW
Replies: 5
Views: 1086

... ::hDC, Self ) // Use cargo or add a new DATA to the class where ::Cargo may contain: { | hDC | If( lWaterMark, PalBmpDraw( hDC, nRow, nCol, oBitmap:hBitmap, oBitmap:hPalette, nWidth, nHeight ),) }
by Antonio Linares
Thu Nov 29, 2007 4:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printer metafile
Replies: 13
Views: 2580

Ricardo,

Tienes que definir ese código para ser llamado desde:

oBitmap:bPainted = { | hDC | ...tu código... }

así cada vez que se repinte el bitmap, volverá a dibujar las líneas.

Si la tercera aparece, las otras tambien deben aparecer, salvo que te estés equivocando en las coordenadas. Revísalas
by Antonio Linares
Mon Nov 12, 2007 6:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con Bitmap
Replies: 5
Views: 1043

Listbox missing horizontal lines after upgrading to xHarbour

... OA("C¢digo Postal"),OA("Ciudad"),OA("Tel‚fono"); ID 300; SIZES 96,250,288,288,112,248,128; ON CHANGE Veo_Mensa(@oGets,Recno(),@lFoto,oBitmap); OF oDlgMensa
by PAUL SIMM
Sat Jun 16, 2007 7:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listbox missing horizontal lines after upgrading to xHarbour
Replies: 4
Views: 1004

Problemas con oWndClient

... Tengo un problema cuando en cualquier aplicacion pongo un fondo en la ventana principal. Cuando lo pongo lo hago con la instrucción @ 0, 0 BITMAP obitmap FILE "ascwin.bmp" of oVentPrinc:owndclient() SIZE 800,600 NOBORDER Y cuando la aplicacion abre un dialog y pinchas sobre la imagen no sobre ...
by colthop
Fri Jul 14, 2006 10:46 am
 
Forum: FiveWin para CA-Clipper
Topic: Problemas con oWndClient
Replies: 1
Views: 687

Antonio,

REDEFINE BITMAP ::oBitmap ID 200;
OF ::oDlg;
RESOURCE "MIBITMAP"

::oBitmap:lTransparent := .T.

Esto sí me funciona en FWH.


Un Saludo,
Joaquín
by jmartial
Tue Jul 11, 2006 5:53 pm
 
Forum: FiveWin para Pocket PC
Topic: Bitmaps transparentes
Replies: 4
Views: 1071

Bitmaps transparentes

Hola,

He intentado mostrar un bitmap transparente y da error en el método paint.

oBitmap:lTransparent := .T. después de definirlo


¿ No se puede poner transparente en una pocket ?

Un Saludo,
Joaquín
by jmartial
Tue Jul 11, 2006 5:43 pm
 
Forum: FiveWin para Pocket PC
Topic: Bitmaps transparentes
Replies: 4
Views: 1071

... bitmap transparente, siendo el efecto que se quiere conseguir precisamente el contrario. No obstante, lo he solucionado de la siguiente manera: ::oBitmap:SetColor( , ::oFrame1:nClrPane ) Con esto ha tomado el color del control de fondo perfectamente. Pero ahí dejo la duda, ¿por qué la clausula ...
by jmartial
Mon Mar 20, 2006 5:20 pm
 
Forum: FiveWin para Pocket PC
Topic: Error en clase TBitmap
Replies: 2
Views: 948

Error en clase TBitmap

Hola, Hasta esta versión, lo siguiente se veía bien: REDEFINE BITMAP ::oBitmap ID 114 OF ::oDlg RESOURCE "PDAFONDO" En esta versión, se ve un recuadro blanco alrededor, por lo que le añadido la clausula TRANSPAREN y también he probado con oBmp:lTransparent ...
by jmartial
Mon Mar 20, 2006 11:16 am
 
Forum: FiveWin para Pocket PC
Topic: Error en clase TBitmap
Replies: 2
Views: 948

Tampoco esta:

@ 1,1 SAY oSay PROMPT "PROBANDO" OF oBitmap

:(
Help please !!!
by VeRCE
Fri Dec 16, 2005 10:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Poner texto sobre Bitmaps
Replies: 10
Views: 2321

Amigos, ninguna forma fucionó!

SetBkMode( oBitmap:hDC, 1 )
TextOut( oBitmap:hDC, 1, 1, "PROBANDO EL TEXTO" )
DrawText( oBitmap:hDC, "OTRA PRUEBA DEL TEXTO", { 1,1,500,500 } )


Alguna otra alternativa ???
by VeRCE
Fri Dec 16, 2005 10:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Poner texto sobre Bitmaps
Replies: 10
Views: 2321

Poner texto sobre Bitmaps

Tengo la siguiente Ventana: DEFINE WINDOW oWnd FROM 0,0 TO 45,90 TITLE NAMEPROGRAM ICON oIcon COLOR CLR_BLACK,RGB(172,194,139) DEFINE BITMAP oBitmap FILE ".\BMPS\FONDO.BMP" ACTIVATE WINDOW oWnd MAXIMIZED ; ON PAINT ColocaBitmaps( oWnd, hDC, oBitmap:hBitmap, oBitmap ) STAT FUNC ColocaBitmaps( ...
by VeRCE
Fri Dec 16, 2005 4:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Poner texto sobre Bitmaps
Replies: 10
Views: 2321
Previous

Return to advanced search