From Xojo Documentation

Revision as of 13:12, 3 October 2018 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Supported for all project types and targets.

Draws the operating system’s Caution icon at the coordinates specified.

Sample Code

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

g.DrawCautionIcon(170.0, 120.0)