You can move an element in the Binary Format Definition Editor by dragging it to another destination. While you are dragging an element, you can cancel the drag-and-drop operation by pressing the ESC key.
The result of the drag-and-drop operation differs depending on the destination type and whether the CTRL key is held down while the element is being dragged.
Element, above, and below are available as destinations in a drag-and-drop operation.
When you make an element the destination, moving the cursor to the destination element reverses the display color of the element.
When you select above or below as the destination, a line () is displayed at the destination.
The following figure shows an example in which an element is dragged to a location above a component and below another component.
Figure 1-143 FigureExample of dropping an element above a component and below another component
In the example shown in the figure above, the destination is below a component Sequence01 and above a component Sequence03.
The result of a drag-and-drop operation differs depending on whether or not the CTRL key is held down.
The following table shows the relationship between the source and the destination when a drag-and-drop operation is executed without holding down the CTRL key.
Table 1-12 TableDragand-drop operation result (without holding down the CTRL key)
Source | Destination | ||||||||
---|---|---|---|---|---|---|---|---|---|
Simple content element (globally defined) | Complex content element (globally defined) | Component | |||||||
Abv | Elmt | Blw | Abv | Elmt | Blw | Abv | Elmt | Blw | |
Simple content element (globally defined) | Move | -- | Move | Move | Reference addition | Move | Reference addition | -- | Reference addition |
Complex content element (globally defined) | Move | -- | Move | Move | Reference addition | Move | Reference addition | -- | Reference addition |
Component (simple content element) | -- | -- | -- | -- | -- | -- | Move | -- | Move |
Component (complex content element) | -- | -- | -- | -- | -- | -- | Move | -- | Move |
Component (simple content element (loinvokey defined)) | -- | -- | -- | -- | -- | -- | Move | -- | Move |
Copy-n-drag-source-element-name
The following table shows the relationship between the source and the destination when a drag-and-drop operation is executed while holding down the CTRL key.
Table 1-13 TableDragand-drop operation result (while holding down the CTRL key)
Source | Destination | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Format | Simple content element (globally defined) | Complex content element (globally defined) | Component | |||||||||
Abv | Elmt | Blw | Abv | Elmt | Blw | Abv | Elmt | Blw | Abv | Elmt | Blw | |
Simple content element (globally defined) | -- | P | -- | P | -- | P | P | -- | P | -- | -- | -- |
Complex content element (globally defined) | -- | P | -- | P | -- | P | P | -- | P | -- | -- | -- |
Component (simple content element) | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
Component (complex content element) | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- |
Component (simple content element (loinvokey defined)) | -- | -- | -- | -- | -- | -- | -- | P | -- | P | -- | P |