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