Screen size route properties

<< Click to Display Table of Contents >>

Manual > Surveillance system construction guide > Project creation > Creating your own project > Designing the layout of your own project >

Screen size route properties

Screen size route properties

Below are the root properties related to screen size. Set the appropriate one depending on how you want the screen to be displayed at runtime.

 

 

Root Properties (Browser Group)

DefaultForm

The name of the initial form displayed when the browser is launched.

EscToReleaseFullScreen

Whether to exit full screen mode when the ESC key is pressed.

ShowMaxButton

When the browser starts, displays or hides the largest button on the right of the title bar.

ShowMenu

Shows or hides the menu when the browser starts.

ShowMinButton

When the browser starts, displays or hides the smallest button on the right of the title bar.

ShowStatusBar

When the browser starts, the status bar is displayed or hidden.

ShowSystemMenu

Shows or hides the system menu when the browser starts.

ShowTitleBar

When the browser starts, the title bar is displayed or hidden.

StartupCenter

When the browser launches, it will be centered on the desktop.

StartupSize

The size of the browser when it was launched.

STANDARD - Standard size.

FULLSCREEN - Full screen display. The form will fill the entire desktop.

DEFAULTFORM - The size of the form set in DefaultForm.

MAXIMUM - Maximum display.

MINIMUM - Minimum visibility.

CUSTOMSIZE - Display at the size specified by the user (specifies the size of the form displayed in Panel Browser).

CUSTOMSIZE2 - Display at the size specified by the user (specify the Panel Browser screen size itself).

StartupSizeHeight

Screen height. Only valid when StartupSize is set to CUSTOMSIZE or CUSTOMSIZE2.

StartupSizeWidth

Screen width. Only valid when StartupSize is set to CUSTOMSIZE or CUSTOMSIZE2.

Stretch

Stretch mode. The form size is automatically adjusted (enlarged or reduced) according to the following modes:

"NONE" - Display at actual size (no stretching).

"STRETCH_FULL" - Stretch to fit the size

"STRETCH_KEEPRATE" - Stretch to fit the size (keep aspect ratio)

(Reference) The load required for drawing is smallest with "STRETCH_FULL".

ViewFillColor

Background color of the view (outside the form).

 

 

Route property setting example

Here are some examples of route property settings depending on how the screen is displayed at runtime.

 

Example of route property settings

Fixed size

 

Property Name

Setting Value

StartupSize

The screen size when Panel Browser is launched.

 

CUSTOMSIZE

The user specifies the size. The value of StartupSizeWidth/StartupSizeHeight becomes the size of the form.

CUSTOMSIZE2

The user specifies the size. The value of StartupSizeWidth/StartupSizeHeight becomes the size of the application (Panel Browser).

 

StartupSizeWidth

Set the screen width.

StartupSizeHeight

Set the screen height.

AllowResize

FALSE: Prevents the window size from being changed after the browser is launched. Set FALSE to keep the size fixed.

StartupCenter

Center your desktop in the browser's runtime position. Set it according to your needs.

ShowMaxButton

Shows/hides the largest button on the right of the title bar while the browser is running.If you want a fixed sizeSet FALSE.

ShowMinButton

Shows or hides the smallest button on the right of the title bar while the browser is running.If you want a fixed sizeSet FALSE.

ShowTitleBar

Show or hide the title bar while the browser is running. Choose according to your needs.

ShowMenu

Show or hide the menu while the browser is running. Choose according to your needs.

ShowStatusBar

Show or hide the status bar while the browser is running. Choose according to your needs.

 

Variable size

 

Property Name

Setting Value

StartupSize

The size of the browser when it was launched.

 

FULLSCREEN

Full Screen: The form fills the entire desktop.

 

MAXIMUM

Maximum display.
 

CUSTOMSIZE

The user specifies the size. The value of StartupSizeWidth/StartupSizeHeight becomes the size of the form.

CUSTOMSIZE2

The user specifies the size. The value of StartupSizeWidth/StartupSizeHeight becomes the size of the application.

 

StartupSizeWidth

Set the screen width. StartupSizeOnly for CUSTOMSIZE/CUSTOMSIZE2.

StartupSizeHeight

Set the screen height. StartupSizeOnly for CUSTOMSIZE/CUSTOMSIZE2.

AllowResize

If this is set to FALSE, the window size will not be changeable after the browser is launched. If you want the window size to be variable, set this to TRUE.

StartupCenter

Center your desktop in the browser's runtime position. Set it according to your needs.

WindowsMinWidth

The minimum limit size (width) when the browser size is reduced. Set the minimum expected resolution width.

WindowsMinHeight

The minimum limit size (height) when the browser size is reduced. Set the assumed minimum resolution height.

ShowTitleBar

Show or hide the title bar while the browser is running. Choose according to your needs.

ShowMenu

Show or hide the menu while the browser is running. Choose according to your needs.

ShowStatusBar

Show or hide the status bar while the browser is running. Choose according to your needs.

 

Run as full screen

 

Property Name

Setting Value

StartupSize

The size of the browser when it was launched.

 

FULLSCREEN

Full Screen: The form fills the entire desktop.

 

 

EscToReleaseFullScreen

If you do not want to exit full screen mode with the ESC key, set this property to FALSE.

AllowResize

FALSE: Prevents the window size from being changed after the browser is launched. Set FALSE to use full screen display.

WindowsMinWidth

The minimum limit size (width) when the browser size is reduced. Set the minimum expected resolution width.

WindowsMinHeight

The minimum limit size (height) when the browser size is reduced. Set the assumed minimum resolution height.