Text_mouse

new topic     » topic index » view thread      » older message » newer message

Hi
Ok here is how to do it in text mode
m=get_mouse()
mrow=floor(m[3]/8+1)
mcol=floor(m[2]/8+1)
This will get you the row and col that the mouse is at.The m[2],m[3] are 
diffrent in pixel and text mode,so you have to change them around.

David

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu