Tech Tip: Contextual Menus in the Structure Editor in 4D v6.5
PRODUCT: 4D | VERSION: | PLATFORM:
Published On: June 4, 1999
4D version 6.5 has implemented contextual menus throughout the Design Environment. They are a quick and easy way to set many object properties and attributes. To invoke a contextual menu right mouse click (Windows) or control-mouse click (Mac OS).
Structure Background
Right mouse click (Windows) or control-mouse click (Mac OS) on the structure editor background.
- Database Properties - displays the same dialog as chosen from the File menu, Database Properties… menu item.
- New Table - presents the v6.5 request dialog used to create a new table. This operation can be canceled.
- Print Structure - prints the structure.
- Table List - displays a list of all tables in the structure. The list is sorted in creation order. If you select a table from the list the table is then displayed centered in the Explorer window and highlighted.
Table
Right mouse click (Windows) or control-mouse click (Mac OS) on any table title.
- Table properties - displays the Table Properties dialog.
- New Field - displays the new field dialog.
- Color - shows the standard 4D color palette to select a color for displaying the table.
- Show Table Forms - switches to the Explorer form view, selects the table, and expands it to list the forms available.
- Show Table Form Method and Triggers - switches to the Explorer Form Method and Triggers view, selects the table, and expands it to list the form methods and triggers available.
- Invisible - toggles the Invisible attribute on and off. A check mark indicates whether this attribute is selected or not.
Field
Right mouse click (Windows) or control-mouse click (Mac OS) on any field.
- Field Properties - displays the Field Properties dialog.
- Color - shows the standard 4D color palette to select a color for displaying the field.
- Invisible - toggles the invisible attribute on and off. A check mark indicates whether this attribute is selected or not.
- Indexed - toggles the indexed property on and off. A check mark indicates whether the field is indexed or not.
- Reindex - displays the indexing dialog. From here you can select Fast Mode or Traditional Mode for the index, and select the level of optimization for Fast Mode.
Relation
Right mouse click (Windows) or control-mouse click (Mac OS) on any relation line.
- Auto Relate One - toggles the property on and off. A check mark indicates whether this property is selected or not.
- Auto Relate Many - toggles the property on and off. A check mark indicates whether this property is selected or not.
- Color - displays the standard 4D color palette to select a color for displaying the relation line.
- Show Source Table - shows the source table for the relation in the structure window, if it is not visible.
- Show Destination Table- shows the destination table for the relation in the structure window, if it is not visible.