[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Detecting mouse in TML Pascal II
limtc wrote:
> Answering my own question, and to potential programmer: it is quite
> easy after reading through TML Basic (!) source code, then try them in
> TML Pascal. :)
>
> - declare a variable of Point type (mouse: Point)
> - getMouse(mouse) will put the coordinate into mouse
> - mouse.h will return X coordinate
> - mouse.v will return Y coordinate.
>
> The question is now how to detect key press? Or 2nd mouse button?
>
> I will post my own finding here if I got any good result. Any help
> appreciated.
Excellent. I was going to suggest looking at the examples and libraries.
They seem to show quite a few toolbox calls. But nevermind :)
Thanks for the useful info!
--
-----> http://members.dodo.com.au/~izabellion1/tristan/index.html <-----
===== It's not pretty, it's not great, but it is mine. =====