Page 1 of 1

MenuItem.Bitmap does not work

Posted: Sun Dec 25, 2011 10:58 am
by Angel
Now in the updating December fnxbasic2011, MenuItem.Bitmap, properties and methods does not work.  Error 8 line..` 426OADFromfile`not declared/unknown.
`Code
`Resource Bmp_Res as "save.bmp"
object forma as form
  width=640
  height=480
  center
  object mnuPrincipal as mainmenu
    Object itmArchivo as menuItem
      Caption="Archivo"
      Object itmAbrir as menuitem
        Caption="Guardar"
       `bmpresource(bmp_res)
        `{ERROR!!}
        bitmap.loadFromFile("save.bmp")
      End Object
    End Object
  end object
  object boton as facebutton
    `Caption="Guardar"
     bitmap.LoadFromFile("Save.bmp")
  End object
End Object
forma.showModal
` End code
      

MenuItem.Bitmap does not work

Posted: Sun Dec 25, 2011 4:33 pm
by Marco
Hi, i already know the bitmap function does not work anymore on the new windows versions, the bitmap is cleared after putting it at an object.
So, i must find a replacement to do so or abandon the bitmap function.
just busy with the problem, it is a compatebility problem.
best ragards marco