Graphics.DrawCautionIcon

From Xojo Documentation

Method

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)