Jump to content

- - - - -

Help With Getpen, Getkey

  • Please log in to reply
3 replies to this topic

#1 diego



  • Members
  • Pip
  • 8 posts

Posted 14 September 2004 - 02:44 PM


I havea problem with the use of the GetPen
In the follwing program
RclPict graf
GetPen x,y

I want that in the program show an image (OK) and that in certain places to make clic
with the pen, and when making click show other options. But when putting this code it
generate me x=0 and y=0. Why?

Note: Not alone I want to make a single click,but several click in the same image

I also want that when squashing a key of the classpad I am carried out different operations

If GetKey=13
Input a
end if

But it leaves me syntax error :( :(

#2 qwerty841


    Casio Freak

  • Members
  • PipPipPipPip
  • 198 posts
  • Gender:Male
  • Location:vernal

  • Calculators:
    ClassPad 300,TI 83 PSE,TI Voyage 200,Windows Calculator

Posted 14 September 2004 - 04:32 PM

if you don't have the stylus on the screen, it returns 0,0
you could do:

RclPict graf
GetPen x,y
LpWhile x=0 and y=0

it waits until you tap on the screen, then returns the coordinates

#3 CrimsonCasio


    UCF Ambassador

  • [Legends]
  • PipPipPipPipPipPipPipPipPipPip
  • 3579 posts
  • Gender:Male
  • Location:USA
  • Interests:Claculators, Stephen King, Video Games, Calculators, Programming, Calculators, Reading, Calculators... hmm, what else... Ah! Calculators!

  • Calculators:
    Algebra FX2.0, CFX 9850Ga+, Classpad 300

Posted 14 September 2004 - 05:01 PM

if you want to do either a pen or key press use this:

GetPen x,y
GetKey k
LpWhile x=0 and y=0 and k=0

#4 cpTyros



  • Members
  • Pip
  • 11 posts
  • Gender:Male
  • Location:M?xico

  • Calculators:
    CP-300, FX-991ES, FX-991MS, And TI Voyage

Posted 27 March 2007 - 07:12 PM

Please help me!

I need a example to use the GetPen.

For example print the strings:

1 - Option 1
2 - Option 2

And if I touch: 1 - Option 1, that execute some function

Thank you

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users