MenuItem.Bitmap does not work

Here one can report bugs or hold discussions about bugs updates and work arounds.
Post Reply
Angel
Posts: 87
Joined: Sat Nov 19, 2011 9:34 am

MenuItem.Bitmap does not work

Post: # 788Post Angel
Sun Dec 25, 2011 10:58 am

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
      

Marco
Site Admin
Posts: 246
Joined: Sat Sep 15, 2018 8:41 pm

MenuItem.Bitmap does not work

Post: # 789Post Marco
Sun Dec 25, 2011 4:33 pm

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

Post Reply