IBindingIdentEdit.AllowDot

Fore Syntax

AllowDot: Boolean;

Fore.NET Syntax

AllowDot: Boolean;

Description

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

Comments

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.

Fore Example

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.

Fore.NET Example

Imports Prognoz.Platform.Interop.ForeSystem;

Function CreateIdentEditBidning(DefaultValue: String): String;
Var
    BM: BindingManager = New BindingManagerClass();
    IdentEditBinding: IBindingIdentEdit;
Begin
    IdentEditBinding := BM.CreateByUi("IdentEdit"As IBindingIdentEdit;
    IdentEditBinding.AllowDot := True;
    IdentEditBinding.Value := DefaultValue;
    Return IdentEditBinding.AsString;
End Function;

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:

IBindingIdentEdit