ComponentOne List 8.0 for ActiveX
Using the visual editing menu

While the list is in visual editing mode, right-click anywhere on the list to display the visual editing menu. The visual editing menu contains several commands that are also present in the list's context menu. However, while the context menu operates on the list as a whole, the visual editing menu is used to manipulate the list's columns and splits.

When you right-click a column to display the visual editing menu, the column you are pointing to becomes the current column. This enables you to quickly execute commands that depend on the current column, such as Cut and Insert.

Some commands, such as Copy and Delete, can operate on multiple selected columns. Follow the procedures described earlier for selecting columns, then choose the desired command from the visual editing menu.

For convenience, the visual editing menu also contains some of the commands from the list's context menu. The visual editing menu commands operate as follows.

Cut, Copy, Paste, Delete

These commands are similar to their context menu counterparts except that they apply to a column, or selected columns, not to the entire list. Using the Cut, Copy, and Paste commands, you can move columns to the Clipboard and paste them to another list, or within the same list. The ability to copy columns to the Clipboard provides an easy way to set up list columns, since all of the properties that define a column are copied as a unit. You can set the properties for multiple columns, copy them to the Clipboard, then paste them to a list on another form.

Cut moves the selected columns from the list to the Clipboard. Copy moves a copy of the selected columns to the Clipboard while leaving the list intact. If there are selected columns, then Cut and Copy operate on the entire selection. If there are no selected columns, then these commands operate on the current column only.

The Paste command is available only after a Cut or Copy command has been performed. If there are selected columns, then Paste replaces the selection with the Clipboard contents. If there are no selected columns, then Paste inserts the Clipboard contents to the left of the current column. In either case, the newly pasted columns are selected.

Delete removes columns without saving them to the Clipboard. To prevent accidental deletions, the Delete command is available only when one or more columns are selected.

Insert

This command creates and inserts a new column to the left of the current column.

Append

This command creates and adds a new column to the right of the rightmost column in the list.

Split

This command creates and inserts a new split to the left of the current split. You can then use the Splits and Layout property pages to configure the splits and the columns they contain.

Remove

This command removes the current split, that is, the split where you clicked to display the visual editing menu.

Properties

This command is identical to the context menu command with the same name. It displays the list's property pages, which enable you to customize the list's layout and appearance.

Retrieve Fields

This command is identical to the context menu command with the same name. It automatically configures the list columns according to the schema information from the Data control's Recordset.

The retrieved fields are taken from the Data control specified in the RowSource property, not DataSource.  The latter is used for update operations, not for populating the list.

Clear Fields

This command is identical to the context menu command with the same name. All field and column layout properties set in the list are cleared.

Load Layout

This command loads the list layout whose name is given by the LayoutName property from the binary layout storage file specified in the LayoutFileName property. A layout comprises all persistent property settings for the entire list, not just its columns and splits. This command is unavailable if either of the aforementioned properties has not been set.

Save Layout

This command saves the current list layout using the name specified in the LayoutName property to the binary layout storage file specified in the LayoutFileName property. This command is unavailable if either of these properties has not been set.

Remove Layout

This command removes the list layout whose name is given by the LayoutName property from the binary layout storage file specified by the LayoutFileName property. This command is unavailable if either of these properties has not been set.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback