My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 256: Add numeric keyboard (numpad is the term for it) to the code base
4 people starred this issue and may be notified of changes. Back to list
 
Project Member Reported by dennd...@gmail.com, Jun 1, 2010
see summary
Aug 19, 2010
Project Member #1 txprog
---
from pymt import *
import re

m = MTTextInput()
m.old_value = ''
@m.event
def on_text_change(value):
   try:
       if value != '':
           float(value)
       m.old_value = value
   except ValueError:
       m.keyboard.text = m.value = m.old_value

runTouchApp(m)
---

Adapt that for keyboard
Aug 19, 2010
Project Member #2 txprog
(No comment was entered for this change.)
Labels: Component-Widgets

Powered by Google Project Hosting