Find this code from an older thread:
When compiling results in 'unknown type Nativeobject'
What library? is missing
Regards
B4X:
'state: 0 - normal, 1 - highlighted, 2 - disabled
Sub SetBackgroundImage(b As Button, bmp As Bitmap, state As Int)
Dim no As NativeObject = b
no.RunMethod("setBackgroundImage:forState:", Array(bmp, state))
End Sub
What library? is missing
Regards