IDefaultBehaviour.TreatEmptySelectionAsFull

Syntax

TreatEmptySelectionAsFull: Boolean;

Description

In the TreatEmptySelectionAsFull property it is possible to consider empty selection as full on setting up behavior which will be used in the Foresight. Analytics Platform tools.

Comments

Available values:

Default value is False.

The TreatEmptySelectionAsFull property manages theTreat Empty Selection as Full checkbox state on the Behavior tab.

Example

To execute the example, add links to the Fore and Metabase system assemblies.

Sub UserProc;
Var
    Mb: IMetabase;
    SP: ISharedParams;
Begin
    
// Get the current repository
    Mb := MetabaseClass.Active;
    
// Set possibility to consider empty selection as full
    SP := Mb.SpecialObject(MetabaseSpecialObject.SharedParams).Edit As ISharedParams;
    SP.DefaultBehaviour.TreatEmptySelectionAsFull := 
True;
    (SP 
As IMetabaseObject).Save;
End Sub UserProc;

After executing the example, in default settings the Treat Empty Selection as Full checkbox will be selected on the Behavior tab.

See also:

IDefaultBehaviour