B4J Question How to set a Blank value into all B4XFloatTextFields in a Form

NamR

Member
Licensed User
Hi everyone,

I have a Form and I want to set Blank ("") value into all B4XFloatTextFields.

I try this code
B4X:
                            For Each n As Node In f.RootPane.GetAllViewsRecursive
                                If n Is B4XFloatTextField Then
                                    Dim nJo As JavaObject = n
                                    nJo.runmethod("setText",Array(""))
                                End If
                            Next

But I am getting this error


Thank you in advance.
 

NamR

Member
Licensed User

Hi Erel,

Thank you for correcting my implementation.

Cheers...
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…