Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 4 of 4 total |
Is it possible to change the "Delete Record?" confirmation message? |
Tue, Aug 5 2008 11:55 AM | Permanent Link |
Dave Harrison | When the user tries to delete a row from a grid, I'd like the pop up
confirmation message to say "Delete Directory?" instead of "Delete Record?" because each record corresponds to a directory on his hard drive. Is this possible (for this table only)? TIA Dave DBISAM 4.x |
Tue, Aug 5 2008 12:33 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Dave,
<< When the user tries to delete a row from a grid, I'd like the pop up confirmation message to say "Delete Directory?" instead of "Delete Record?" because each record corresponds to a directory on his hard drive. Is this possible (for this table only)? >> Sure, just put the prompt in a BeforeDelete event handler for the table, and then issue an Abort call if the user does not want to delete the record. -- Tim Young Elevate Software www.elevatesoft.com |
Tue, Aug 5 2008 12:35 PM | Permanent Link |
"Robert" | "Dave Harrison" <daveh_18824@spammore.com> wrote in message news:E25F7EF3-4BDA-4216-A2B0-3054F8D884E5@news.elevatesoft.com... > When the user tries to delete a row from a grid, I'd like the pop up > confirmation message to say "Delete Directory?" instead of "Delete > Record?" because each record corresponds to a directory on his hard drive. > > Is this possible (for this table only)? > Set the option dgConfirmDelete to false on the grid, and OnBeforeDelete in your table do whatever you want. Robert > TIA > Dave > DBISAM 4.x |
Tue, Aug 5 2008 12:55 PM | Permanent Link |
Dave Harrison | Robert wrote:
> "Dave Harrison" <daveh_18824@spammore.com> wrote in message > news:E25F7EF3-4BDA-4216-A2B0-3054F8D884E5@news.elevatesoft.com... > >>When the user tries to delete a row from a grid, I'd like the pop up >>confirmation message to say "Delete Directory?" instead of "Delete >>Record?" because each record corresponds to a directory on his hard drive. >> >>Is this possible (for this table only)? >> > > > Set the option dgConfirmDelete to false on the grid, and OnBeforeDelete in > your table do whatever you want. > > Robert > Robert & Tim, Worked like a charm, thanks. I thought the original confirmation message was generated by the table, and not the grid. D'uh. Dave |
This web page was last updated on Tuesday, May 7, 2024 at 06:25 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |