|Reopening a dialog with Vex [message #1060422]
||Fri, 24 May 2013 14:59
| shay leon
Registered: June 2012
Hi Florian. |
I wonder if by any chance you can help me with this issue:
I am doing something pretty similar to your example in the German magazine.
The difference is - I need to re-open the dialog with text submitted to it previously, so an example workflow would be:
* Open dialog, write TEXT, click BOLD button, click OK
-- (when dialog closes, store dialog.getDocument() )
* Open dialog (I'm sending to it the previously saved Document). It has TEXT in BOLD and allows me to add more text.
This works fine, but I keep getting an error message saying that VexWidget is disposed. (This could be happening since the dialog.getDocument doesn't exist anymore. If I re-open the dialog with a new Document, there is no error message, but obviously it doesn't have the content which I submitted in previous entries. )
I think if there was a way to clone Document, so that when reopening the dialog, I'll send to it a new Document with values from previous openings, this will solve the problem, but Document does not provide such access.
Any feedback would be appreciated!
Powered by FUDForum
. Page generated in 0.01816 seconds