Saving Workspace Changes

This example uses the UiWorkspaceObject1 and WorkspaceBox1 components. UiWorkspaceObject1 with a workspace object is used as a data source for WorkspaceBox1.

Add links to the Andy, Metabase, Workspace system assemblies.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    ws: IWxWorkspace;
Begin
    ws := UiWorkspaceObject1.Instance As IWxWorkspace;
    (UiWorkspaceObject1.Instance As IMetabaseObject).Save;
End Sub Button1OnClick;

On clicking the button changes, made in a workspace are saved.

See also:

Examples