CheckIndex - check that the supplied index refers to valid data
Source position: stdctrls.pp line 517
protected procedure TCustomListBox.CheckIndex(
const AIndex: Integer
);