Go to Scriptcase store

# Control Layout Setting

This module lets you editing display options for the application. You can apply visualization themes, organize blocks, define values, and the display format of the Header and Footer.

## Blocks

Blocks are “containers” where you can position the application fieldSlides of Forms, Controls, or Grids.

Scriptcase creates applications with one block by default. You can add more blocks as you wish, to organize it in the best way.

See below, the Columns Organization, and where you can define the position of the next block: beside or below the current one.

Application Block configuration

On the left side of each block, there are two icons, the first one to edit the information of the block and the second one to delete the block.

### Organizing the position of the Blocks

See below how to modify the display order of the Blocks in one Page.

Click and drag the block that you desire to modify to its new position.

Application Block Display configuration

- See how to remove a block from the display

Click on the block desired and drag it to the item “Blocks not Shown”. This way, you can also drag the block to another page if desired. See the images below.

Application Block Display configuration

Application Block Display configuration

#### Block

- Name: The name that identifier the Block.
- Label: Title of the block to display in the application.

  #### Title

- Display: It controls the display of the block title.

  #### Label

- Display: It controls the display of the field labels of the block.
- Position: Options to display label :
  1. Above: Display the label above the field.
  2. Beside: Display the label beside the field.
  3. Below: Display the label below the field.

     #### Fields

- Columns: Amount of columns side by side in the block.
- Position: The way to display the fields in the block:
  1. Below: Display the fields one below the other respecting the number of columns.
  2. Beside: Display the fields one beside the other respecting the number of columns.
  3. Line: Display the fields one beside the other with no tabulation.

     #### Organization

- Next: The way to display the blocks in the page:
  1. Below: Set to show the following block below the current one.
  2. Beside: Set to show the following block beside the current one.
  3. Tabs: Set to show the following block in a different tab then the current one.
- Width: Set the block width in pixels or percentages. Use the symbol “%” to indicates the value in percentage.
- Collapse: Enables the option to close the block.

### Create a New Block

To include new blocks in an Application, click on the button . Then, enter the name and label of the block in the following interface and finish by click on Create.

Creating application blocks configuration

#### Name

Name of the Block.

#### Label

Title of the block to display in the application.

### Edit Blocks

To edit a block, click on the icon , that is on the left side of the block. Then you can see the following interface to define the parameters of the blocks. Click on Save to finish.

Application Block editing interface

#### Name

    Name of the block. #### Title
    Block title for display. #### Display Title
    This option, when active, allows displaying  the block title. #### Title Font
    Set the font family of the block title. #### Font Size
    Set the font size of the block title. #### Font Color
    Set the font color of the block title. #### Background Color
    Set the Background Color of the block title. #### Background image
    Set a Background image for the block title. #### Title Height
    Height in pixels of the block title line. #### Horizontal Alignment
    Horizontal Alignment of the block title (Left, Center, and Right). #### Vertical Alignment
    Vertical Alignment of the block title (Top, Middle, and Bottom). #### Display Label
    Display the labels of the fields in the block. #### Columns
    Amount of field columns in a block. #### Columns Width
    Set the field column width of the block. #### Label Color
    Color of the field labels. #### Fields Organization
    The way to display the fields in the block. #### Label Position
    Set the position of the field labels of the block.

The options are:

- Beside - This option positions the label on the right side of the field.
- Above - This option places the label above the field.

- Below - This option places the label below the field.

- Watermark - This option positions the label as a watermark.

#### Next Block

    Set the position of the following block relating to the current one. #### Border Color
    The border Color for the block. #### Border Width
    The border Width for the block. #### Block Width
    The width for the block. #### Block Height
    The Height for the block. #### Cell Spacing
    The Cell Spacing in the block. #### Collapse
    It enables the option to close the block.

## Layout Settings

ScriptCase creates an app by using default values defined per project, but you can change those values for a specific application on this interface.

Application Layout Settings

#### Header Template

Allows choosing the look of the application Header.

#### Footer Template

Allows choosing the look of the application Footer.

#### Button

Allows choosing the button theme for the application.

#### Themes

Choose one of the selected themes in the project properties. It defines the look of the application, like colors, fonts, and others.

## Header

Here we can define if we want to display the header or not, the application title, and fill the header variables. The header looks according to the selected template in the Layout settings interface.

Application Header Configuration

#### Display Header

This option determines if we want to display the header or not.

#### Title

Allows informing the title of the application.

#### Header Variables

We must fill the variable fields with one of the types available in the Combobox. Depending on the type, you need to associate content with it. Those are the types:

- Field: When you choose the option “Field”, it opens a Combobox to choose a field to associate the field value with the header. This option will be enabled in the applications that you can crate a fields
- Title: It displays the value of “Application Title” in the header.
- Date: It displays the system’s date in “yyyy/mm/dd” format in the header. There are several display formats available, and you can change it by using the text field beside it. To access existing formats, click on the hint to see an explanation.
- Image: It displays a field to inform the name of an existing image in the server. You can select an image by clicking on the icon “Choose Image”, and you still can upload new images by using the button “Upload”. .
- Value: It displays the content of the text input. You can inform static texts and “Global Variables”. e.g. “Employee Name: [v_name]”.

> Depending on the Application, you may have more than one title option.

## Footer

Application Footer Settings

This page may change depending on the footer template chosen in the Layout Settings.

#### Display Footer

This option determines if we want to display the footer or not.

#### Footer Variables

We must fill the variable fields with one of the types available in the Combobox. Depending on the type, you need to associate content with it. Those are the types:

- Field: When you choose the option “Field”, it opens a Combobox to choose a field to associate the field value with the header. This option will be enabled in the applications that you can crate a fields
- Date: It displays the system’s date in “yyyy/mm/dd” format in the header. There are several display formats available, and you can change it by using the text field beside it. To access existing formats, click on the hint to see an explanation.
- Image: It displays a field to inform the name of an existing image in the server. You can select an image by clicking on the icon “Choose Image”, and you still can upload new images by using the button “Upload”. .
- Value: It displays the content of the text input. You can inform static texts and “Global Variables”. e.g. “Employee Name: [v_name]”.

#####

#####