Difference between revisions of "MROW()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 12: Line 12:
  
 
==See Also==
 
==See Also==
[[INKEY()]], [[LASTKEY()]], [[MCOL()]], [[ON MOUSE]]
+
[[INKEY()]], [[ISMOUSE()]], [[LASTKEY()]], [[MCOL()]], [[ON MOUSE]]
  
  
Line 24: Line 24:
 
<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 39: Line 39:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Screen Forms]]
 +
[[Category:Screen Forms Functions]]

Revision as of 12:25, 9 June 2009

Class

Screen Forms


Purpose

Return the current mouse row position


Syntax

MROW()


See Also

INKEY(), ISMOUSE(), LASTKEY(), MCOL(), ON MOUSE


Description

The MROW() function returns the numeric value of the current mouse row position.

In Recital Terminal Developer, the MROW() 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