Graphics.DrawStopIcon

From Xojo Documentation

Method

Graphics.DrawStopIcon(x As Double, y As Double)

Supported for all project types and targets.

Draws the operating system's Stop icon at the coordinates specified. x and y are the coordinates of the top-left corner.

Sample Code

This code draws the Stop icon at the passed coordinates. The code is in the Paint event.

g.DrawStopIcon(170, 120)