Cancel an event

C

cyan21

hello,

Is it possible to cancel the 'close' event ?

I'd like to 'oblige' users to put a contact when creating a
appointment, so if he tries to push the 'write and close' button
without filling the contact field, the window won't close.

thanks

yann
 
M

Michael Bauer

Am 10 Aug 2005 08:31:12 -0700 schrieb cyan21:

Yes, it is. That´s the reason for the event´s Cancel argument.
 
C

cyan21

However I don't know how to use it in C++. I asked it before but nobody
answer to my topic and searched documents about it on the Internet but
I didn't find anything.

I found another solution but don't know if it's possible :

1. set 'write and close' button unabled
2. check if the contact user is filled( I don't know how to do it ...)
3. if it's filled, enable the 'write and close' button
 
M

Michael Bauer

Am 11 Aug 2005 01:48:08 -0700 schrieb cyan21:

1) I don´t know C++.

2) AFAIK it won´t work. The user could use ALT+F4 and then submit the
upcomming dialog.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top