B4J Question [SOLVED] B4XPages / AddViewToKeyboard not valid in B4J?

christianjeannot

Member
Licensed User
Hello Community,

I have updated the B4X IDEs to the latest version.

When I check an App in B4J where I had used this code

B4X:
Private Sub AddViewToKeyboard(TextField1 As TextField, View1 As View)
    Dim no As NativeObject = TextField1
    no.SetField("InputAccessoryView", View1)
End Sub

I got this error in B4J IDE

B4X:
B4XNumberProfilePage - 76: Unknown type: view<br />Are you missing a library reference?

Is the code from AddViewToKeyboard only for B4I?

When I try to mark this with #If B4i the fun starts as i got several more errors in different modules.

Best regards

--Christian
 
Top