Table of Contents
Clicking on VjControl's “Configure” tab lets you view and edit config files (see Figure 7.1). The display consists of two similar panels, side by side. The idea is that you can view one file on each side, making it easy to compare two files and to copy Chunks back and forth between them.
At the top of each panel is a ComboBox that lets you choose which of the loaded config files to display. The selected file will appear in a tree format in the middle of the panel.
Chunks in the display are organized by type and by broader categories. The specific organization of the tree is determined by VjControl's current ChunkOrgTree. See Chapter 9 for more information.
You can click on a Chunk in the tree to select it. Double-clicking on a Chunk brings up a window that lets you view or edit the Chunk. Right-clicking on a Chunk brings up a small menu that lets you view help information on that Chunk (if available) or remove it from the file (see Figure 7.2). Similarly, right-clicking on folders that represent Chunk types brings up a small menu letting you insert new Chunks (see ).
There are eight buttons along the side of each panel:
New - creates a new (empty) config file.
Load - loads a config file and views it in this panel.
Save - save the config file currently being viewed. Note that this button always opens a file dialog, so it's technically Save As...
Close - removes the currently viewed config file from memory. WARNING! VjControl does not currently warn you if you close a file without saving it.
>> - copies all selected chunks in this file to the file being viewed in the other panel.
>All> - copies every chunk in this file to the file being viewed in the other panel.
Remove - deletes all selected chunks in the currently viewed file.
Duplicate - adds duplicate copies of all selected chunks in the currently viewed file.
Insert - inserts a new chunk. The type of chunk to insert is determined by the Insert Type combo box at the bottom of the panel.
Double-click on one of the ConfigChunks in the tree to open the ConfigChunk editing window. This window displays the values for all the Chunk's properties, and lets you modify these values.
Some properties in a Chunk allow a variable number of values. These include an Add Value button next to the property name, and a Remove button next to each value (see Figure 7.5).
Click the OK button to exit the window, or Cancel to close the window without saving the changes you've made.