Studio Workspace Migration - Client Area Sizing
On this page, you will be presented with the options you now have to adjust the sizing of your application.
In prior revisions of DataFlex, all window sizing referred to the non-client area of the window. This has been changed so that, by default, Size properties for dialog objects (views, modal panels, and tool panels) now refer to the client area of the window. Your dialogs will need to be adjusted for this change.
Options Available
Use Client Area Sizing (Recommended)
-
The
Size,GuiSize,piMaxSize, andpiMinSizeproperty values will be adjusted for View, ModalPanel, and ToolPanel objects to compensate for the change to client area sizing. -
Be careful to ensure that you are performing a migration that does "client area sizing" adjustments in the host environment in which the application is properly sized, since all adjustments will be made based on the current environment. For example, if the application is currently properly sized for Windows XP, make sure you perform the migration on XP.
Use Non-Client Area Sizing
- The
pbSizeToClientAreaproperty will be set toFalsefor all View, ModalPanel, and ToolPanel objects to force them to continue using outer window (non-client) area sizing.
The wizard will modify your source code according to the option you select. Before doing so, a backup (.bak) of the source file that will be modified will be created.
In the modified source file, you will still have the original line of code commented out, and the wizard will add a timestamp above the modified section of your code, e.g.:
// DataFlex
// Client Size Adjuster, modified January 11, 2014: 16:38:14