[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LOGO-L> MicroWorlds question...



Gary Stager wrote:
>The right-click trick can't be exectuted under program control. The best
>thing you can do is track the position of the mouse and if it's close to
>a turtle, it can make a text box show and then disappear.


First up I don't think mousepos is a MW version 1 (MW for DOS) primitive.

For MW2 could you explain this a bit more please Gary. I just had a bit of a
play around with this procedure:

to go
show mousepos
if pos = mousepos [pr "y]
end

This does a mouseover type effect but only if the mouse co-ordinates are
*exactly* the same as the turtle co-ordinates, which is quite hard to
achieve. How do you fudge it so that it works if the mouse is *close* to the
turtle?

-- Bill Kerr

>>Logoers,
>>
>>In MicroWorlds for DOS my students are making comic stories.
>>Some are putting words into the popup bubbles.
>>All works well if you right mouse click on the turtle.
>>One of my students wants the bubble to pop up from within a program.
>>How do we tell the program to do a right mouse click?
>>A left one for that matter?
>>
>>Thanks,
>>de Walt Smith
>>Cherry Middle School
>>Tulare, CA


---------------------------------------------------------------
Please post messages to the Logo forum to logo-l@gsn.org.  Mail
questions about the list administration to logofdn@gsn.org.  To
unsubscribe send    unsubscribe logo-l    to majordomo@gsn.org.



Global SchoolNet Foundation - Linking Kids Around the World!
Copyright GSN - All Rights Reserved - Comments & Questions
Visit GSN's Global Schoolhouse for more exciting learning resources!
Search our Site - Home