B4J Question FloatTextField CustomView

Discussion in 'B4J Questions' started by Nicola Ciaramellano, Apr 25, 2019.

  1. Nicola Ciaramellano

    Nicola Ciaramellano Member Licensed User

    Hi All,
    I'm finding very useful FloatTextField but seems that there isn't a method SetSelection or something like it, that there is in the standard TextField.
    Is it right, or am I missing something?
    Thanks!
     
  2. DonManfred

    DonManfred Expert Licensed User

    you are missing the fact that the object is a customview.
    You can get the Edittext behind with
    Code:
    Dim editfield As EditText = B4XFloatTextField1.TextField
        
    ' work with editfield
    I did used B4A but in B4J it works the same.

    Code:
    Dim edit As TextField = B4XFloatTextField1.TextField
     
    Last edited: Apr 25, 2019
    Erel and Nicola Ciaramellano like this.
  3. Nicola Ciaramellano

    Nicola Ciaramellano Member Licensed User

    Hi DonManfred,
    Thank you very, very much!!
    It works!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice