StrataFrame Forum

Resolution Independence

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

By Coolbreeze - 3/3/2010

Hi All

Does Strataframe have anyway to support Resolution Independence? By that i mean for example, one user have a monitor with 1024X768 and another have 1280X800 (Wide screen). In this case so forms will auto stretch and you will not get words and fields cut off.

Rudolph 

By Trent L. Taylor - 3/3/2010

The short answer is, yes.  This is actually something that can be natively done with any control in .NET that inherits from a "Control" class.  I will do this many times just using the Anchor properties of a control.  So, for example, I might take a textbox on the far right of the screen and set the anchoring to Left + Top + Right.  This would allow the control to grow with the form.  There are other more cumbersome solutions such as using a table.  This is a native .NET control that is intended for this very type of thing.

In our medical application we develop for 1024x768 and then use anchoring where applicable to accomodate larger resolutions.  Also, any time I create a control (i.e. our appointment scheduler control in the medical app) I create it to support scaled resolutions....but this is major overkill for most areas of an application.

So like I said, the short answer is "yes," but we could actually discuss this in depth in a number of different ways.