NTabControl background color


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
Thanks very much.  Not setting the NUIPanel.BackColor fixed it.
JSW W.
JSW W.
Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)
Group: Forum Members
Posts: 127, Visits: 1
I had the same issue before but mine was a usercontrol.
So i set my usercontrol background to transparent... and the color of the background will show through. See my previous question to the staff.

http://forum.nevron.com/shwmessage.aspx?forumid=2&messageid=4944#bm4956
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
Hi Brad,

Try the following:

Drop the NUIPanle on the form and set only FillInfo.Color = Color.Transparent and FillStyle to Solid.
Drop the NComboBox in the NUIPanel and set skin and /or palette settings on the form.

Do not set NUIPanel.BackColor to be transparent.

Hope this helps.

Best Regards,
Nevron Support Team


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 saw previous forum appends regarding setting the NTabControl's parent BackColor and am trying to get this to work with either skins or palettes.  No help with my problem with these appends.

I noticed the Edit>Dock Manager dialog on the Nevron User Interface Examples window has a tab control and works the way I want it to when using skins or palettes but I've not determined how to code this to make it work for both.

My NTabControl has a NUIPanel as its parent.  The NUIPanel BackColor is set to "Transparent" and the FillInfo.Color is set to "Transparent" along with the FillStyle=Solid.

I'd like the NTabControl tab area background color to work with either the palette or the skin.  With the settings above it only works for the palette.  When I use a skin its not blending correctly.  I've attached two screen shots showing this issue.  Can someone tell me how to code to support this like the "Edit Dock Manager" does?  The code for that dialog doesn't appear to be a part of the example VS solution.  Thanks for any tips.  I'm using the 11.1.17.12 build.

Note: The incorrectmacex.gif files color is lost somewhat.  The NTabControl has a white background where the UIPanel has a grey background.  I'd like them to be the same like they are in the correctwoodex.gif file.


Attachments
correctwoodex.gif (187 views, 55.00 KB)
incorrectmacex.gif (205 views, 36.00 KB)
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