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>wputl() window function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  WPUTL()                                                    Window Function
 Purpose..: Left justify some text in a window
-------------------------------------------------------------------------------
 Syntax...: wPutL( [<uWin>], [<nR>], <cTxt>[, <cClr>] ) --> NIL

 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.
            [<nR>]   = row on which to left justify text.
            <cTxt>   = window text to be displayed.
            [<cClr>] = color to be used for the text.

 Returns..: NIL

 Remark...: If the length of <cTxt> exceeds the width of the window,
            the function truncates text on the right.

 Source...: WPUTL.PRG
-------------------------------------------------------------------------------
 Example..: . The example displays the text in the
              window in focus on the third row.

        wPutL( , 3, "Press Enter when done..." )

            . The example displays text in a window but
              the color is changed.

        wPutL( , 9, "Please add a title to the box", "B/BG" )

            As with all FreshWin window functions that alter the display,
            this function automatically hides and redisplays the mouse
            cursor if it is active.

See Also: wSay() wPutR() wPutC()

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