MenuItem.Bitmap does not work
Posted: 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
`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