Subject | RE: [IBO] TIB_Grid and deleting |
---|---|
Author | Stephen Ebbrell |
Post date | 2001-06-21T19:33:37Z |
IB_Query Properties ConfirmDeletePrompt
ex: Are You Sure?
-----Original Message-----
From: Francois Leemans [mailto:lee@...]
Sent: 21 June 2001 17:40
To: IBObjects
Subject: [IBO] TIB_Grid and deleting
Thanks to everybody for solutions to my datamodule problem.
It works great.
Now I got another problem.
If the user deletes a record thru the TIB_Grid I want to display a
messagebox or something in wich I ask the user if he really want to delete
the record.
In the TIB_Grid there is no event I can use.
With the TIB_Quesry component how do I do this ?
I can use the beforedelete event.
But what do I do then ?
I tried the .cancel , but this does not work.
What is the correct procedure ?
Lee
[Non-text portions of this message have been removed]
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.262 / Virus Database: 132 - Release Date: 12/06/2001
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.262 / Virus Database: 132 - Release Date: 12/06/2001
ex: Are You Sure?
-----Original Message-----
From: Francois Leemans [mailto:lee@...]
Sent: 21 June 2001 17:40
To: IBObjects
Subject: [IBO] TIB_Grid and deleting
Thanks to everybody for solutions to my datamodule problem.
It works great.
Now I got another problem.
If the user deletes a record thru the TIB_Grid I want to display a
messagebox or something in wich I ask the user if he really want to delete
the record.
In the TIB_Grid there is no event I can use.
With the TIB_Quesry component how do I do this ?
I can use the beforedelete event.
But what do I do then ?
I tried the .cancel , but this does not work.
What is the correct procedure ?
Lee
[Non-text portions of this message have been removed]
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.262 / Virus Database: 132 - Release Date: 12/06/2001
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.262 / Virus Database: 132 - Release Date: 12/06/2001