Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1 -------- 26/04/2007 @ 23:58 by aldweb
visitor |
Hello Markus,
This is it. Here is what I would try:
{PARSER ON} BEGIN NUMFIELD #1,"",0,20,20,100,30 REPEAT E=DOEVENTS IF E=1000 THEN X=PENX : Y=PENY K=(X>=20)*(X<=100)*(Y>=20)*(Y<=30) IF K=TRUE KEYBOARD 1 ENDIF UNTIL E=-1 END Then, with the PENDOWN function, you can decide when to activate (when pen is released or put on the screen). In my sample code, the popup numeric keyboard should (I write "should" because I did not test it...) always be activated when touching the screen.
Cheers, aldweb
|