Profile Picture

NFileLookup and NComboBox don't use the application palette

Posted By Craig Swearingen 12 Years Ago

NFileLookup and NComboBox don't use the application palette

Author
Message
Craig Swearingen
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 99, Visits: 654

On Win7 with the 11.12.14.12 I let the user choose the palette including letting them use

NUIManager.Palette.Scheme = ColorScheme.Longhorn;

Darker palettes are more popular in applications these days and when widgets don't completely use the palette its quite obvious in them.

1) I recently added function that uses the NFileLookup widget and noticed that it doesn't completely use the palette background color.  Its always got a white background.  You can easily reproduce this in the Nevron UI C# Examples program by changing the palette while showing the "File Look-up" page in the application you provide.

2) The NComboBox does support the palette in use except for the list used by the auto-complete feature.  My NComboBox with auto-complete is coded like this:

cbSymbol.Items.AddRange(mylist);

cbSymbol.EditControl.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;

cbSymbol.EditControl.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;

AutoCompleteStringCollection ac = new AutoCompleteStringCollection();

ac.AddRange(mylist);

cbSymbol.EditControl.AutoCompleteCustomSource = ac;

When the user types and the auto-complete suggestion drop list shows the list is always black text on a white background no matter the palette in use.

For my application issue #2 above is the most important to find a solution for.  I need it to honor the palette in use.  Given your documentation indicates the NComboBox is written from scratch it seems this should be fixable.  Is there someway to access this list widget so I can set the palette?






Similar Topics


Reading This Topic