Search found 2 matches

by O.R-Dev
Thu Sep 20, 2012 12:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Dealing with numbers
Replies: 5
Views: 4803

Re: Dealing with numbers

It occurs to me you already could use examples, or you would not have phrased your query the way you did.

In a new stack, make a field. Name this "myField". Place the following handler in the card script: on rawKeyUp var
switch var
case 65432 --keyCode for "6"
put "6" after fld "myField"
break ...
by O.R-Dev
Wed Sep 19, 2012 10:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Dealing with numbers
Replies: 5
Views: 4803

Dealing with numbers

Hi guys. Im creating a tool for operations research (early stages).
2 issues have put a complete stop to my work. I was wondering if anyone knew how to bring up only the numeric keypad for a text entry field.
and secondly how to make calculations using the number in that field with other numbers ...