... a problem when I show the listbox not show nitmaps on nlevel field and it not show color of the listbox local aHBitMaps:=Array( 5 ) aHBitMaps:= { ReadBitmap( 0, CurDir() +"\Level1.bmp" ), ; // BitMaps de 14 x 32 ReadBitmap( 0, CurDir() +"\Level2.bmp" ), ; ReadBitmap( 0, CurDir() ...
... en una variable son: 1. Desde recursos: local hBmp := LoadBitmap( GetResources(), cBmpResName ) 2. Desde un fichero BMP externo: local hBmp := ReadBitmap( 0, cBmpFileName ) En FWPPC\samples\Tutor10.prg tienes un ejemplo de ReadBitmap()
... a AygShell. Tendras que conseguir quitar todas las referencias a ella: function CeSetmenu() ; return nil function GetMenu() ; return nil function ReadBitmap() ; return nil function PalBmpRead() ; return nil
... a AygShell. Tendras que conseguir quitar todas las referencias a ella: function CeSetmenu() ; return nil function GetMenu() ; return nil function ReadBitmap() ; return nil function PalBmpRead() ; return nil
... I tested BMP ( 15 x 15 with a red circle ) Is there a special format to be used ? It looks a bit funny. oBmp5 := ReadBitmap( 0, BRSELECT2 ) // the Bitmap oLbx0:hBmpRecSel( oBmp5 ) http://www.pflegeplus.com/pictures/setting8.jpg i don't know why, ...
BITMAPS -------------------------------------------------------------------------------- It is easy to use a bitmap in a listbox. Local Lbx2Bmp := {ReadBitMap(0,"Leeg.Bmp"),; ReadBitMap(0,"Gevuld.Bmp") } This can be used in a listbox. At this way the program directory contains a lot of files. If ...
... yet. We plan to provide it soon. Regarding the message bar, you have to provide a function that returns a bitmap handle (use LoadBitmap() or ReadBitmap()). Just replace this function with your own in source\classes\msgbar.prg: hBmp = MsgBar2007( ::hDC ) whatever bitmap you return there, it ...
Lisa, Estas usando un browse. No debes llamar a ReadBitmap() desde cada línea, pues estas creando muchísimos handles a bitmaps y consumes mucha memoria GDI. Lo más sencillo es hacerlo asi: @ 4.5, 1 LISTBOX oLbx FIELDS aFile[ oLbx:nAt ...