I'm setting my color scheme to be longhorn (using the 11.1.17.12 build):
When I use an NDataGridView I noticed there are two color problems with it:
1) When I click to edit a cell I can't see what I am typing. The text foreground and the cell background appear both to be white.
2) If I stick a combobox on the cell (such as with the code below) and try to select items from the combo box I can't see the combo box list items unless I highlight it with the mouse. Seems the foreground and background color are both white.
DataGridViewComboBoxColumn
cmb.HeaderText =
cmb.Name =
cmb.MaxDropDownItems = 4;
cmb.Items.Add(
nDataGridView1.Columns.Add(cmb);
3) I also noticed that the mouse cursor I-beam shape over an NTextBox is very hard to see.
We like the longhorn scheme. Do you have any recommendations on how to fix these issues? Can these schemes be updated somehow?
Best Regards,Nevron Support Team
Thanks very much for the website tip. For the NDataGridView I'm not setting the foreColor. I just dropped an NDataGridView on a new form (test project) and tried to use that scheme with it. (I noticed ColorScheme.Blue has the same issue). Here's what the designer produced:
this.nDataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.nDataGridView1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(225)))), ((int)(((byte)(225)))), ((int)(((byte)(225))))); this.nDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.nDataGridView1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180))))); this.nDataGridView1.Location = new System.Drawing.Point(12, 12); this.nDataGridView1.Name = "nDataGridView1"; this.nDataGridView1.Size = new System.Drawing.Size(260, 226); this.nDataGridView1.TabIndex = 2; this.nDataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.nDataGridView1_CellClick);
I tried removing the setting of the BackgroundColor and the GridColor and this change didn't help. Perhaps this has been addressed in the current Nevron UI build.