Difference between revisions of "MCOL()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Return the current mouse column position | Return the current mouse column position | ||
Line 12: | Line 8: | ||
==See Also== | ==See Also== | ||
− | [[INKEY()]], [[LASTKEY()]], [[MROW()]], [[ON MOUSE]] | + | [[INKEY()]], [[ISMOUSE()]], [[LASTKEY()]], [[MROW()]], [[ON MOUSE]] |
Line 24: | Line 20: | ||
<code lang="recital"> | <code lang="recital"> | ||
procedure on_mouse | procedure on_mouse | ||
− | m_colpos = mcol() | + | m_colpos = mcol() |
− | m_rowpos = mrow() | + | m_rowpos = mrow() |
− | m_mouseop = lastkey() | + | m_mouseop = lastkey() |
− | // process based on position and operation | + | // process based on position and operation |
return | return | ||
Line 36: | Line 32: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:Screen Forms]] | ||
+ | [[Category:Screen Forms Functions]] |
Latest revision as of 16:49, 3 December 2009
Purpose
Return the current mouse column position
Syntax
MCOL()
See Also
INKEY(), ISMOUSE(), LASTKEY(), MROW(), ON MOUSE
Description
The MCOL() function returns the numeric value of the current mouse column position.
In Recital Terminal Developer, the MCOL() function always returns 0.
Example
procedure on_mouse m_colpos = mcol() m_rowpos = mrow() m_mouseop = lastkey() // process based on position and operation return on mouse do on_mouse inkey(0,"M")
Products
Recital