Table of Contents

4.2 IDE - Structure

This chapter introduces you to the structure of the Gambas IDE and describes how you can change this structure. You can change it by adding or deleting individual windows to the workspaces or by hiding them and by changing the arrangement of the individual windows in the workspace. When you create a new project in the IDE or open an existing project, the IDE starts with a preset structure.

4.2.1 IDE

It is assumed that you open an existing Gambas project. You will then see the IDE with the following structure:

IDE
Figure 4.2.1.1: IDE - Form Editor

Comment

S-E
Figure 4.2.1.2: IDE - source code editor

P-E
Figure 4.2.1.3: IDE - Image Editor

If you have started a Gambas programme or want to create an executable file, then output will be seen in the console and possibly other windows will be displayed, in which, for example, a warning will be issued:

K1
Figure 4.2.1.4: Console - Output of `PRINT Application.Version`

K2
Figure 4.2.1.5: Fixed breakpoints

K3
Figure 4.2.1.6: Troubleshooting

If you have set breakpoints, then execution stops at the first breakpoint. This gives you the possibility to display the current value of a property or properties and their values of a control. This way you can track down a possible error. You only have to double-click on the property or control of interest to read its properties:

Value
Figure 4.2.1.7: Tasks - Value of the property `.Text` of the textbox txbInputA

Continuing in the programme flow, for example, use the function key F5.

A
Figure 4.2.1.8: Tasks

W
Figure 4.2.1.9: Warnings

Comment

4.2.2 IDE - Changes

Changes to the structure of the IDE relate to showing or hiding certain windows. This is done automatically when switching between editors such as the shape editor and source editor → Figure 4.2.1.1: IDE - Shape editor marker (arrow button ⑥ ). You can use the function key F12 to switch between the shape editor and the source text editor at lightning speed. You can use selected F keys to change the structure. Note that these changes depend on the current editor type. For example:

P-Editor
Figure 4.2.2.1: IDE - Image Editor