|
<< Click to Display Table of Contents >> Manual > Monitoring system construction guide > Project creation > Standard project creation > Standard project system settings > Function explanation > About Form Stretch Mode |
About Form Stretch Mode
The stretch mode is a property that specifies the behavior when the screen size is changed. Be sure to set the appropriate value for the stretch mode of each form depending on the purpose of the screen to be displayed.
The stretch mode is set for the form's "Stretch" property. This property can be set from the Form Settings dialog's Advanced Settings > Form "Stretch" setting.

The Stretch property has the following settings:
Setting Value |
explanation |
||||||||||
CURRENT |
The settings of the previously displayed form will be inherited.
|
||||||||||
ROOT |
The route property Stretch is respected.
|
||||||||||
NONE |
No stretching is performed and the form is displayed at its actual size.
|
||||||||||
STRETCH_FULL |
It will be stretched to fit the display size. If you set STRETCH_FULL, the aspect ratio of the original form will not be maintained and the form will be stretched to fill the display frame.
(Before resizing)
(After resizing)
|
||||||||||
STRETCH_KEEPRATE |
It will be stretched to fit the display size (maintaining the aspect ratio). If you set STRETCH_KEEPRATE, the form will be enlarged or reduced to fit the display frame while maintaining the aspect ratio of the original form.
(Before resizing)
(Example of narrowed width)
(Example of wider width)
|
||||||||||
RESIZE_FULL |
Dynamically resizes the form itself according to the display size. When RESIZE_FULL is set, the size of the displayed form itself is dynamically resized according to the size of the display frame, and the display position and size of each object placed on the form are displayed according to the resize settings (AutoResizeX, AutoResizeY properties) of each object.
Below is an example of placing the two controls shown below at the bottom of a form and changing the settings of the AutoResizeX and AutoResizeY properties.
(Property settings for a horizontal rectangle)
(Property settings for the square in the bottom right corner)
(Example of narrowed width)
(Example of wider width)
|
||||||||||
RESIZE_KEEPRATE |
The form dynamically resizes itself to fit the display size (maintaining aspect ratio).
|
|
For more information about the form's Stretch property, see the Form Controls section of the Control Reference. |