Vcl.ValEdit.TValueListStrings.KeyIsValid
Delphi
function KeyIsValid(const Key: string; RaiseError: Boolean = True): Boolean;
C++
bool __fastcall KeyIsValid(const System::UnicodeString Key, bool RaiseError = true);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.ValEdit.pas Vcl.ValEdit.hpp |
Vcl.ValEdit | TValueListStrings |
Description
Verifies whether a key is valid.
Call KeyIsValid to check whether the specified key is a valid one in the list editor. KeyIsValid returns True if the is key valid andFalse if the key contains equal signs (=), holds no characters, or its index leads to no object (-1).