Sign in Join
FPDoc Onlineexperiment

TLongintField.CheckRange function

Member of TLongintFieldpublicIn unit DB

Check whether a valid is in the allowed range of values for the field.

Declaration

pascal
function CheckRange(AValue: LongInt): Boolean

Arguments

AValue

Value to check.

Function result

true if AValue is in the allowed range of values.

Description

CheckRange returns True if AValue lies within the range defined by the MinValue and MaxValue properties. If the value lies outside of the allowed range, then False is returned.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.