Search found 118 matches: oimg

Return to advanced search

Re: XIMAGE

... Me esta faltando algo? agregue esto antes de guardar la imagen cArchivo:=curdrive()+":\"+curdir()+"\imagenes\foto.jpg" oSelf:oImg:Save(.F.,cArchivo, 100) lo guarda pero me da un alert de here P y es molesto para el usuario final Cualquier sugerencia les agradezco
by Marcelo Roggeri
Tue Mar 05, 2024 1:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XIMAGE
Replies: 10
Views: 370

Re: Recortar foto tomada con la camara web

Leandro, Añade estas líneas al ejemplo photos.prg: local oPen, nX1, nY1, nX2, nY2 DEFINE PEN oPen COLOR CLR_YELLOW WIDTH 3 ... oImg:bLClicked = { | nRow, nCol | If( nX1 == nil, ( nX1 := nRow, nY1 := nCol ), ( nX1 := nil, nX2 := nil ) ) } oImg:bMMoved = { | nRow, nCol, hDC | If( nX1 != ...
by Antonio Linares
Tue May 23, 2023 4:13 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Recortar foto tomada con la camara web
Replies: 7
Views: 494

Re: Problemas al mostrar una imagen en dialogo

Hola. Gracias por interesarte en mi consulta. asi es como tengo el codigo. REDEFINE IMAGE oImg ID W_Img of oDlgSue FILENAME "SoelSac.BMP" //ADJUST REDEFINE BITMAP oImgBmp ID W_ImgBmp of oDlgSue FILENAME "SoelSac.BMP" el BITMAP es el que me da error ...
by jvtecheto
Mon Jul 18, 2022 7:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas al mostrar una imagen en dialogo
Replies: 8
Views: 984

Re: Problemas al mostrar una imagen en dialogo

Hola. Gracias por interesarte en mi consulta. asi es como tengo el codigo. REDEFINE IMAGE oImg ID W_Img of oDlgSue FILENAME "SoelSac.BMP" //ADJUST REDEFINE BITMAP oImgBmp ID W_ImgBmp of oDlgSue FILENAME "SoelSac.BMP" el BITMAP es el que me da error ...
by José Camilo
Mon Jul 18, 2022 4:53 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas al mostrar una imagen en dialogo
Replies: 8
Views: 984

Re: Error aleatorio impresión 'NIL' has no exported method: HWND

Leandro,

Parece que el error viene de esta línea de esreport.prg

oImg := TImage():New( 0, 0, 0, 0,,, IIF( oItem:nBorder = 1, .F., .T. ), ::oTmpWnd )

lo cual quiere decir que ::oTmpWnd viene nil. Ahora hay que ver por qué
by Antonio Linares
Sun Feb 27, 2022 11:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error aleatorio impresión 'NIL' has no exported method: HWND
Replies: 2
Views: 223

Re: Strange situation

... oFrg:Center()return  This entire code can be written as:   DEFINE DIALOG oDlg SIZE 575,569 PIXEL TRUEPIXEL   @ 0,0 XIMAGE oImg FILE ".\Natter\map.bmp" SIZE 0,0 OF oDlg NOBORDER   ACTIVATE DIALOG oDlg CENTERED  with the same functionality. As you said, you will ...
by nageswaragunupudi
Fri Oct 29, 2021 3:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange situation
Replies: 12
Views: 1132

Re: Change color in a bmp

... with BMP but I still noticed a problem using JPG :( Just change these lines xImage moving and zooming will delete selected colors :!: @ 4,1 XIMAGE oImg filename cFile SIZE 200,200 OF oDlg oImg:nUserControl := 0 oImg:oCursor := oHand oImg:blClicked := { | nCol, nRow | nPickRow := nRow, nPickCol ...
by ukoenig
Tue Mar 23, 2021 12:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change color in a bmp
Replies: 25
Views: 2543

Mostrar JPG desde RECURSO con BTNBMP

... BTNBMP oBtn ID 100 OF oDlgMnu RESOURCE "BOTON" ACTION Funcion()    oBtn:nClrText:={ |lMOver| If( lMover, (oIMG:SetBmp( "IMAGENJPG"),CLR_HBLUE), CLR_BLACK ) }   He intentado con oIMG:LoadBmp() igual no muestra. Gracias ...
by acuellar
Thu Apr 16, 2020 6:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mostrar JPG desde RECURSO con BTNBMP
Replies: 3
Views: 431

Re: mostrar imagen desde MARIAdb sin recordset...

Yo redefino el xImage asi REDEFINE XIMAGE oImg SOURCE oRecordSet:FOTO ID 103 OF oFldPro:aDialogs[ 6 ] UPDATE Pruebalo, funciona con tDolphin y FWMariaDb Saludos... EDIT : No me habia percatado que no querias tener un Recordset, sin embargo, solo ...
by Adolfo
Tue Dec 17, 2019 11:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: mostrar imagen desde MARIAdb sin recordset...
Replies: 7
Views: 1446

Re: Printing image with fixed width en height

René,

Please try it this way:

@ 30, 285 IMAGE oImg OF oPrn SIZE 250, 250 FILENAME cFoto
oImg:SetScaling( 3 )
oImg:SetFrame()
by Antonio Linares
Mon Nov 18, 2019 12:58 pm
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: Printing image with fixed width en height
Replies: 2
Views: 698

Re: IMAGE Control does NOT display .PNG resource

Maybe the missing size :?:

@ 10, 10 IMAGE oImg RESOURCE "save" PIXEL OF oDlg NOBORDER


@ 10, 10 IMAGE oImage SIZE 50, 50 RESOURCE "save" OF oDlg NOBORDER

best regards
Uwe :D
by ukoenig
Sat Oct 26, 2019 6:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: IMAGE Control does NOT display .PNG resource
Replies: 10
Views: 1364

Re: Problem with xImage

Please try
oImg:bRClicked := { ||nil}
by nageswaragunupudi
Thu Jan 31, 2019 4:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with xImage
Replies: 2
Views: 391

Re: Change the size of icons in FWH18.03

Please try
@ 100, 100 XIMAGE oImg SIZE 64, 64 OF oDlg RESOURCE "i_bmp(64x64)" NOBORDER

oBrw:aCols[nn]:AddResource( "blue(16x16)" )

I will explain more in my next post.
by nageswaragunupudi
Tue May 15, 2018 12:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change the size of icons in FWH18.03
Replies: 4
Views: 737

Re: Change the size of icons in FWH18.03

... 1 oBrw:aCols[nn]:nHeadBmpAlign:= AL_RIGHT ------------------------------------- To show in xImage icons 64x64 additionally added oImg:FitWidth() oImg:FitHeight () Now works fine
by Natter
Tue May 15, 2018 6:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change the size of icons in FWH18.03
Replies: 4
Views: 737

Change the size of icons in FWH18.03

My program has a string: @ 100, 100 XIMAGE oImg SIZE 64, 64 OF oDlg RESOURCE "i_bmp" NOBORDER The icon shown is of size 64x64 In FWH17.12 all right, in FWH18.03 I see the icon 32x32. Why? Icons 16x16 are inserted in the xBrowse column ...
by Natter
Mon May 14, 2018 4:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change the size of icons in FWH18.03
Replies: 4
Views: 737
Next

Return to advanced search