Skip to first unread message

oamo...@gmail.com

unread,
Jul 13, 2014, 10:52:22 AM7/13/14
to mitappinv...@googlegroups.com
Quiero hacer una calculadora y no encuentro ningún objeto que pueda usar como teclado numérico.¿Existe tal objeto o hay que hacer una matriz de botones?

SteveJG

unread,
Jul 13, 2014, 11:57:35 AM7/13/14
to
You can put buttons in a Table arrangement      or you can use a Canvas with a grid overlay  with an arrangement like:


7   8   9   -
1   5   6   +
1   2  3  Enter
0      

AND this forum discussion shows how you can set up the grid on the canvas, place the numbers etc.  https://groups.google.com/forum/#!searchin/mitappinventortest/grid$20and$20canvas/mitappinventortest/c7xYUTKFG_Q/hlwOMxsNm6oJ

Did this work for you>


Regards,
Steve      

Taifun

unread,
Jul 13, 2014, 1:14:16 PM7/13/14
to mitappinv...@googlegroups.com
if you want to use a textbox for input, just set NumbersOnly = true to get a numeric keyboard



Taifun

Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by Taifun.         

Scott Ferguson

unread,
Jul 13, 2014, 7:08:53 PM7/13/14
to mitappinv...@googlegroups.com
I generally use a combination of horizontal and vertical screen arrangements to make a numeric keypad.
It is more flexible than a table arrangement if the buttons are not all the same size.
---
Scott Ferguson
Reply all
Reply to author
Forward
0 new messages