B4A Library [Lib] BetterDialogs

Discussion in 'Additional libraries, classes and official updates' started by Informatix, Jul 4, 2013.

  1. Star-Dust

    Star-Dust Expert Licensed User

    The version is too old the framework has received many updates over time, the most important and with the introduction of resumable sub.
    Since then we have lost a lot of compatibility with the past, we need to update and recompile with the new versions.

    Even if they were available the old recompiled sources would not be compatible with your version. It would be necessary to compile it with your own version.
    Also your version is not compatible with Android 6 specifications, runtime permission requests etc.
     
    Peter Simpson likes this.
  2. DonManfred

    DonManfred Expert Licensed User

    It is more than 6 years old. I strongly suggest to update to B4A 9
     
    Peter Simpson likes this.
  3. vecino

    vecino Well-Known Member Licensed User

    Hello, friends, I do not know if this message should go here.
    Please, have a moderator move it, if he thinks it necessary. Thank you.

    I am using this code and it works fine almost always. In some devices the keyboard is not always hidden. Sometimes yes, sometimes not.
    What am I doing wrong?
    Code:
    Sub InputBoxStringNew( cTitulo As String, cPregunta As String, cHintDefecto As String, cValorDefecto As String, cTxPos As String, cTxCan As String, bIsPassword As String ) As String
       
    Dim iRes As Int
       
    Dim id As BD_InputBoxParams
       
    id.Initialize
       
    id.Question = cPregunta
    '''   id.QuestionTextSize = 18
    '''   id.SpaceBetween = 4dip
       id.Hint = cHintDefecto
       
    id.Default = cValorDefecto
       
    id.InputTextSize = 24
       
    id.InputType = id.INPUT_TYPE_TEXT
       
    id.PasswordMode = bIsPassword   
    '''   id.Gravity = Gravity.CENTER_VERTICAL + Gravity.CENTER_HORIZONTAL
    '''   id.ValidationCallback = "Input_Validation"
       id.WithSuggestions = True
       iRes = BD.InputBox(cTitulo,
    id,cTxPos,cTxCan,"",funciones.LoadDrawable("ic_menu_edit"))
       
    If iRes = DialogResponse.POSITIVE Then
           
    Return id.Answer
       
    Else
           
    Return funciones.RETURNCANCEL
       
    End If
    End Sub
     
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