 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Rodrigo Zabotto Guest
|
Posted: Sat Sep 23, 2006 12:15 am Post subject: PrepareDelete method and canceling deletions |
|
|
Hi, friends,
Is it possible to cancel a deletion in PrepareDelete method?
I want to put a password to delete objects in some classes using the
preparedelete. What´s the Bold command to cancel a deletion?
Thanks for help
Rodrigo |
|
| Back to top |
|
 |
Eddy Poullet Guest
|
Posted: Mon Sep 25, 2006 2:04 pm Post subject: Re: PrepareDelete method and canceling deletions |
|
|
Rodrigo Zabotto <rodrigo (AT) isiengenharia (DOT) com.br> wrote:
| Quote: | Hi, friends,
Is it possible to cancel a deletion in PrepareDelete method?
I want to put a password to delete objects in some classes using the
preparedelete. What´s the Bold command to cancel a deletion?
Thanks for help
Rodrigo
|
I believe that you must override the sendquery an trap the
bqMayDelete event.
Eddy |
|
| Back to top |
|
 |
Peter Morris [Droopy eyes Guest
|
Posted: Mon Sep 25, 2006 2:50 pm Post subject: Re: PrepareDelete method and canceling deletions |
|
|
I think there is a MayDelete method you can override isn't there? |
|
| Back to top |
|
 |
Eddy Poullet Guest
|
Posted: Thu Sep 28, 2006 8:11 am Post subject: Re: PrepareDelete method and canceling deletions |
|
|
"Peter Morris [Droopy eyes software]" <pete (AT) NO_droopyeyes_SPAM (DOT) com> wrote:
| Quote: | I think there is a MayDelete method you can override isn't there?
Yes, Pete : |
Programmers reference Online
"A programmer can disallow deleting either by overriding the virtual MayDelete function or subscribing to the bqMayDelete query."
Eddy |
|
| Back to top |
|
 |
Powered by phpBB © 2001, 2006 phpBB Group .
|