CompileAssemblyOnly: Boolean;
The CompileAssemblyOnly property determines whether compilation of forms/units beyond assemblies is possible.
If the property is set to True, compilation of forms/units beyond assemblies is not allowed.
This property is relevant only for the current connection to the repository. When disabled, the value is reset according to settings determined on theEvent Handling tab.
Executing the example requires a form and a button named Button1 on it.
Add links to the Forms, Metabase system assemblies.
Sub Button1OnClick(Sender: Object; Args: IEventArgs);
Var
MB: IMetabase;
Begin
MB := MetabaseClass.Active;
MB.CompileAssemblyOnly := True;
End Sub Button1OnClick;
After executing the example pressing the button disables compilation of forms/units beyond assemblies when operating in the current repository.
See also: