We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

HistoryManager

Thread ID:

Created:

Updated:

Platform:

Replies:

68686 Sep 27,2007 04:42 AM Oct 3,2007 10:34 AM Windows Forms 2
loading
Tags: Diagram
Sabine Wohlgenannt
Asked On September 27, 2007 04:42 AM

How can I affect what description is logged to the Syncfusion.Windows.Forms.Diagram.HistoryManager. I use the member public int GetUndoDescriptions( int nDepth, out string strCmdDescriptions ).
My problem is that the string i got isn't localisable.

Golda Rebecal [Syncfusion]
Replied On October 1, 2007 08:07 PM

Hi Enib,

Sorry for the delay in responding.

It is not possible to set the descriptions in HistoryManger. But it is possible to get the logged information form the HistoryManager by using diagram1.Model.HistoryManager.GetUndoDescriptions and diagram1.Model.HistoryManager.GetRedoDescriptions methods.

Here is the code snippet:

//get the undo discriptions from the HistoryManager
this.diagram1.Model.HistoryManager.GetUndoDescriptions(1, out undodesc);
//get the redo discriptions from the HistoryManager
this.diagram1.Model.HistoryManager.GetRedoDescriptions(1, out redodesc);


Please let me know if you have any questions.

Best regards,
Golda

Sabine Wohlgenannt
Replied On October 3, 2007 10:34 AM

Thank you for your effort.
With kind regards,
enib.s

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;