PictureBox-DrawHatchRect

Function Name dcl-PictureBox-DrawHatchRect
Syntax   (dcl-PictureBox-DrawHatchRect <CONTROL> (List of Lists as (UpperLeftX [as Long] UpperLeftY [as Long] Width [as Long] Height [as Long] Color [as Color] Pattern [as Integer]) ...))
Return Type Boolean (T if successful; otherwise NIL)
Applies To Picture Box

This method paints one or more rectangular hatch patterns on the picture box by filling the rectangle defined by UpperLeftX, UpperLeftY and the specified Width and Height. All points are specified in client coordinates (in pixels, relative to the upper left corner of the control).

Pattern Description
1 Vertical lines
2 Top-left to bottom-right diagonal lines
3 Lower-left to top-right diagonal lines
4 Horizontal-vertical grid
5 Diagonal grid