Form is the main component of the application

Print Previous page Top page Next page

Main visual component is the Form. Forms represent visible windows of Windows and they are a central part of any application. On the Form the visual and not visual components are placed. Thus the Form represents the component that serve as the container for all other components. The creation of the interface in Form constructor starts from Form addition into empty window by user (New item in the Form menu  or with usage of the Create new form button on the Main panel of constructor ).

The typical form represents the rectangular window with a framework. The most of windows contains the title bar where are arranged a header icon, header and a number of buttons permitting to fold, to unfold (to restore) and to close window.

Form which one display the different messages and require from user the input of any information often are named as dialogues.

As well as any other components the form has following properties: Colour, Height, Indent from the left, Indent from the top, Width, Active dataset name, Name, Caption.

Active dataset name is the pointer onto an active dataset from the list of datasets on the form (such components as Table and Query). This pointer is installed by default onto the maiden tuned data set of type Table. The property is intended to define by which of dataset the form is connected with a map.

Name contains a component name (identifier), under which one the Form will be written in Base Administrator.

Caption contains string for an inscription of the component header. Originally receives the value from Name property.

The again created form is saved by its allocation in a tree of the project forms ("Save form into project" button). The saving of the forms after editing is made at pressing on the Save button. The copy of the form opened onto editing can be saved in any place of a tree of the forms.