|
|
|
|
|
- Coordinates
- Width/Height of rectangle
gRectangle (Function) In french: gRectangle Builds a sequence of characters used to draw a rectangle. Syntax
<Result> = gRectangle(<X1> , <Y1> , <X2> , <Y2> [, <Background color> [, <Line color>]])
<Result>: Character string Sequence of characters used to draw a rectangle. <X1>: Real X-coordinate (in pixels) of the upper-left corner of the rectangle to draw. <Y1>: Real Y-coordinate (in pixels) of the upper-left corner of the rectangle to draw. <X2>: Real X-coordinate (in pixels) of the lower-right corner of the rectangle to draw. <Y2>: Real Y-coordinate (in pixels) of the lower-right corner of the rectangle to draw. <Background color>: Integer or constant (optional) Background color of rectangle. This color can correspond to:If this parameter is not specified, the background color corresponds to the background color of the current text (defined by gBackground). <Line color>: Integer or constant (optional) Color of rectangle line. This color can correspond to:If this parameter is not specified, the color of the line corresponds to the color of the current text (defined by gPen). Remarks All the coordinates are expressed in pixels in relation to the upper-left corner of the element where the rectangle will be drawn (upper-left corner of the row found in the List Box or Combo Box control for example). Width/Height of rectangle The width of the reference rectangle is set to <X2> - <X1>. The height of the reference rectangle is set to <Y2> - <Y1>.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|