|
-
Aug 17th, 2006, 03:53 AM
#1
Thread Starter
Lively Member
OK or X Button
How do i detect the OK or X Button for Pocket PC 2002, so if the user clicks the OK or X Button, it will prompt the user for something.
I tried Form_Closing and Form_Closed and Form_Deactivate, but this 3 aren't the methods i want for the program.
Can anyone help me out on this ?
-
Aug 17th, 2006, 04:49 AM
#2
Fanatic Member
Re: OK or X Button
when the x or ok button is pressed it is the form_closing event that is fired
this should work
Barry
Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
.NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0
SQL Server 2005/2000/SQL Server CE 2.0
If you like, rate this post
Compact Framework for Beginners
-
Aug 17th, 2006, 07:45 PM
#3
Thread Starter
Lively Member
Re: OK or X Button
If i do a messagebox upon FormClosing, will it work ?
cause i tried it and it didn't work, i put a breakpoint, neither did it work.
Sorry
Last edited by Winder; Aug 17th, 2006 at 07:50 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|