Jump to content

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

From KDE UserBase Wiki
FuzzyBot (talk | contribs)
Updating to match new version of source page
FuzzyBot (talk | contribs)
Updating to match new version of source page
Line 4: Line 4:
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>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.
#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 <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, '''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
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.
* The '''Widgets''' toolbar used for inserting new widgets into the form. Select the <menuchoice>Form Design</menuchoice> to display it.


* 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.-->


<!-- More about these commands can be found in the section called “The Format Menu”.-->
<!-- More about these commands can be found in the section called “The Format Menu”.-->

Revision as of 16:59, 7 April 2012

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.