[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
IdentEntry - checks that a given Entry exists in a Map of colour names
Source position: graphics.pp line 1875
function IdentEntry( |
Entry: LongInt; |
var MapEntry: TIdentMapEntry |
):Boolean; |
Entry |
|
Entry - a numeric index into the table of colours |
MapEntry |
|
MapEntry - the record of Value, Name returned from the look-up table of Colors |
True if Entry was a valid index into the Colour look-up table
IdentEntry - checks that a given Entry exists in a Map of colour names
A list of system Colors is specified as a look-up table of indices (Entry) and names (MapEntry)
This function checks that the value in Entry is within the permitted range, and returns the data pair Value, Name of the corresponding colour in MapEntry.
If Entry is out of range the Result is False
If Entry is out of the range [0..High(Colours)] the Result is returned as False
lazarus-ccr.sourceforge.net |