Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - <b>method sayrect class twindow</b> http://www.ousob.com [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
METHOD SayRect CLASS TWindow
--------------------------------------------------------------------------------
TWindow:SayRect( <nRow>, <nCol>, <cText>, <nClrFore>, <nClrBack>,
                 <nWidth> ) --> Nil
Parameters:
<nRow>      The row from where <cText> will be written. This row is
            relative to the top of the window. The row is character
            based.

<nCol>      The column from where <cText> will be written. This column
            is relative to the left side of the window.

<cText>     The text that has to written in the window.

<nClrFore>  The foreground color that should be used when <cText> is
            written. This should be a MS-Windows COLOR numerical. If it
            is omitted CLR_BLACK (a constant defined in WINAPI.CH) is
            assumed.

<nClrBack>  The background color that should be used when <cText> is
            written. This should be a MS-Windows COLOR numerical. If it
            is omitted CLR_WHITE (a constant defined in WINAPI.CH) is
            assumed.

<nWidth>    The maximum width of the <cText> that should be written on
            the window. The width is assumed to be on a pixel bases ie
            if <nWidth> is 16, only 16 pixel columns of the text will
            be written on the window (which is about two characters for
            a 'normal font')

Purpose:
The SayRect() method allows the programmer to determine the exact
length of a string that is to written to the client area of the window.

seealso: TWindow:Say()

Online resources provided by: http://www.ousob.com --- NG 2 HTML conversion by Dave Pearson