| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal popup As Form, _ ByVal location As Point _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim popup As Form Dim location As Point Dim instance As New PopupCancelEventArgs(popup, location)  | |
Parameters
- popup
 - The popup form
 - location
 - The mouse location, if any, where the mouse event that would cancel the popup occured.
 
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8