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>wtrow() window function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  WTROW()                                                    Window Function
 Purpose..: Return the top row text position of the window
-------------------------------------------------------------------------------
 Syntax...: wTRow( [<uWin>] ) --> nTopTxtRow

 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 numeric position of the window's top row of text.

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

 Source...: WTROW.PRG
-------------------------------------------------------------------------------
 Example..: ? wTRow()  // Displays the number for the top row of text
                       // of the window in focus.

            . The example splits the text area of any window in half.

             DrawIBar( ( wRCol() - wLCol() ) / 2, wTRow(), wBRow() )


See Also: wBRow() wLCol() wRCol() wRow() wCol()

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