Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FreshWin (c) Fresh Technologies - <b>wcurrow() window function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  WCURROW()                                                  Window Function
 Purpose..: Return the relative window row
-------------------------------------------------------------------------------
 Syntax...: wCurRow( [<uWin>] ) --> nRELRow

 Arguments: [<uWin>] = the string identifier of the window
                       OR the reference to the window structure
                       returned as an array by wNew() or wArray().
                       If not passed, the function will operate on
                       the window in focus.

 Returns..: <N> The relative screen row position.

 Remark...: The function works whether the window is open or not.

 Source...: WROW.PRG
-------------------------------------------------------------------------------
 Example..: . The example uses wCurCol() in conjunction with
              wCurRow() to display their values.

            ...
            wNew  ( "MyWin", 2, 4, 21, 21 )
            ...
            wOpen ( "MyWin" )

            wPos( , 0, 5 )
            ? wCurRow()    // prints 0
            ? wCurCol()    // prints 5

            wPos( , 6, 2 )
            ? wCurRow()    // prints 6
            ? wCurCol()    // prints 2

See Also: wRow() wSay() wCurCol()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson