Search found 20 matches: freebitmaps

Return to advanced search

Re: Cambio de imagen a 1 boton

... esta forma pero solo me cambia el CAPTION DEFINE BUTTON oBoton1 OF oBar FILE "Efectivo.bmp" ; ACTION (oBoton1:cCaption:='Cheque',oBoton1:FreeBitmaps(),oBoton1:LoadBitMaps("Cheque4.Bmp"),oBoton1:Paint(),oBoton1:refresh(),Cobros()) ; MESSAGE "Mantenimiento de Cobros"; ...
by José Camilo
Wed Feb 14, 2024 3:17 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambio de imagen a 1 boton
Replies: 10
Views: 215

Error en oCol:nBtnBmp

... n| DETA->PRODUC:=v }  Called from GDIP_DELETEIMAGE(0) Called from PALBMPFREE(1158) in .\source\classes\BITMAP.PRG Called from TBTNBMP:FREEBITMAPS(1035) in .\source\classes\BTNBMP.PRG Called from TBTNBMP:DESTROY(956) in .\source\classes\BTNBMP.PRG Called from (b)TBTNBMP(184) in .\source\classes\BTNBMP.PRG ...
by acuellar
Fri Apr 06, 2018 8:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en oCol:nBtnBmp
Replies: 12
Views: 1704

Mr. Rao, Error in 18.01

... C:\Windows\System32\fwpuclnt.dll Called from GDIP_DELETEIMAGE(0) Called from PALBMPFREE(1158) in .\source\classes\BITMAP.PRG Called from TBTNBMP:FREEBITMAPS(1035) in .\source\classes\BTNBMP.PRG Called from TBTNBMP:DESTROY(956) in .\source\classes\BTNBMP.PRG Called from (b)TBTNBMP(184) in .\source\classes\BTNBMP.PRG ...
by Ariel
Sun Feb 25, 2018 9:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Rao, Error in 18.01
Replies: 4
Views: 973

Mr. Rao, Error in 18.01

... C:\Windows\System32\fwpuclnt.dll Called from GDIP_DELETEIMAGE(0) Called from PALBMPFREE(1158) in .\source\classes\BITMAP.PRG Called from TBTNBMP:FREEBITMAPS(1035) in .\source\classes\BTNBMP.PRG Called from TBTNBMP:DESTROY(956) in .\source\classes\BTNBMP.PRG Called from (b)TBTNBMP(184) in .\source\classes\BTNBMP.PRG ...
by Ariel
Sun Feb 25, 2018 9:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mr. Rao, Error in 18.01
Replies: 4
Views: 1734

Re: Forma correcta de configurar clase TSBUTTON...alguna ayuda?

... not declared for method: Display()' .\prg\TSBUTTON.PRG(1003) Error E0019 #error: 'Class "TSButton" not declared for method: FreeBitMaps( nBitMap )' .\prg\TSBUTTON.PRG(1135) Error E0019 #error: 'Class "TSButton" not declared for method: GetDlgCode( nLastKey )' .\prg\TSBUTTON.PRG(1159) ...
by Compuin
Mon May 02, 2016 2:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Forma correcta de configurar clase TSBUTTON...alguna ayuda?
Replies: 14
Views: 3949

Re: New FTDN January/Enero 2016 (FWH 16.01)

... other bitmaps. Img can be any image filename, resource, hbitmap, etc. Direct modification of oBtn:hBitmap? may be avoided. - Enhanced Method FreeBitmaps(...). Calling the method without parameters releases all bitmaps as previously. Now we can specify which bitmaps are to be released. Eg. ...
by Antonio Linares
Fri Jan 29, 2016 8:48 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2016 (FWH 16.01)
Replies: 3
Views: 2129

New FTDN January/Enero 2016 (FWH 16.01)

... other bitmaps. Img can be any image filename, resource, hbitmap, etc. Direct modification of oBtn:hBitmap? may be avoided. - Enhanced Method FreeBitmaps(...). Calling the method without parameters releases all bitmaps as previously. Now we can specify which bitmaps are to be released. Eg. ...
by Antonio Linares
Sun Jan 24, 2016 8:42 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2016 (FWH 16.01)
Replies: 3
Views: 2129

Re: Actualizar Buttonbar

Carlos, asi lo he hecho, incorporando el freebitmap: if lAviso oBtnFilter:FreeBitmaps() oBtnFilter:LoadBitmaps( "bRojo" ) oBtnFilter:cTooltip := cM[15] oBtnFilter:cMsg := cM[16] else oBtnFilter:FreeBitmaps() oBtnFilter:LoadBitmaps( "bVerde" ...
by Manuel Valdenebro
Sun Jan 29, 2012 12:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Actualizar Buttonbar
Replies: 4
Views: 815

Re: Cambiar imagen de un BottonBMP en tiempo de ejecucion

Carlos

tienes que liberar los bitmap anteriores antes de cargar uno nuevo, sino te quedaras sin recursos

usa el metodo FreeBitMaps(), pero ojo eso libera todos los bitmaps del objeto
by Daniel Garcia-Gil
Thu Jan 26, 2012 6:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambiar imagen de un BottonBMP en tiempo de ejecucion
Replies: 7
Views: 2049

Re: Cambiar imagen de un BottonBMP en tiempo de ejecucion

... = imagen cuando el mouse pasa sobre el boton Nota... es importante antes de asignar nuevas imagenes, liberar las imagenes anteriores primero usa FreeBitmaps()
by Daniel Garcia-Gil
Wed Jan 25, 2012 12:48 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambiar imagen de un BottonBMP en tiempo de ejecucion
Replies: 7
Views: 2049

GPF ERROR - Freebitmaps()

... Mauricio: http://forums.fivetechsupport.com/viewtopic.php?f=3&t=16168 Consegui simular o ERRO, e a função responsavel por gerar a GPF: btnbmp:Freebitmaps() Uma parte do codigo: @ 00,00 btnbmp MoBtn[i] resource qualmod2 top size 60,64 of oWndc pixel ... for nContaMesas := 1 to nMaxMesa sysrefresh() ...
by MGA
Mon Apr 19, 2010 5:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GPF ERROR - Freebitmaps()
Replies: 0
Views: 325

Re: GPF error

Maurizio, I managed to reproduce the same problem. The problem with this function freebitmaps (), after a while using the system generates a GPF me.

You could solve the problem?
by MGA
Mon Apr 19, 2010 5:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GPF error
Replies: 11
Views: 2548

Re: preview alpha 2

... hOldRes ) return nil endif if ::lZoom ::Zoom( .T. ) endif if ! IsAppThemed() .or. Upper( ::oBar:ClassName() ) == "TBAR" ::oTwoPages:FreeBitmaps() ::oTwoPages:LoadBitmaps( "One_Page2" ) ::oTwoPages:cMsg := TXT_PREVIEW_ON_ONE_PAGE ::oTwoPages:cTooltip := StrTran( TXT_ONEPAGE, ...
by dobfivewin
Thu Jan 14, 2010 10:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: preview alpha 2
Replies: 2
Views: 2030

Re: GetPrintDC()

... DEVICE:nVertSize() lTwoPages := !lTwoPages MessageBeep() SetResources(hOldRes) RETU nil endif if lZoom Zoom(.T.) endif if IsAppThemed() oTwoPages:FreeBitmaps() oTwoPages:LoadBitmaps("One_Page2") oTwoPages:cMsg := TXT_PREVIEW_ON_ONE_PAGE oTwoPages:cTooltip := StrTran(TXT_ONEPAGE,"&","") ...
by jbrita
Tue Nov 24, 2009 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2704

Re: GPF error

... ) NEXT The problem is that after 10 minutes I have the GPF error and i think that is in the function PalBmpFree( ::hBitmap1, ::hPalette1 ) OF ::FreeBitmaps() OF ::Setfile() This is with FW June 2009 With a old version of FW March 2008 all works fine . Regards Maurizio
by Maurizio
Wed Jul 22, 2009 10:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GPF error
Replies: 11
Views: 2548
Next

Return to advanced search