Creation of a TextBox for Only one Digit bound from 0 to 9

  • 5 favourites

Attached Files

The following files have been attached to this tutorial:



Download now 181.97 KB


1,922 visits, 2,705 views



This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.


Have you ever tried to use construct 2 as a way to provide a fully functional web formulary?

If so, you'll probably have found that it's not quite an easy task. Far from being a program to manage data in a scientific way, construct 2 is oriented to game management, graphics, animations and so on...

But it is not an impossible task. As you can find here, there is a way (Perhaps one among hundreds) to get a data interface for integer numbers from 0 to 9 in a clean way.

Here you can find the image:

And please, find attached the project's capx.

You'll find also an instance variable called buffer, wich allow you to manage the number obtained, turning it into a Str, a Int...etc...whatever.

I'm open to comments and further improvements of this code.



Download now 181.97 KB

  • Order by
Want to leave a comment? Login or Register an account!