Search found 25 matches: hbitmap1

Return to advanced search

Re: load png from rpreview

oPreview:oZoom:hBitmap1 = FWBitmap( "Zoom2" )
oPreview:oZoom:hBitmap2 = FWBitmap( "OnePage2" )
oPreview:oZoom:bBmpNo = { || If( oPreview:lZoom, 2, 1 ) }


How I can converte it ? How I can change the images with mine pngs ?
by Silvio.Falconi
Thu Nov 16, 2023 7:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: load png from rpreview
Replies: 6
Views: 333

Re: load png from rpreview

... Yes of course but Then i have problems with zoom buttons because have two pngs Hbitmap1 and hbitmap2
by Silvio.Falconi
Wed Nov 15, 2023 9:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: load png from rpreview
Replies: 6
Views: 333

load png from rpreview

I need to coverte this function to use on rpreview to load my png images oBtn:hBitmap1 = FWBitmap2( "EXCEL" ) it run but the image is compress so is not compatible with png STATIC FUNCTION FWBitmap2( cResname ) LOCAL oBitmap DEFINE BITMAP oBitmap RESNAME ...
by Silvio.Falconi
Wed Nov 15, 2023 1:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: load png from rpreview
Replies: 6
Views: 333

MsgItem does not use FW_ReadImage

... nor FW_ReadBitmap but use ReadBitmap (not method)... I have the 18.01. In our code we use this workaround: if !empty(oMsgBar:aItems[6]:hBitmap1) PalBmpFree(oMsgBar:aItems[6]:hBitmap1) endif oMsgBar:aItems[6]:hBitmap1 := oMsgBar:ReadImage("DOWNLOAD_PNG") Maybe FiveTech wants ...
by AntoninoP
Mon Oct 15, 2018 1:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MsgItem does not use FW_ReadImage
Replies: 1
Views: 487

Re: html class

I tried to insert a btnbmp but it make error @ ::rcItem[1]+1, ::rcItem[3]-11 BTNBMP oBtnLeft SIZE 16, 16 OF Self oBtnLeft:hBitmap1 := LoadBitmap( 0, 32750 ) oBtnLeft:bAction := {|| Msginfo() } oBtnLeft:oFont := ::oWnd:oFont2:hFont I sent you test test Application===========   Path ...
by Silvio.Falconi
Thu Jan 25, 2018 10:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: html class
Replies: 14
Views: 2398

Re: Richedit on a dialog

... DEFINE BUTTON oBtn OF oBarMemo ; MESSAGE "Create a new file" TOOLTIP "New" NOBORDER ; ACTION oRTF:SetText( "" ) oBtn:hBitmap1 = FWBitmap( "new16" ) ... return nil //--------------------------------------------------------------------------------------------------// ...
by Silvio.Falconi
Wed Apr 20, 2016 8:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Richedit on a dialog
Replies: 17
Views: 8923

Re: XBrowse metodo ChangeBitmap() pierde recursos

... asi no? METHOD ChangeBitmap( ) CLASS TXBrwColumn // BtnGet if ::nBtnBmp > 0 .and. len( ::aBitmaps ) >= ::nBtnBmp DeleteObject( ::oBtnElip:hBitmap1 ) ::oBtnElip:hBitmap1 := ::aBitMaps[::nBtnBmp, BITMAP_HANDLE ] DeleteObject( ::oBtnList:hBitmap1 ) ::oBtnList:hBitmap1 := ::aBitMaps[::nBtnBmp, ...
by manuelcalerosolis
Thu Feb 05, 2015 9:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBrowse metodo ChangeBitmap() pierde recursos
Replies: 2
Views: 516

XBrowse metodo ChangeBitmap() pierde recursos

... METHOD ChangeBitmap( ) CLASS TXBrwColumn // BtnGet if ::nBtnBmp > 0 .and. len( ::aBitmaps ) >= ::nBtnBmp ::oBtnElip:hBitmap1 := ::aBitMaps[::nBtnBmp, BITMAP_HANDLE ] ::oBtnList:hBitmap1 := ::aBitMaps[::nBtnBmp, BITMAP_HANDLE ] ::oBtnElip:cCaption := "" else ...
by manuelcalerosolis
Thu Jan 29, 2015 12:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBrowse metodo ChangeBitmap() pierde recursos
Replies: 2
Views: 516

Cambios en BtnBmp (Manuel)

... mi implementación? Este es el cambio que he hecho, modificar el método disable(): METHOD Disable() INLINE ::hBitmap3 := IF(::hBitmap3=0, BMP2DIS(::hBitmap1) , ::hBitmap3) , ::Super:Disable(), ::Refresh() Gracias por tus aportaciones.
by jmartial
Tue Sep 23, 2014 3:01 pm
 
Forum: EasyReport, EasyDialog y EasyPreview
Topic: Cambios en BtnBmp (Manuel)
Replies: 5
Views: 1907

Re: Change BtnBmp Image at runtime

Done... Here's the code ............. If Len(Alltrim(oDbPro:IMAGEN)) > 0 aBoton[x,y]:hBitmap1 := FILoadFromMemory( oDbPro:IMAGEN, 10 ) aBoton[x,y]:hPalette1 := 0 Endif For some reason, if the first BMP is null, the others won't work, so asking if there is something ...
by Adolfo
Tue Mar 25, 2014 8:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change BtnBmp Image at runtime
Replies: 6
Views: 1108

Change BtnBmp Image at runtime

... I already change its prompt, associated Action, tooltip but the Image, I can't I tried hBmp = FILoadFromMemory( oDbPro:IMAGEN) aBoton[x,y]:hBitmap1:=hBmp aBoton[x,y]:Refresh() with no success at all Any Idea will be appreciated. Thanks in Advance From Chile Adolfo
by Adolfo
Tue Mar 25, 2014 2:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change BtnBmp Image at runtime
Replies: 6
Views: 1108

mas propuestas para Rpreview

... sería bueno tener un sistema de asignar nuestros propios iconos en vez los "nuevos por defecto" algo asi : iif ( ::lBmpDefault , oBtn:hBitmap1 := FWBitmap( "Bottom2" ) , oBtn:LoadBitmaps( "Bottom2" ) ) Aqui no estoy seguro que implementación sería la mejor .
by mastintin
Tue Aug 20, 2013 8:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: mas propuestas para Rpreview
Replies: 0
Views: 276

Re: RIBBON con imagenes PNG (SOLUCIONADO)

Saludos falta colocar una linea aquí anexo la clase con la linea modificada // en else de bmp ::HasAlpha( ::hBitmap1 ) // falta esta lineas METHOD LoadBitmaps( cName ) CLASS TRBtn local aBmpPal if ! Empty( cName ) if ! File( cName ) aBmpPal = PalBmpLoad( cName ) ::hBitmap1 = ...
by DARWIN UZCATEGUI
Sat Apr 27, 2013 7:33 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: RIBBON con imagenes PNG (SOLUCIONADO)
Replies: 7
Views: 1732

Re: DRAW A TEXT ON A BITMAP

Silvio,

I don't sure, but you can probe using this

aBtn[nBotone]:hBitmap1:hDC or

hDC := getDC( aBtn[nBotone]:hBitmap1 )

regards

Marcelo
by Marcelo Via Giglio
Tue Jul 17, 2012 12:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DRAW A TEXT ON A BITMAP
Replies: 35
Views: 8995

Re: Imagenes PNG en Ribbon

Hola

la data se llama hBitmap1
by Daniel Garcia-Gil
Wed Nov 23, 2011 11:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imagenes PNG en Ribbon
Replies: 5
Views: 1005
Next

Return to advanced search

cron