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