StrataFrame Forum

Tutorial-Saving a Business Object on a Transaction

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

By Jerry Jansen - 8/20/2007

We recently purchased StrataFrame and am currently going thru the tutorial. I am at "Saving a Business Object on a Transaction" and noticed that after saving an edit by clicking on the "Save Trans" button that the navigation buttons do not refresh, they stay disabled after the transaction is saved. I also ran the tutorial installed and got the same results. I am sure this is not correct and that the navigation buttons should be re-enabled!



Also, can anyone tell me why, when I open a winform in Visual Studio 2005 from the project, the size of the form opens smaller than when I saved the form?



Thanks.
By Trent L. Taylor - 8/20/2007

I am sure this is not correct and that the navigation buttons should be re-enabled!

Not necessarily.  It depends on how you save and whether you are going through the form or a BO.  When you Save, whether on a transaction or not, through a BO, the forms maintenance toolstrip will not be updated.  However, if you call Save() through the form then you will get different results. 

when I open a winform in Visual Studio 2005 from the project, the size of the form opens smaller than when I saved the form?

This has something to do with your development environment.  Giving you a concrete answer on this one is not easy Smile  However, I have seen this before and it had to do with code in a Load or a New() that was manipulating the form size.  In these cases you need to test on Designmode before executing the code.