06-07-2025, 12:03 PM
(This post was last modified: 06-07-2025, 12:05 PM by AbsoluteBeginner.)
Hello, Martin
The Help says: "This only applies to the drawing layer of the GraphicsWindow.".
The Rectangle SHAPE is drawn not on the Graphics Window layer, but ABOVE that layer.
Your source code colors the entire Graphics Window yellow. And on top of this layer, your Rectangle is drawn.
If you draw a Rectangle ON the Graphics Window itself, then this Rectangle becomes yellow.

The Help says: "This only applies to the drawing layer of the GraphicsWindow.".
The Rectangle SHAPE is drawn not on the Graphics Window layer, but ABOVE that layer.
Your source code colors the entire Graphics Window yellow. And on top of this layer, your Rectangle is drawn.
If you draw a Rectangle ON the Graphics Window itself, then this Rectangle becomes yellow.
Code:
GraphicsWindow.BackgroundColor = "Green"
GraphicsWindow.DrawRectangle(HHGWW, HHGWH, HGWW, HGWH)
'SRecheck = Shapes.AddRectangle(HGWW, HGWH)
'Shapes.Move(SRecheck, HHGWW, HHGWH)
LDGraphicsWindow.FloodFill(HGWW, HGWH, "Yellow")