[此贴子已经被作者于2022-7-22 17:28编辑过]
this.AllowCellSelection = .f. this.HighlightStyle = 2 this.HighlightBackColor = this.BackColor this.HighlightForeColor = this.ForeColor IF this.AllowCellSelection this.SelectedItemBackColor = this.BackColor this.SelectedItemForeColor = this.ForeColor ENDIF