3.6.1 Settings

To prompt the ‘Page Properties’ dialog box, select [Tools] – [Additional Tools] – [Page Setup] or double-click the blank space of the page. The dialog box is categorized into 3 functionalities: Page Property, Page Position and Action.

 

(1)    Page Property

You can change the title, the comment and the background color.

image-20240820-011024.png

Item

Description

Title

Enter the title to appear in the title bar.

Comment

Enter the short information of the page.

Background Color

Set the background color of page

 

(2)    Page Position

You can specify the position or the size of page, and reflect them in the project runtime.

image-20240820-011106.png

Item

Description

Edit Position

X

Enter the coordinate value that indicates the number of pixels between the left edge of the CimonD designing area and the left edge of the window being configured. Current location is set as default.

Y

Enter the coordinate value that indicates the number of pixels between the top edge of the CimonD designing area and the top edge of the window being configured. Current location is set as default.

Width

Enter the window’s width in pixels. Current width is set as default.

Height

Enter the window’s height in pixels. Current height is set as default.

Run Position

X

Represents the X coordinate of page window in the CimonX runtime.

Y

Represents the Y coordinate of page window in the CimonX runtime.

Width

Represents the width of page window in the CimonX runtime.

Height

Represents the height of page window in the CimonX runtime.

Fit in Screen

Automatically adjusts the position and size of current page to fit with the CimonX screen.

Copy

After adjusting edit location appropriately, press [Copy] to reflect coordinate values into the runtime.

 

(3)    Action

You can define the action for opening or closing the page. For example, when the page has opened or closed, a script is executed or a tag value is changed.

Item

Description

On Opening Page

Enter the command activated by opening page.

On Closing Page

Enter the command activated by closing page.

Command Expression such as OpenPage(), OpenPageEx(), ReplacePage(), ReplacePageEx(), RecipeDialog(), ShowAlarm(), ShowDatabase(), ShowNetStatus(), ShowRunStatus(), ShowDatalog(), ReportDialog(), ChangeEmbed(), ChangeEmbedEx() may not behave as expected in the defined behavior when on closing page.

Therefore, their use is not recommended.