Difference between revisions of "MCOL()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 12: Line 12:
  
 
==See Also==
 
==See Also==
[[INKEY()]], [[LASTKEY()]], [[MROW()]], [[ON MOUSE]]
+
[[INKEY()]], [[ISMOUSE()]], [[LASTKEY()]], [[MROW()]], [[ON MOUSE]]
  
  

Revision as of 12:24, 9 June 2009

Class

Screen Forms


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 Mirage Server, Recital Terminal Developer