RibbonTab hide problem

Topics related to the Krypton Ribbon.

Moderators: Phil Wright, Chris Porter

RibbonTab hide problem

Postby matom » Tue Mar 29, 2011 3:08 pm

Hi,

there is a problem in my application, you can see the problem in the pictures. (focus the bottom of two pictures)
when the visuals of tab is display, everything is fine. but when the tab is hide, something wrong.
I don't know what happened. :( It likes something hide the bottom of panel.
this problem is only display when the windowstate is Maximized.
Attachments
wrong.png
wrong
wrong.png (42.86 KiB) Viewed 657 times
right.png
right
right.png (52.82 KiB) Viewed 657 times
matom
 
Posts: 4
Joined: Thu Jan 13, 2011 6:58 pm

Re: RibbonTab hide problem

Postby matom » Tue Mar 29, 2011 7:31 pm

I'm sorry, it's my problem.
I create a Graphics object named m_g in the Initialize Function use panel.CreateGraphics(). When the panel size chaged, m_g is not updated at the same time. m_g.VisibleClipBounds still use the old value. that's the reason.
I was feazed by this problem for a long time. I'm happy to solve it today. :D
matom
 
Posts: 4
Joined: Thu Jan 13, 2011 6:58 pm


Return to Krypton Ribbon

Who is online

Users browsing this forum: No registered users and 0 guests