ColorScheme.Longhorn NDataGridView issues


Author
Message
Brad Swearingen
Brad Swearingen
Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)
Group: Forum Members
Posts: 53, Visits: 3

I'm setting my color scheme to be longhorn (using the 11.1.17.12 build):

NUIManager.Palette.Scheme = ColorScheme.Longhorn;

 

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 = new DataGridViewComboBoxColumn();

cmb.HeaderText = "Select Data";

cmb.Name = "cmb";

cmb.MaxDropDownItems = 4;

cmb.Items.Add("True");

cmb.Items.Add("False");

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?


Reply
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hello Brad,

By default the back color of cell in edit mode in NDataGridView when Longhorn palette is applied is white and the color of the text is black.

1st and 2nd problems may be caused if NDataGridView.DefaultCellStyle.ForeColor is set to white.


Indeed, when Longhorn palette is applied on NTextBox the mouse cursor color is close to the back color of the text box.

However, you can modify palette by changing some of its color property.

Please, check the following page from our documentation for more info:

http://helpdotnetvision.nevron.com/UsersGuide_Palettes_Using_Palettes.html

Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search