AllowDot: Boolean;
The AllowDot property determines whether the ALLOWDOT parameter is present in binding string.
The ALLOWDOT parameter determines whether it is possible to include the "." character in editor value. The parameter is set to True by default, it is possible to include "." in editable value.
The AllowDot property is available if the AllowDotDefined property is set to True. If the AllowDot property is changed, the AllowDotDefined property is automatically set to True.
Function CreateIdentEditBidning(DefaultValue: String): String;
Var
BM: IBindingManager;
IdentEditBinding: IBindingIdentEdit;
Begin
BM := New BindingManager.Create;
IdentEditBinding := BM.CreateByUi("IdentEdit") As IBindingIdentEdit;
IdentEditBinding.AllowDot := True;
IdentEditBinding.Value := DefaultValue;
Return IdentEditBinding.AsString;
End Function CreateIdentEditBidning;
This function generates binding string to use editor of identifiers. The "." identifier can be used in the identifier, the default editor value is passed by the DefaultValue input parameter.
See also: