Hmm den var svær
Jeg kan tage et udsnit af koden der opretter det, måske kan det besvare spørgsmålet!
Jeg bruger MS Visual Studio .net 2003
this->listView1->AllowColumnReorder = true;
this->listView1->Anchor = (System::Windows::Forms::AnchorStyles)(((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles:
ottom)
| System::Windows::Forms::AnchorStyles::Left)
| System::Windows::Forms::AnchorStyles::Right);
this->listView1->BackColor = System:
rawing:
ystemColors::Window;
this->listView1->BorderStyle = System::Windows::Forms:
orderStyle::FixedSingle;
System::Windows::Forms::ColumnHeader* __mcTemp__1[] = new System::Windows::Forms::ColumnHeader*[4];
__mcTemp__1[0] = this->columnHeader1;
__mcTemp__1[1] = this->columnHeader2;
__mcTemp__1[2] = this->columnHeader3;
__mcTemp__1[3] = this->columnHeader4;
this->listView1->Columns->AddRange(__mcTemp__1);
this->listView1->ContextMenu = this->contextMenu1;
this->listView1->FullRowSelect = true;
this->listView1->GridLines = true;
this->listView1->HideSelection = false;
this->listView1->LabelEdit = true;
this->listView1->Location = System:
rawing:
oint(232, 26);
this->listView1->Name = S"listView1";
this->listView1->Size = System:
rawing:
ize(524, 526);
this->listView1->SmallImageList = this->imageList1;
this->listView1->TabIndex = 1;
this->listView1->View = System::Windows::Forms::View:
etails;
this->listView1->SelectedIndexChanged += new System::EventHandler(this, listView1_SelectedIndexChanged);
[Redigeret d. 17/10-05 23:28:48 af Lasse Offt]