Menu

#184 OLVColumn generated via designer is missing a Name

C#_v2.9
open
nobody
None
1
2021-05-05
2021-05-05
Jason Smith
No

When using the designer to create columns (BrightIdeasSoftware.OLVColumn) then the auto generated designer code does not include the "Name" of the column. All other form conrols include the name.

e.g.

Auto generated OLVColumn
//
// colNoServers
//
this.colNoServers.AspectName = "NoServers";
this.colNoServers.AspectToStringFormat = "{0:#,##0}";
this.colNoServers.Text = "No. Servers";
this.colNoServers.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;

Should also include the line
this.colNoServers.Name = "colNoServers";

This will then bring it into line with other Controls generated automatically in the designer.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB