|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How Do I add code to the X in the Title bar?
I have to add this line to the close button when the click it:
DeleteIconFromTray so it erases the tray icon how do I program the X button? |
|
#2
|
|||
|
|||
|
You can add your code to the Form_QueryUnload, Form_Unload, or Form_Terminate event procedures...all of these fire between the time the close button is clicked and the app is killed. These events fire in the order that I have listed them. I usually use the QueryUnload event.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > How Do I add code to the X in the Title bar? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|