Control Arrays

> Please can you help me with this object array  topic.
>
> How do you, Using Delphi 1 Only, create an array of objects say list
> boxes on a form.
>
> In VB it is easy, just copy a list box and paste it onto a form, and the
> object array is set up, even the array indexes are shown in the name
> property.
>
> But I cant seem to be able to do this in Delphi 1.

To create a list of components, you have to create it at design time.
for example, you already have an array [1..8] of TListbox.
create a procedure, and call it on your form's OnCreate.
type
  TGroup = array [1..8] of TListbox;
  TForm1 = class (TForm)
  private
    FGroup = TGroup;
  end;

procedure TForm1.CreateArray;
var
  ArrayLoop : integer;
begin
  for ArrayLoop := 1 to 8 do
    FGroup [ArrayLoop] := TListBox.Create (self);
    with FGroup [ArrayLoop] do
    begin
      Top     := //somevalue;
      Left    := //somevalue;
      Parent  := self;
      visible := True;
    end;
end;

I have tried this on all version of Delphi (1..3).