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)
| Parameter | Description |
| x | Horizontal stylus position, expressed in standard coordinates. |
| y | Vertical 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
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | N/A |