Wizard | Project and Application

You can create a new project by using the Project Wizard. You can launch the wizard by accessing the menu [File > New > Project].

Project Wizard

Environment, TypeDefinition, Application Information files will be created.

Step 1. Location

In this step, you can specify the type, name and location of a new project. The default location of a new project is the Working Folder designated in [Tools > Options > Environment > General].

The special characters presented in the below picture are not allowed as part of a project name.

Projects in the same folder must have unique names.

As with any Windows environment, certain file names cannot be used with the Nexacro.

The following site identifies names that cannot be used.

https://msdn.microsoft.com/en-us/library/aa365247.aspx#naming_conventions

Step 2. Screen

This step is to set up the screen information to be used in a new project. A "screen" refers to a piece of information required to run an application (e.g. a screen size). You can make a list of screens in advance during the process of creating a new project. You can modify the list later through the ScreenDefinition editor.

Call-out


Description

1

Width, Height

Width and height of the application

2

Screen ID

ID of a screen

3

Application ID

ID of an application.

The ID of a created screen will be the value of the screenid property of the corresponding application.

Like the name of a Form, you cannot use the special characters presented in the below picture as part of a Screen ID. Moreover, a Screen ID cannot begin with a number.

You are also prohibited to use the script reserved words managed by Nexacro Studio, which are presented by the below table.

arguments

break

case

catch

class

const

continue

debugger

default

delete

do

else

enum

eval

export

extends

false

finally

for

function

if

implements

import

in

include

instanceof

interface

let

new

null

package

private

protected

public

return

static

super

switch

this

throw

throws

true

try

typeof

var

void

while

with

yield

Step 3. Frame

In this step, you select frames that will be used in the Application. You can select different frames for each screen, and you can change frames after the project is created.

If you select a template other than 'none', Nexacro Studio will create a service named 'Frame' and a Form for each frame automatically. Click the 'Details Setting' tab to adjust detailed settings.

Call-out


Description

1

Frame Preview

Preview of an application's frame structure.

You can select a ChildFrame through the Frame Preview, Project Preview or Layout Previw.

2


You can set the showtitlebar or showstatusbar properties of the MainFrame object.

3


You can set the separatesize property of the FrameSet.

4

Layout Preview

Preview of the layouts, each of which structures the Form connected to the relevant ChildFrame

5

Project Preview

Preview of a project's structure.

It colors currently-edited elements blue.

Step 4 QuickCode

When using the QuickCode function, you can select the 4-step additional options.


Item

Description

1

Use 'QuickCode'

Enables the functions required to implement the QuickCode.

You can select either the Set development environment or the Start Tutorial item.

2

Set development environment

Enables the QuickCode sub-function selected when creating the project.

3

Registration: View

Adds the View component.

You can select the TypeDefinition > Objects item in Project Explorer and control from the ComComp.json list.

4

Registration: Model

Adds the sample Model item.

Adds the "model" Type service with the name "svcQuickCodeTutorial" and adds the Model item as the sample.

5

Docking Pane: QuickCode

Enables the QuickCode panel.

You can control from the menu [QuickCode > View > QuickCode].

6

Install: Sample

Installs the Viewset template, model, View template, and the Action sample file.

7

Start Tutorial

Runs the QuickCode Tutorial Wizard.

If you click the [Cancel] button in the QuickCode Tutorial Wizard, then you can create a project without the QuickCode setting.

After creating the project, you can run QuickCode Tutorial Wizard from the menu [QuickCode > Let's Try QuickCode].

Application Wizard

You can create and add a new application to an existing project through the Application Wizard (Project Wizard for a new application, strictly speaking). You launch this wizard by accessing the menu [File > New >Application].

The process of creating an application through the Application Wizard is almost the same as the Project Wizard.

What makes the Application Wizard different from the Project Wizard is that you can designate existing Forms when you configure ChildFrames.


Button name

Description

1

Select Form

Designates a Form to connect to the relevant ChildFrame

2

Set Defaults

Designates default Forms for each ChildFrame. The Project Wizard will create such default Forms (e.g. A default Form named 'Form_Left' will be created for a LeftFrame.).

Project Template

Select the Template item in the Project Wizard to create a preset template project. Just specify Project Name and location for the project to be created immediately.

Add on Template

The Add on Template to check open project information in Nexacro Studio is provided. The project created after creating the template project is created and is registered and run in External Tools.

You can modify the provided template project to change it to your desired form. The Add on is not intended to be run alone, but can only be used to check the information of the open project in Nexacro Studio.

The Add on Template can be used as follows.

1

Select the [Template > Add on Template] item in Project Wizard.

2

Enter Project Name.

3

Click the [Finish] button.

As the Add on Template is run, the Add on window is displayed and automatically registered in External Tools.

4

Select [Generate > Application] from the menu.

The default screen included in the template project is automatically generated, but the Generate Application task is required to use the entire function.

5

You can search project information by selecting the tab on the screen displayed in the Add on window.

The functions of each tab are as follows.

Tab Name

Description

All

Returns full project information.

nexacrostudio.request(requesttype.all)

Displays the returned JSON-formatted string in the TextArea component.

General

Frames

Forms

Components

Returns information of the file used in the project.

Puts the returned value in the nexacrostudio.request(requestType.general, dataObjectID) format in DataObject to display in the Grid component.


The function of exporting output results as the CSV file, Excel file.

  • The Excel file export uses XENI, and the XENI server URL connected must be entered.

Form Print

Returns the selected Form image and prints.

nexacrostudio.getFormImage(strFormurl)

6

If you have modified the code, then click the Refresh button in the Add on window.

Even if the code is modified and generated, it is not reflected immediately.

For Add on, the generated code is reflected when the Refresh button is clicked.

You can use it when modifying and testing the template project.

You can also use the trace method to check the returned value after running the request method.