Opens update manager to create a new update.
Command parameters are passed in the Data property. Executing the command requires to specify the following value in this property:
Value type | Description |
IMetabase | The repository, within which the update is created. |
Executing the example requires a form and a button named Button1 on the form.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Target: IUiCommandTarget;
Context: IUiCommandExecutionContext;
Begin
Target := WinApplication.Instance.GetPluginTarget("MetabaseUpdate");
Context := Target.CreateExecutionContext;
Context.Data := MetabaseClass.Active;
Target.Execute("CreateUpdate", Context);
End Sub Button1OnClick;
Clicking the button opens the update manager. The update manager can be used to create a new update for objects of the current repository.
See also: