IMetabase.CompileAssemblyOnly

Syntax

CompileAssemblyOnly: Boolean;

CompileAssemblyOnly: boolean;

Description

The CompileAssemblyOnly property determines whether compilation of forms/modules is possible beyond assemblies.

Comments

If the property is set to True, compilation of forms/modules beyond assemblies is not allowed.

This property is relevant only for the current connection to the repository. On disabling the value is reset according to settings determined on theEvent handling tab.

Example

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;

Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
    MB: IMetabase;
Begin
    MB := Self.Metabase;
    MB.CompileAssemblyOnly := True;
End Sub;

After executing the example pressing the button disables compilation of forms/modules beyond assemblies when operating in the current repository.

See also:

IMetabase | IMetabaseDefinition.CompileAssemblyOnly