AllowColumnReorder fungerer ikke.
Hej.Jeg kan ikke få "AllowColumnReorder" til at fungerer. Nedenstående kode lader mig ikke "reorder" mine columns.
Venlig hilsen,
Martin.
//
// lstPlaylist
//
this.lstPlaylist.AllowColumnReorder = true;
this.lstPlaylist.AllowDrop = true;
this.lstPlaylist.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.fileName,
this.filePath});
this.lstPlaylist.Dock = System.Windows.Forms.DockStyle.Top;
this.lstPlaylist.FullRowSelect = true;
this.lstPlaylist.GridLines = true;
this.lstPlaylist.Location = new System.Drawing.Point(0, 0);
this.lstPlaylist.Name = "lstPlaylist";
this.lstPlaylist.Size = new System.Drawing.Size(479, 234);
this.lstPlaylist.TabIndex = 0;
this.lstPlaylist.UseCompatibleStateImageBehavior = false;
this.lstPlaylist.View = System.Windows.Forms.View.Details;
this.lstPlaylist.DragEnter += new System.Windows.Forms.DragEventHandler(this.lstPlaylist_DragEnter);
this.lstPlaylist.DragDrop += new System.Windows.Forms.DragEventHandler(this.lstPlaylist_DragDrop);
