Graphics.DrawStopIcon

From Xojo Documentation

Revision as of 13:20, 3 October 2018 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)