... from now on you can review warnings.log to get a copy of the warnings that Harbour shows only on the terminal. * Enhancement: Class TBitmap Method LoadImage() supports PNG files from disk. http://forums.fivetechsupport.com/viewtopic.php?p=143739 * Enhancement: Class TRbtn (used from the FWH RibbonBar) ...
SOLVED !!! any combinations of NON transparent with alphablended BMP / PNG http://www.pflegeplus.com/pictures/ResizeI3.jpg A combination of using ABPaint and PalBmpDraw is needed. For using ABPaint, You have to detect the Alpha-Image with IF lAlpha = .T. // Appl.-path// c_path := cFi...
WHEN i MAKE @ nY*numero, nx*numero IMAGE aBtn[nBotone] SIZE BMP_H,BMP_V OF oPanel FILENAME NIL PIXEL NOBORDER aBtn[nBotone]:LoadImage( , UMBRELLA_FREE ) aBtn[nBotone]:lTransparent := .T. IT IS OK WHEN i ADD THESE LINE IT CRASH AND NOT FOUND nBotone aBtn[nBotone]:bPainted = { || SetBkMode( ...
... muestro uno sin contenido, pero bueno, aún así, la imagen no se superpone, la muestra a su tamaño. Tal vez sea que estás usando LoadBmp y yo LoadImage. Lo tengo de la siguiente forma: ................REDEFINE IMAGE oFoto FILENAME cFoto ID 800; OF oDlg UPDATE oBrw:bChange:= {|| ...
... "C:\IMAGE.BMP" ) la carga desde el disco. Cómo cargo una imagen desde recurso? Gracias por la ayuda Saludos, Adhemar Please use method LoadImage() instead of LoadBmp() oImager:LoadImage( cBmpFile, cResourceName, [cResFileName] ) For loading bitmap file, oImager:LoadImage( cBmpFileName ...
... BM_FONDO2 4194304 0 retorno de GetErrMsg es: El nombre de recurso especificado no se encuentra en el archivo de imagen. en bitmap.prg METHOD LoadImage( cResName, cBmpFile ) CLASS TBitmap local lChanged := .f. local hBmpOld := ::hBitmap local hPalOld := ::hPalette local aBmpPal ...
... ltrim(STR(AScan( aItems, Trim( HW->type )))) after cbmp:=aGet[20]:cresname ,; WE told you... use LoadImage... In the start you use... @ 2, 250 BITMAP aGet[20] RESOURCE oggettoBmp[val(ltrim(cBmp))] NOBORDER PIXEL; ...
... ,; "Registratore" ,; "Tv" ,; "Videocamera" } and if I insert as return value this line aControl[20]:LoadImage( AllTrim( aItems[ AScan( aItems, Trim( HW->type )) ] ) ) go to load an image and not a number ( but I need a number not a cbmfile name) ...