... 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. --------------------------------------------------------------------------------
... 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( ...
... ::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 ),) }
... 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
... 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 ...
... 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 ...
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 ...