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