Community

SCI Programming => SCI Community How To's & Tutorials => Topic started by: lskovlun on January 17, 2007, 04:06:54 PM

Title: A generic Keypad class
Post by: lskovlun on January 17, 2007, 04:06:54 PM
Code in the attached file, along with documentation. Note that I use the ego view for buttons (as I said, I am not a graphic artist). The first the buttons from the left are number buttons, and add the numbers 1, 2 and 3 to the keypad text. The next button cancels, the one after that is backspace, and the last one OK. It would be great if someone would help me make better graphics for the demo code. Instructions are in the documentation. You will also need to add the word 'keypad' to your vocabulary.

Lars
Title: Re: A generic Keypad class
Post by: Collector on December 19, 2010, 03:12:41 AM
Does anyone have this file?
Title: Re: A generic Keypad class
Post by: MusicallyInspired on December 19, 2010, 02:02:57 PM
I don't even remember this...
Title: Re: A generic Keypad class
Post by: lskovlun on December 21, 2010, 06:15:42 AM
Does anyone have this file?
Here you go...
Title: Re: A generic Keypad class
Post by: lskovlun on December 21, 2010, 06:26:02 AM
Hmmm.... I just noticed a couple of bugs:


This is seriously old code, but I'll see what I can do about this.
Title: Re: A generic Keypad class
Post by: Collector on December 21, 2010, 06:30:43 AM
Thanks. I'll put it on the Wiki. It can be updated whenever you may get around to revising it.