1. M

    Android Question how to format date and time columns in B4XTable

    I work on the application, which should be used by Parkinson ill people to enter their good and bad times (on and off times). Ich have three columns in the sqlite database. In the first column the date is being saved, in the second one the time of the day. In the third the number should be...
  2. Alexander Stolte

    Android Code Snippet [B4X] Check Valid E-Mail Format

    Private Sub EmailAddressCheck(email As String) As Boolean Return Regex.IsMatch("^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$",email) End Sub If EmailAddressCheck("") = True Then Log("E-Mail is valid") Else...
  3. R

    Android Question EditText with formatted numbers

    Is it somehow possible to have an EditText, holding decimal numbers, where the number shows as x decimals, but where the actual value (the value you get if you do edtTest.Text) remains at y decimals as when the value was set for that EditText? So, for example I do edtTest.Text = 12.1234 then the...

    Wish Past format

    Hello, I dont know if it would be usefull , or if that already exists but that i have not see With the designer tool, when a complicated layout creation i would get the "Past Format" button for copying the settings on all selected views (with same type) ? have a good week Regards
  5. A

    B4J Question Issue with Double format

    Hi Guys, When using a float to display a sales total I am using this to round the amount. StoreTotal=Round(StoreTotal * 100) / 100 It seems to work fine until I get a 0 in the last decimal place so 99.99 works fine, however 99.90 will display as 99.9 When I was using a float also with this...
  6. K

    Android Question Edittext Date format

    I have to validate date format for edittext. Like dont accept wrong date. ex. 50/07/2018 == not accepted or 21/25/2018