Group: Forum Members
Posts: 2K,
Visits: 6.6K
|
I have found two problems with the ThemedContainer:
- The redraw after resize is very slow (>5 seconds), if it happens at all for the close and expand/collapse icons. It updates if I move the mouse over the area were the icons go.
- The text in the title isn't clipped when it gets to the expand icon (chevron)/close icon.
Here is my setup:
I have a base form that has a ThemedContainer on it (subclassing a form that subclasses another form, that subclasses the SF StandardForm). On the main form, I have a second ThemedContainer. For both of these containers I'm using a custom icon for the close button and using "Raise Event Only" and the standard chevron with auto switch for the expand/collapse icon. I have both to "snap" when expanded/collapsed. They are both docked to Top.
I tried to use the Update method of the ThemedContainer in the Form's Resize event, which had no effect (icons not updated). I also tried the ResizeEnd event for the form, which resulted in the slow updates (as opposed to no updates) when making the form smaller, no updates when making the form larger.
Let me know if I forgot something or if I need to work up a sample app.
|