| Creating One-of Elements
Creating a One-of
The toolbar insert rule button can be used to insert a one-of within the grammar document or alternatively by right click and hold of the mouse then drag to form the one-of box either around one or more items or by itself. The program will insert the one-of where the mouse cursor is dragged to. There is no limit to the number of one-ofs that can be created.
One-ofs are identified by the one-of icon which can be moved to any position on the screen. Connect the one-of to other items, rules or a one-of by selecting and holding from the "one-of" as shown above to any other rule, item or one-of icon element on the screen. Grammar Studio will automatically create the code within the source view. Each one-of can contain any number of items. Drag one or more items into the one-of or right click within the one-of to auto-insert an empty item within the one-of box. Nested items that are inserted within the one-of which have children elements will automatically collapse into the one-of. These items are identified by the + sign.
[top]
One-of Properties
Each one-of can be edited by using the file menu through Select->One-of Properties. The One-of Properties window is defined below.
Table
of Contents | Previous Chapter | Next Chapter |