ThemedContainer issues


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
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.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Greg McGuffey - 16 Years Ago
     Bump...
Greg McGuffey - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Greg McGuffey - 16 Years Ago
Trent L. Taylor - 16 Years Ago
                         Your probably not following because this is a hard one! :D
...
Greg McGuffey - 16 Years Ago
                             Well, it was bound to happen...I had a bug :D Try this assembly and it...
Trent L. Taylor - 16 Years Ago
                                 OK, I know I've done this a few times before...but when I try to copy...
Greg McGuffey - 16 Years Ago
                                     I used the gacutil and that worked. The update fixed the problem....
Greg McGuffey - 16 Years Ago
                                         ROFL :hehe: ....nah, that is why creating a sample for me to look at...
Trent L. Taylor - 16 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search