IBindingIdentEdit.AllowDotDefined

Fore Syntax

AllowDotDefined: Boolean;

Fore.NET Syntax

AllowDotDefined: Boolean;

Description

The AllowDotDefined property determines whether the ALLOWDOT parameter is present in binding string.

Comments

If the AllowDotDefined property is set to True, the binding string describing value editor will contain the ALLOWDOT parameter. The value of this parameter is determined by the AllowDot property.

Fore Example

Sub IdentEditBindingInfo(SourceBinding: String);
Var
    BM: IBindingManager;
    Binding: IBindingValue;
    IdentEditBinding: IBindingIdentEdit;
Begin
    BM := New BindingManager.Create;
    Binding := BM.CreateByValue(SourceBinding);
    If Binding.UI = "IdentEdit" Then
        IdentEditBinding := Binding As IBindingIdentEdit;
        //Check if the ALLOWDOT parameter is present
        If IdentEditBinding.AllowDotDefined Then
            Debug.WriteLine("ALLOWDOT: " + IdentEditBinding.AllowDot.ToString);
        End If;
        //Check if the VALUE parameter is present
        If IdentEditBinding.ValueDefined Then
            Debug.WriteLine("VALUE: " + IdentEditBinding.Value);
        End If;
    End If;
End Sub IdentEditBindingInfo;

This function checks the binding string passed as the SourceBinding input parameter. If binding string corresponds to identifier editor, value of parameters determined for it will be displayed in the development environment console.

Fore.NET Example

Imports Prognoz.Platform.Interop.ForeSystem;

Sub IdentEditBindingInfo(SourceBinding: String);
Var
    BM: BindingManager = New BindingManagerClass();
    Binding: IBindingValue;
    IdentEditBinding: IBindingIdentEdit;
Begin
    Binding := BM.CreateByValue(SourceBinding);
    If Binding.UI = "IdentEdit" Then
        IdentEditBinding := Binding As IBindingIdentEdit;
        //Check if the ALLOWDOT parameter is present
        If IdentEditBinding.AllowDotDefined Then
            System.Diagnostics.Debug.WriteLine("ALLOWDOT: " + IdentEditBinding.AllowDot.ToString());
        End If;
        //Check if the VALUE parameter is present
        If IdentEditBinding.ValueDefined Then
            System.Diagnostics.Debug.WriteLine("VALUE: " + IdentEditBinding.Value);
        End If;
    End If;
End Sub;

This function checks the binding string passed as the SourceBinding input parameter. If binding string corresponds to identifier editor, value of parameters determined for it will be displayed in the development environment console.

See also:

IBindingIdentEdit