Editing Structures

This is the structure editor dialog, from which a structure can be created or modified:


When you start to create or edit a structel, this dialog is brought up. Each line in the grid is an element in the new structel. To create a new element, simply type a name into a blank line of the grid (in the 'Name' column). Buttons are provided to delete an element and to insert a copy of an element -- most useful since most structures have a lot of one particular type in a row.

The grid columns are as follows:

The other controls on the dialog are easy -- an edit box for the structure's name, a Cancel button that exits leaving the structure unchanged / uncreated, and some text in the bottom left that tells you why the structure's invalid (if it's invalid) or else how many bytes long it it. The check box for Motorola byte order is only enabled if there is sample data to be viewed.

Editing on the grid is easy; like the grid in the structures view, click in a cell to select it and press a key to begin typing into it. Cursor keys can be used to navigate through the cells.


The 'Accept' button will only be enabled when a valid structure is in the editor.
There is a maximum of 100 elements per structure and 100 structures per library. The reason for this is available on request :)
Length for strings is specified in characters, not bytes; Unicode strings have characters 2 bytes long :)