xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

HB_ClrArea()

Replaces a color attribute in a screen region.

Syntax

HB_ClrArea( <nTop>     , ;
            <nLeft>    , ;
            <nBottom>  , ;
            <nRight>   , ;
            <nColorAttr> ) --> NIL

Arguments

<nTop> and <nLeft>
Numeric values indicating the screen coordinates for the upper left corner of the screen area.
<nBottom> and <nRight>
Numeric values indicating the screen coordinates for the lower right corner of the screen area.
<nColorAttr>
This is a numeric color attribute in the range between 0 and 255 for coloring the screen area. Refer to ColorToN() for obtaining a numeric color attribute from a color string.

Return

The function changes the color in the specified screen area and returns NIL.

Info

See also:ColorRepl(), ColorToN(), ColorWin(), HB_Shadow()
Category: Screen functions , xHarbour extensions
Source:rtl\shadow.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe