Home » Community » Newbie corner » CanClose? Mechanism to prompt user to save edits
Re: CanClose? Mechanism to prompt user to save edits [message #34910 is a reply to message #34804] |
Fri, 16 December 2011 21:09 |
mdelfede
Messages: 1307 Registered: September 2007
|
Ultimate Contributor |
|
|
If I have did understand your problem, there's TabBarCtrl in Bazaar to which I added some time ago a couple of callbacks
named CancelCloseSome and WhenCloseSome just for that purpose.
First is called BEFORE a tab or also many tabs are being closed, giving the ability to prompt for a file/list of files to be saved; the latter happens AFTER the tabs are closed and allows the application to finish closing / do some cleanup.
It was refactored by original maintainer, but those callbacks are still there, IIRC.
I'm using a modified version of this control in my app and works quite good.
Max
Edit : I've read now one of your posts about CancelCloseSome and WhenCloseSome.... the purpose is the one I've explained above; you can close multiple tabs at once and those allows you to group the closing prompts.
[Updated on: Fri, 16 December 2011 21:11] Report message to a moderator
|
|
|
|
|
CanClose? Mechanism to prompt user to save edits
By: Lance on Sun, 10 April 2011 04:57
|
|
|
Re: CanClose? Mechanism to prompt user to save edits
By: Lance on Sun, 10 April 2011 05:26
|
|
|
Re: CanClose? Mechanism to prompt user to save edits
By: Lance on Sun, 11 December 2011 18:28
|
|
|
Re: CanClose? Mechanism to prompt user to save edits
By: Lance on Sun, 11 December 2011 18:37
|
|
|
Re: CanClose? Mechanism to prompt user to save edits
By: Wolfgang on Sun, 11 December 2011 18:48
|
|
|
Re: CanClose? Mechanism to prompt user to save edits
By: Lance on Sun, 11 December 2011 23:57
|
|
|
Re: CanClose? Mechanism to prompt user to save edits
|
|
|
Re: CanClose? Mechanism to prompt user to save edits
By: Lance on Mon, 12 December 2011 16:52
|
|
|
Re: CanClose? Mechanism to prompt user to save edits
By: Lance on Tue, 13 December 2011 01:15
|
|
|
Re: CanClose? Mechanism to prompt user to save edits
By: Lance on Tue, 13 December 2011 04:29
|
|
|
Re: CanClose? Mechanism to prompt user to save edits
By: mdelfede on Fri, 16 December 2011 21:09
|
|
|
Re: CanClose? Mechanism to prompt user to save edits
By: Lance on Sat, 17 December 2011 04:31
|
|
|
Re: CanClose? Mechanism to prompt user to save edits
By: mdelfede on Sat, 17 December 2011 10:54
|
|
|
Re: CanClose? Mechanism to prompt user to save edits
By: Lance on Sun, 18 December 2011 16:28
|
|
|
Re: CanClose? Mechanism to prompt user to save edits
By: mdelfede on Sun, 18 December 2011 16:35
|
|
|
Re: CanClose? Mechanism to prompt user to save edits
By: Wolfgang on Mon, 12 December 2011 00:14
|
|
|
Re: CanClose? Mechanism to prompt user to save edits
By: Wolfgang on Mon, 12 December 2011 09:38
|
Goto Forum:
Current Time: Sun May 19 06:28:48 CEST 2024
Total time taken to generate the page: 0.00933 seconds
|