Grid表格如何设置能保持选定行的背景色无变化(即选定行和别的行同一个背景色)
如题,请指教。
[此贴子已经被作者于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