Home > Language Reference > Classes > UIComponent

PenUp Event

Event raised when the user releases the stylus.

Syntax

Public Event PenUp(ByVal x As Integer, ByVal y As Integer)

ParameterDescription
xHorizontal stylus position, expressed in standard coordinates.
yVertical stylus position, expressed in standard coordinates.

Remarks

The PenUp event is raised when the user releases the stylus. The x and y parameters indicate the coordinates of the stylus expressed standard coordinates with respect to the top left corner of the element. These coordinates can be negative, the element continuing to raise events until the user releases the stylus, even if it moves outside the element area.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0N/A