AllowDotDefined: Boolean;
AllowDotDefined: Boolean;
The AllowDotDefined property determines whether the ALLOWDOT parameter is present in binding string.
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.
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.
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: