Kexi/Handbook/Building Simple Databases/Designing Forms/Working with form design/en: Difference between revisions

From KDE UserBase Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 2: Line 2:
====Working with form design====
====Working with form design====


As with table or query design, you are able to use '''Data View''' and '''Design View'''. Form designing is performed in '''Design View'''. We will often refer to the form design window as to '''Form Designer'''.  
As with table or query design, you are able to use Data View and Design View. Form designing is performed in Design View. We will often refer to the form design window as to ''Form Designer''.  


#To create a new empty form, select <menuchoice>Form</menuchoice> from the toolbar. Optionally, you can use the <menuchoice>Create Object: Form</menuchoice> command from drop-down button on the Project Navigator's toolbar or <menuchoice>Create Object: Form</menuchoice> command from the context menu of the Project Navigator.
#To create a new empty form, select <menuchoice>Form</menuchoice> from the toolbar. Optionally, you can use the <menuchoice>Create Object: Form</menuchoice> command from drop-down button on the Project Navigator's toolbar or <menuchoice>Create Object: Form</menuchoice> command from the context menu of the Project Navigator.
#A new frame will appear, you can resize the form by moving the borders. The form is covered with a grid which simplifies accurate positioning of the widgets.  
#A new frame will appear, you can resize the form by moving the borders. The form is covered with a grid which simplifies accurate positioning of the widgets.  


As with table design, '''Form Designer''' provides a '''Property Editor''' pane. To save some space on the screen, the pane has three tabs related to the currently selected form:  
As with table design, Form Designer provides a '''Property Editor''' pane. To save some space on the screen, the pane has three tabs related to the currently selected form:  


;The Properties tab
;The Properties tab
:Contains a list of properties for the currently selected widget.
:Contains a list of properties for the currently selected widget.
;The Data source tab  
;The Data source tab {{Icon|server-database}}
:Contains properties related specifically to the data source of the currently selected widget or the form itself.  
:Contains properties related specifically to the data source of the currently selected widget or the form itself.  
;The Widgets tab  
;The Widgets tab {{Icon|action-widgets}}
:Contains a hierarchy of all widgets of the form. The list simplifies widgets lookup by name and navigation between them.  
:Contains a hierarchy of all widgets of the form. The list simplifies widgets lookup by name and navigation between them.  


Line 20: Line 20:
Additional toolbars are also available:
Additional toolbars are also available:


* The '''Widgets''' toolbar used for inserting new widgets into the form. Select the <menuchoice>Form Design</menuchoice> to display it.
* The Widgets toolbar used for inserting new widgets into the form. Select the <menuchoice>Form Design</menuchoice> to display it.


<!--FIXME no Format toolbar and Format menu in master/2.4
<!--FIXME no Format toolbar and Format menu in master/2.4

Revision as of 08:52, 20 April 2012

Other languages:

Working with form design

As with table or query design, you are able to use Data View and Design View. Form designing is performed in Design View. We will often refer to the form design window as to Form Designer.

  1. To create a new empty form, select Form from the toolbar. Optionally, you can use the Create Object: Form command from drop-down button on the Project Navigator's toolbar or Create Object: Form command from the context menu of the Project Navigator.
  2. A new frame will appear, you can resize the form by moving the borders. The form is covered with a grid which simplifies accurate positioning of the widgets.

As with table design, Form Designer provides a Property Editor pane. To save some space on the screen, the pane has three tabs related to the currently selected form:

The Properties tab
Contains a list of properties for the currently selected widget.
The Data source tab
Contains properties related specifically to the data source of the currently selected widget or the form itself.
The Widgets tab
Contains a hierarchy of all widgets of the form. The list simplifies widgets lookup by name and navigation between them.

There is information about currently selected widget's name and type displayed on the first and second tab.

Additional toolbars are also available:

  • The Widgets toolbar used for inserting new widgets into the form. Select the Form Design to display it.