Jump to content

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

From KDE UserBase Wiki
Claus chr (talk | contribs)
Marked this version for translation
Jstaniek (talk | contribs)
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 4: Line 4:


<!--T:2-->
<!--T:2-->
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 design is performed in Design View. We will often refer to the form design window as the ''Form Designer''.  


<!--T:3-->
<!--T:3-->
#To create a new empty form, select <menuchoice>Insert-> Form</menuchoice> from the Menubar. Optionally, you can use <menuchoice>New Form</menuchoice> command from drop-down button on the Project Navigator's toolbar or <menuchoice>Create Object: Form</menuchoice> command from the context menu.</translate>
#To create a new empty form, select <menuchoice>Form</menuchoice> from the <menuchoice>Create</menuchoice> tab. 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.</translate>
<translate>
<translate>
<!--T:12-->
<!--T:12-->
#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. </translate>
 
<translate>
<!--T:4-->
<!--T:4-->
As with table design, '''Form Designer''' provides <menuchoice>Property</menuchoice> pane. To save some space on the screen, the pane has three tabs related to the currently selected form:  
#As with table design, the Form Designer provides a '''Property Editor''' pane on the right. The pane has three tabs related to the currently selected form:  


<!--T:13-->
<!--T:13-->
Line 20: Line 20:
<translate>
<translate>
<!--T:14-->
<!--T:14-->
;The Data source tab
;The Data Source section
:Contains properties related specifically to the data source of the currently selected widget or the form itself. </translate>
:Contains properties related specifically to the data source of the currently selected widget or the form itself. </translate>
<translate>
<translate>
<!--T:15-->
<!--T:15-->
;The Widgets tab  
;The Widgets tab
:Contains a hierarchy of all widgets of the form. The list simplifies widgets lookup by name and navigation between them.  
:Contains a tree hierarchy of all widgets on the form. The list simplifies widgets lookup by name and clicking on the tree provides navigation to the selected item on the form itself.  


<!--T:5-->
<!--T:5-->
There is information about currently selected widget's name and type displayed on the first and second tab.  
Information about the currently selected widget's name and type is displayed on the first and second tab.  


<!--T:6-->
<!--T:6-->
Line 34: Line 34:


<!--T:7-->
<!--T:7-->
* The '''Widgets''' toolbar used for inserting new widgets into the form.
* The Widgets toolbar is used to select new widgets for insertion into the form. Select the <menuchoice>Form Design</menuchoice> tab to display it.


<!--T:8-->
<!--T:8-->
* The '''Format''' toolbar used to format form's elements (e.g. adjusting widget's size, grouping). Formatting commands are also available in the <menuchoice>Format</menuchoice> menu.
<!--FIXME no Format toolbar and Format menu in master/2.4
* The '''Format''' toolbar used to format form's elements (e.g. adjusting widget's size, grouping). Formatting commands are also available in the <menuchoice>Format</menuchoice> menu.-->


<!--T:9-->
<!--T:9-->

Latest revision as of 20:23, 25 December 2024

Working with form design

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

  1. To create a new empty form, select Form from the Create tab. 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.
  3. As with table design, the Form Designer provides a Property Editor pane on the right. 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 section
Contains properties related specifically to the data source of the currently selected widget or the form itself.
The Widgets tab
Contains a tree hierarchy of all widgets on the form. The list simplifies widgets lookup by name and clicking on the tree provides navigation to the selected item on the form itself.

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

Additional toolbars are also available:

  • The Widgets toolbar is used to select new widgets for insertion into the form. Select the Form Design tab to display it.