Window Editor#

The "Window Editor" button (form editor) in the development menu allows you to create your own windows and display them in both modal and non-modal modes, including asynchronously relative to the script flow.

Working with the Window Editor is demonstrated here.

A modal window does not allow the application to continue working until it is closed. A non-modal window allows the User to switch to other modes of application operation without closing it, but is always visually positioned above the application. Additionally, created windows can be bound to user elements in other applications.

The Window Editor allows for both fixed and adaptive layout of windows.

Adaptive layout changes the design of the page depending on the User's behavior, platform, screen size, and device orientation, and is an integral part of modern web development. It allows significant savings by not having to redraw a new design for each resolution, but rather changing the sizes and positions of individual elements.

Fixed layout is a type of layout where the width of the content is rigidly defined in pixels and does not change depending on the size of the browser window.

The user interface of the Window Editor consists of the following main areas:

  1. Main menu (top panel);
  2. Common elements and containers;
  3. Central working area;
  4. Properties panel of elements.
No.Interface ElementDescription
1. “File” menuAllows you to use basic functions for managing user forms in the window editor.
2.“Edit” menuAllows you to perform actions such as undo, redo, copy, etc.
3.“New Window” buttonAllows you to expand a new form for editing.
4.“Preview” buttonAllows you to see the version that will be available after layout. You can also use the F5 key.
5.“Edit Window Properties” buttonAllows you to adjust the form settings. You can also use the F8 key.
6.“Edit Window Events” buttonAllows you to adjust the form settings. You can also use the Ctrl+F8 key combination.
7.button Allows you to undo an action.
8.button Allows you to redo an action.
9.button Allows you to delete the selected element.
10.button Allows you to align the selected element to the left.
11.button Allows you to align the selected element to the center.
12.button Allows you to align the selected element to the right.
13.button Allows you to align the selected element to the top.
14.button Allows you to align the selected element to the middle.
15.button Allows you to align the selected element to the bottom.
16.button Allows you to align the selected element width.
17.button Allows you to align the selected element height.
18.button Allows you to align the selected element sizes.

The "File" menu of the Window Editor contains the following functions:

No.Interface ElementDescription
1.“New Window” itemAllows you to expand a new form for editing.
2.“Export to File” itemAllows you to export the form to a JSON file. You can also use the Ctrl+E key combination.
3.“Import from File” itemAllows you to import the form from a JSON file. You can also use the Ctrl+I key combination.
4.“Preview Window” itemAllows you to see the version that will be available after layout. You can also use the F5 key.
5.“Edit Window Properties” itemAllows you to adjust the form settings. You can also use the F8 key.
6.“Edit Window Events” itemAllows you to adjust the form settings. You can also use the Ctrl+F8 key combination.
7.“Close” itemAllows you to close the Window Editor.

The "Edit Form Settings" window can be opened in several ways:

  • From the "File" menu using the "Edit Window Properties" or "Edit Window Events" items.
  • From the main menu using the "Edit Window Properties" or "Edit Window Events" buttons.
  • Using the keyboard keys "F8" and "Ctrl+F8" to open the Form Settings Editor on the "Properties" tab and the "Events" tab, respectively.

The "Properties" tab of the "Edit Form Settings" window contains the following functions:

No.Interface ElementDescription
1.“Add Element” buttonAllows you to add an element from the list of common elements by selecting from a dropdown list.
2.“Move Up” buttonAllows you to move the selected element up.
3.“Move Down” buttonAllows you to move the selected element down.
4.“Binding Name” columnAllows you to select a variable to which another variable will be bound.
5.“Binding Type” columnType of binding, comparison or assignment.
6.“Binding Value” columnAllows you to select a variable to which a value will be bound.

The "Events" tab of the "Edit Form Settings" window contains the following functions:

No.Interface ElementDescription
1.“Add Element” buttonAllows you to add an element from the list of common elements that are already installed in the window (form) by selecting from a dropdown list.
2.“Add Button Events” buttonAllows you to add button events.
3.“Name” columnName of the added element.
4.“Value” columnValue of the event.

The "Edit" menu of the Window Editor provides the following options:

No.Interface ElementDescription
1.“Undo” itemAllows you to undo an action. You can also use the Ctrl+Z key combination.
2.“Redo” itemAllows you to redo an action. You can also use the Ctrl+Y key combination.
3.“Copy” itemAllows you to copy an element. You can also use the Ctrl+C key combination.
4.“Paste” itemAllows you to paste an element. You can also use the Ctrl+V key combination.
5.“Delete” itemAllows you to delete an element. You can also use the Delete key.

When using the Window Editor, a number of elements and tools are available:

  • multi-level table layout;
  • buttons, checkboxes, text fields;
  • regular and dropdown lists, as well as checkbox lists;
  • radio buttons and radio groups;
  • calendars;
  • password and other special types of fields;
  • images;
  • progress bars;
  • text editor with formatting;
  • splitters, tabs, scroll bars;
  • editable data tables;
  • other controls.

Each control has more than 50 customizable properties that determine their appearance and behavior. The values of each of them, as well as user actions in the window, can be bound to changes in the values of selected variables, and vice versa - changing the values of variables leads to changes in the values of corresponding controls. This functionality allows for the development of branched dialog and expert systems, robot settings windows, interactive hints and assistants, as well as entire multi-window applications within the robot's script.

Important! To demonstrate the functionality, a game "Tic-Tac-Toe" has been added to the Project folder - the world's first tic-tac-toe implemented using RPA platform tools.

No.Interface ElementDescription
1. Common Elements
1.1. CursorAllows you to select an element on the form for its configuration/movement.
1.2. LabelAllows you to set a text label in the editable window (form).
1.3. ButtonAllows you to set a button.
1.4. CheckBoxAllows you to set a checkbox.
1.5. TextBoxAllows you to set a text field.
1.6. ComboBoxAllows you to select one item from a list of predefined options.
1.7. CheckedListBoxAllows you to set a simple list with checkboxes.
1.8. DateTimePickerAllows you to set an element for selecting date and time.
1.9. LinkLabelAllows you to set an element with a hyperlink.
1.10. ListBoxAllows you to set a simple list.
1.11. MaskedTextBoxAllows you to set a text field with input control and automatic error checking.
1.12. MonthCalendarAllows you to set an element with a date that can be selected using a visual calendar for the month.
1.13. NumericUpDownAllows you to set a counter with a numeric input field.
1.14. PictureBoxAllows you to set an element displaying graphic objects in the following formats: raster images, GIF, JPEG, metafile, or icon.
1.15. ProgressBarAllows you to set an indicator that displays the progress of a task.
1.16. RadioButtonAllows you to set an element that provides the option to select one option from a predefined set.
1.17. RichTextBoxAllows you to set a text field with the ability to input and format text.
1.18. DataGridViewAllows you to set an element displaying data in a tabular format.
2. Containers
2.1. CursorAllows you to select an element on the form for its configuration/movement.
2.2. GroupBoxAllows you to set a frame around a group of controls.
2.3. PanelAllows you to set a panel containing other controls.
2.4. SplitContainerAllows you to set two panels separated by a splitter. By changing the position of the splitter, you can change the sizes of these panels.
2.5. TabControlAllows you to set a control with multiple tabs. Each tab will hold some set of other controls such as buttons, text fields, etc.
2.6. TableLayoutPanelAllows you to set an element for organizing components in a grid or table format.

The central working area of the Window Editor is intended for working with the created window (form) and its design. It displays the results of all manipulations performed on the top panel of the main menu and on the side panels of the Window Editor.

The properties panel of elements allows you to configure the window (form), change its name, and configure the properties of each of the installed elements and containers in the window (form) separately. To select the element that needs to be configured, it must be selected from the dropdown list at the top of the panel. The right panel contains tabs, the number and content of which change depending on the selected element. Each of the tabs can be expanded for configuring the window (form) element. For convenience, the contents of the tabs can be sorted not only by categories but also alphabetically.

No.Interface ElementDescription
1.“Appearance” tabConfiguration of the appearance parameters of the selected element.
2.“Data” tabConfiguration of the data binding of the selected element.
3.“Layout” tabConfiguration of the layout of the selected element.
4.“Behavior” tabConfiguration of the behavior of the selected element.
5.“Other” tabConfiguration of other properties of the selected element.
6.“Development” tabConfiguration of properties related to development.
7.“Accessibility” tabConfiguration of properties related to accessibility.
8.“Window Style” tabConfiguration of the window style.
9.“Focus” tabConfiguration of properties related to the focus of the selected element.

A detailed description of the properties can be found on the website.