How To Have a User Input A Number

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I have an application where the user needs to type in a number, but I'm not sure how to do it. If I used the edit box, Multimedia Fusion assumes that it is a string. How can I make it so that the user can only type in a number, and Multimedia fusion with recognise it as a numerical value, not a string?

  • you can create a pseudo

    make you edit box read only.

    event1; upon pressing "0" set text editbox Edittext$( "Edit Box" )+"0"
    event2; upon pressing "1" set text editbox Edittext$( "Edit Box" )+"1"
    event3; upon pressing "2" set text editbox Edittext$( "Edit Box" )+"2"
    and so forth through "9"

    you can len the editbox with each entry for the number length.

    edit: you should also include events for your key pad along with the key board numbers, or use the "OR" operator.

    example:
    event1;
    upon pressing "0" set text editbox Edittext$( "Edit Box" )+"0"
    OR
    upon pressing "0 (Num.keypad)"

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!