IBindingIdentEdit.AllowDotDefined

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.

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 there is the VALUE parameter
        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.

See also:

IBindingIdentEdit