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>wrcol() window function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  WRCOL()                                                    Window Function
 Purpose..: Return the window's right column text position
-------------------------------------------------------------------------------
 Syntax...: wRCol( [<uWin>] ) --> nRightColTxt

 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 right column. This
                value represents the right column of the text in the window
                not that of the window.

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

 Source...: WRCOL.PRG
-------------------------------------------------------------------------------
 Example..: ? wRCol()  // Displays the number for the right column
                       // of the text of the window in focus.

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

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

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

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