StrataFrame Forum

Allow more customization

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

By Andria Jensen - 6/8/2006

You guys support all the DevExpress controls and forms which makes it great for the end look of the application.  Everything can be changed by a simple style change and it makes things very smooth and put together.  However, I haven't seen anywhere you can allow the MessageForm that comes up to match your style.  It makes the application look weird when you're doing something and a message box comes up that looks completely different than your application.  I would like for things like this, as well as the ErrorBox, InfoBox, etc. to be customizable or at least take on the styles of DevExpress so things will flow together.  Thanks, and if this already exists forgive my ranting and please point me in the right direction!

 

By Trent L. Taylor - 6/8/2006

Thanks for your input.  We will take into our next enhancement meeting.
By Andria Jensen - 6/8/2006

Is there any way to show our own message box instead of the SF MessageForm when there are events such as the "Do you want to save changes?" or "Are you sure you want to delete?".  i.e.  Is there an event we can replace which handles these and just have our own message box come up instead?
By StrataFrame Team - 6/8/2006

Yes, we just handle the BeforeDelete and UnsavedChangesExist events on the form and show our own message boxes.  You can turn off the auto-handling through the properties and then just show the messages through those events.
By Andria Jensen - 6/8/2006

Great, thanks!  That will work for now.  The DevExpress style message boxes would still be awesome!
By StrataFrame Team - 6/8/2006

That they would Smile
By Bruce Palmer - 8/19/2006

Hi guys,



This is an enhancement that I would really like as well, i.e. DevExpress themed versions of MessageForm, etc.



Thanks,

Bruce
By Trent L. Taylor - 8/21/2006

This is something that could be done very easily yourselves if you want to move forward on your own.  You can create your own DevExpress form that follows the skins and themes.  The simply call the following method to get the message from the database:

MicroFour.StrataFrame.UI.LOcalization.RetrieveMessage("")

This will return the message and you can set the text however you would like on your own DevExpress skinned form.  There are other inherant issues with us doing this within the framework since the MessageForm is at the base level and we do not want the framework to have any reference to DevExpress.  This is something we may add to the DevExpress wrapper long term, but it would require that the message form be called differently.  As we decide how we want to proceed, you still have the option of creating your own form as we speak which will give your the flexibility that you want.