input

  1. J

    Android Code Snippet Edittext verify input

    Using edittext.setError() and Regex we can verify the input of the user in an edittext box, by identifying the pattern of the input text and setting the error flag or discoloring the text whenever it did not comply to the required rule as email and currency. In the same way as in the example we...
  2. K

    Android Question B4XInputTemplate text cant be changed by user when called in sub

    Hello everyone! I use B4X and call this sub (located in B4XMainPage) from various modules: Public Sub DBRF(ScanHere As B4XView, CallRoot As B4XView) Public ThirdDialog As B4XDialog ThirdDialog.Initialize(CallRoot) ThirdDialog.BorderCornersRadius = 44 ThirdDialog.Title = "Debug...
  3. M

    iOS Code Snippet Input Dialog (modal) - slightly modified from the Erel one

    The original code: https://www.b4x.com/android/forum/threads/inputdialog-function.52811/post-331242 I modified the code to be able to add two buttons, and receive the "Success" parameter to distinguish when the user tap on the positive button or cancel button. Sub Button1_Click Dim no As...
  4. M

    Android Question Native Input Dialogs Android (No B4XDialogs)

    Hi everyone, how can implement the native input dialogs of Android in my app? i found this code here, but i don't know how to convert it: private void showForgotDialog(Context c) { final EditText taskEditText = new EditText(c); AlertDialog dialog = new AlertDialog.Builder(c)...
Top