Data.Bind.DBScope.TCustomBindScopeDB.IsValidChar

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function IsValidChar(const AFieldName: string; const AChar: Char): Boolean;

Propriétés

Type Visibilité  Source Unité  Parent
function protected Data.Bind.DBScope.pas Data.Bind.DBScope TCustomBindScopeDB

Description

Indique si un caractère donné est autorisé dans le champ.

La méthode IsValidChar appelle en interne Data.DB.TField.IsValidChar pour savoir si un caractère donné est autorisé dans le champ. IsValidChar détermine si le caractère spécifié par AChar peut apparaître dans la représentation textuelle de la valeur du champ. Le champ est donné par le paramètre AFieldName.

Voir aussi