Developer Tools

From nuBuilderPro
Jump to: navigation, search

Developer Shortcuts

Developer shortcuts allow the globeadmin user to more easily modify the nuBuilder application


Navigation-DeveloperShortcuts.png

Fig 1. Developer Shortcuts highlighted


Subform-Dev-Shortcuts.png

Fig 2. Developer Shortcuts Subform


There are 6 main developer shortcuts available on all pages. They are...

Orange - Form name, when double clicked, the properties page of the form will be displayed

Green - Code label of the object, double clicking will open the object properties of that object, objects without a label such as buttons will require double clicking on the area slightly left of the object itself.

Purple - Double clicking a tab will take the user to a browse form containing all the objects within the form

Black - Double clicking a column header of a subform will take you to the object properties of that object within the subform.


Red - Clicking will reload the current Form.

Pink - Clicking will highlight to red and enable Object Re-arrangement Mode.


Object Re-arrangement Mode allows you to move objects around freely and save their locations. Some objects such as subforms and displays can be moved around initially. Other objects which follow a row and column ordering will require a 'Shift+double-click' on its label to allow free movement

Form Wizard

Form-Wizard.png

Fig 1. Form Wizard


The nuBuilder Form Wizard is used to quickly generate forms for existing database tables. It generates both the Browse Form and the Edit form for the table, allowing users to select what fields are to be placed on each of the forms as well as setting their title, width and order that they will appear. The types of objects that the Form Wizard can create are: Text Fields, TextArea objects, and Lookups. The Form Wizard also automatically sets the format of numbers and date text fields.


Once you have finished modifying the form press the create form button at the top to generate the form and place a button on the home page.

Table Fields

Table Name


The name of the database table that the form will be created for. The dropdown is populated with the table names from the current database with the exception of any system tables.


Once a table is selected the Field Names listbox is populated with the fields of that table apart from its primary key.


Field Names


After choosing a table from the Table Name field, this listbox will contain all of the fields of the table. To place items on the Browse Form or Edit Form you select one or more items and press the corresponding button to shift it to one of the other listboxes.


Browse Column

Browse Columns

The listbox contains any fields that have been chosen from the field names listbox to be placed on the browse form.


By selecting each of the fields it is possible to modify properties such as width and title of the columns using the text fields below and using the arrow buttons to the left of the listbox allows the user to change the order in which the columns appear in.


Form Objects

Form Fields

The listbox contains any fields that have been chosen from the field names listbox to be placed on the edit form.


By selecting each of the fields it is possible to modify properties of the object and using the arrow buttons to the left of the listbox allows the user to change the order in which the objects are placed on the form in.


Title

The displayed title of the object.


Width

The width of the object in pixels.


Form to Lookup

If a form is chosen the selected object will be a lookup with the form to lookup set to be the form chosen here.


Using the lookup dropdowns we can choose what fields are the code field and the description field for the lookup.


Lookup Dropdowns

The first dropdown refers to the code field of the lookup that is to be created.


The second dropdown refers to the description field of the lookup.


These dropdowns are populated by referring to the form that was chosen for the lookup.

Subform Wizard

Subform-Wizard.png

Fig 1. SubForm Wizard


The nuBuilder SubForm Wizard is used to quickly generate subforms for existing database tables, relating to an already existing form.It allows users to select what fields are to be placed the subform as well as setting their title, width and order that they will appear. The types of objects that the SubForm Wizard can create are: Text Fields, TextArea objects, and Lookups. The SubForm Wizard also automatically sets the format of numbers and date text fields.


Once you have finished modifying the form press the create subform button at the top to generate the subform on the form that the user has chosen.


Form

The form that the subform is to be placed onto. This will only include forms that are not a part of the nuBuilder system.


Table Name

The name of the database table that the form will be created for. The dropdown is populated with the table names from the current database with the exception of any system tables.


Once a table is selected the Field Names listbox is populated with the fields of that table apart from its primary key.


Table Fields

After choosing a table from the Table Name field, this listbox will contain all of the fields of the table. To place items on the Browse Form or Edit Form you select one or more items and press the corresponding button to shift it to one of the other listboxes.


Subform Type

Allows the user to choose what type of subform that is going to be created.


Foreign Key

The key of the subforms table that the entries placed on the form will be filtered by from the forms entry record id.


Form Fields

The listbox contains any fields that have been chosen from the field names listbox to be placed on the subform.


By selecting each of the fields it is possible to modify properties of the object and using the arrow buttons to the right of the listbox allows the user to change the order in which the objects are placed on the form in.


Title

The displayed title of the object.


Width

The width of the object in pixels.


Form to Lookup

If a form is chosen the selected object will be a lookup with the form to lookup set to be the form chosen here.


Using the lookup dropdowns we can choose what fields are the code field and the description field for the lookup.


Lookup Dropdowns

The first dropdown refers to the code field of the lookup that is to be created.


The second dropdown refers to the description field of the lookup.


These dropdowns are populated by referring to the form that was chosen for the lookup.