SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Save but not SaveAs

Last post 02-28-2007 5:06 PM by DanielGrunwald. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-28-2007 4:55 PM

    Save but not SaveAs

    Hi,

    I'm working on an addin that edit some data, this data is edited in a ViewContent.
    I want to allow the Save command (menu and toolstrip button) to work but not the SaveAs how can I do this?
    My addin support the IsDirty and has the IsUntitled=false
    Also the data is not in a file so I don't want the FileUtility to be involved in tracking the changes.
    The data is stored in the registry.

    tia
    Sean

     

    Filed under: ,
  • 02-28-2007 5:06 PM In reply to

    Re: Save but not SaveAs

    This isn't supported in SharpDevelop 2.1. The ProjectOptionsView is something similar, just ignore the file name passed to the Save() method.

    In SharpDevelop 3.0, there will be a base class called AbstractViewContentWithoutFile that does exactly this.

    Daniel Grunwald
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.