B4J Library MoneyEditText (class)

Discussion in 'B4J Libraries & Classes' started by Star-Dust, Nov 8, 2018 at 11:18 AM.

  1. Star-Dust

    Star-Dust Expert Licensed User

    On the Italian forum, I was asked if it was possible to create an editTex similar to the one found on PayPal, or generally the method of entering digits in the cash register.

    As you know it starts with the value 0.00 and digtat digits are inserted from the right to the left. The last two digits are always in line with the decimal digits (or cents)

    Here is my solution (I hope it can be useful to others)

    Video1.gif
     

    Attached Files:

  2. moore_it

    moore_it Active Member Licensed User

    Yes Yes Yes Great work !
     
  3. Peter Meares

    Peter Meares Member Licensed User

    Great demo, and nice to be able to see how classes can be used.
     
  4. Star-Dust

    Star-Dust Expert Licensed User

  5. asales

    asales Well-Known Member Licensed User

    Very nice.
    Any plan to move this class to B4A or B4X?
     
  6. Star-Dust

    Star-Dust Expert Licensed User

    There is the source code available, anyone could translate it.
    The only change to be made is for the SelectStart that in B4J I used SetSelection.
     
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