|Navigation: Language Reference > 6 - Windows > Graphics Overview >====== Current Target ======|
Graphics are always drawn to the “current target.” Unless overridden with SETTARGET, the “current target” is the last window opened (and not yet closed) on the current execution thread and is the window with input focus. Drawings in a window are persistent–redraws are handled automatically by the runtime library.
Graphics in Reports
Graphics can also be drawn to a report. To do this, SETTARGET must first be used to nominate the REPORT as the “current target.” Optionally, SETTARGET can nominate a specific report band to receive the graphics.
Every window or report has its own current pen width, color, and style. Therefore, to consistently use the same pen (which does not use the default settings) across multiple windows, the SETPENWIDTH, SETPENCOLOR, and SETPENSTYLE statements should be issued for each window.