Delphi: using IInterface to restore cursor at end of mehod (prelude to a memento that executes any code at end of method).

A long while ago, I wrote about a (then overdue post) onĀ .NET/C#: Using IDisposable to restore temporary settrings example: TemporaryCursor class. I had been using a similar technique in Delphi since before I found out about the [WayBack] TRecall class and thought: I think my TTemporaryCursor is smarter, as it is based on interfaces. TRecall … Continue reading Delphi: using IInterface to restore cursor at end of mehod (prelude to a memento that executes any code at end of method).