Client Termination Method

<< Click to Display Table of Contents >>

Manual > Monitoring system construction guide > Project creation > Standard project creation > Standard project system settings > Function explanation >

Client Termination Method

Standard Framework Client Exit Method

There are the following methods for terminating a standard framework client. Select the appropriate method according to the user's needs.

 

Termination Method

explanation

Exiting Panel Browser via system button

 

You can exit by clicking the "X" button on Panel Browser.

 

This button is displayed when the title bar display and system menu display are enabled in the standard framework system settings.

 

p_prj_0042

 

Use of standard framework exit button

In the menu editing of the system settings of the standard framework, "Exit" is available as an item of special functions of the menu. When you add this item, the exit button is displayed.

 

(Edit System Settings Menu)

p_prj_0059

 

Setup Procedure

 

1.From the system settings screen, select Style Settings and Menu Editing.

 

2.Select the desired menu display location from the menu you want to edit.

 

3.From the "Special Functions" list, select "Exit" and add it to the Display menu.

 

(Example of the exit icon in the information bar)

p_prj_0060

 

(Example displayed in the framework header area)

p_prj_0044

 

(Example of menu items displayed)

p_prj_0045

 

Use the Part Library Browser Exit Button

 

This is a method that uses the "Browser Exit Button" provided in the parts library. You can use it just by pasting it from the parts library.

 

p_prj_0043

 

This part has a function to display a confirmation screen when the application is closed. The standard framework itself has a setting for whether or not to display the confirmation screen when the application is closed, so change the setting on the part side to "Do not display" to avoid the application being double-confirmed when the application is closed.

 

(Exit button property setting screen)

p_prj_0061

 

Using scripts

 

This is a method to call the termination process (CloseBrowser root method) from a script using Button control or similar.

 

Paste Button control into the calling form and open the script.

 

p_prj_0017

 

In the script editor, write the following code. Below is an example using the OnMouseUp event.

event OnMouseUp(button)
{
	::CloseBrowser();
}