StrataFrame Forum

ThemedContainer Problem

http://forum.strataframe.net/Topic10523.aspx

By fparker - 7/23/2007

I have encountered a bug in the ThemedContainer control.  If you drop one on a form and then set it's Anchor property to "Bottom, Left, Right", an exception will be thrown when the form its on is minimized and then restored.  Thanks for your help.

Fran Parker.

By Trent L. Taylor - 7/24/2007

Fran,

I beleive you, but I cannot reproduce it Smile  I have seen this type of error before when rendering because the size of the rendering area becomes 0 or less than zero.  However, I have not been able to reproduce this yet.  Can you post a sinple sample that reproduces the error?  Thanks.

Also, we fixed some things just like this in version 1.6.1, are you running 1.6.1?

By fparker - 7/24/2007

Trent,

Attached is a simple project to demonstrate the problem.  To get the exception, run the program, minimize the form and then attempt to restore it.  I am running version 1.6.1.  Also, for what its worth, I'm running under Vista with the Aero interface enabled.  If you have any questions or if there is anything else I can do to help, let me know.

Fran Parker

By Trent L. Taylor - 7/25/2007

OK, I have fixed the problem.  Attached are the StrataFrame assemblies.  Just drag them into you GAC (c:\windows\assembly) and then try again.  I did reproduce it with the sample you sent and the problem went away once I made the change.  Let me know if you have any trouble.  Thanks.

Note: I know that you do not have the source for this, but we are planning on posting an update in the next week or two which will include some very minor fixes, including this one, as well as some new samples.

By Ben Hayat - 7/25/2007

including this one, as well as some new samples.




Hey Trent, just a reminder, please make sure the missing C# samples are in the new update.



Thanks!