GENerel Commands
GEDitCOM II has a built-in interpretive language for programmatically setting up the display. To learn about the structure of the interpretative language, begin with the language reference section.
This section has a list of all GENerel commands related to formatting of genealogy data. The commands are grouped by logical section. Some commands apply to more than one section and thus may appear in several sections.
- Cell Creation and Properties
- Calling Other Templates
- Window Settings
- Data Access - to read GEDCOM data
- Movement and Spacing Commands
- System and Read-Only Variables - defined variables for controlling output and getting information about the cell creation process
Cell Creation and Properties
These commands create cells and set all the properties of the cells
- Cell - start a new cell in the generalized table of cells.
- Set - set properties of the current cell.
- SizeToFit - adjust size of cell to fit its content.
- DefaultCellSize - change the default size for new cells.
- LinkAll - link data to a child window created by a StructuresLink cell.
- MenuItems - add menu items to the menu in a PopupMenuEdit cell.
- EndGroup - close the current GroupBox.
- AddPane - add a button to a PaneBar cell.
Calling Other Templates
These commands call other templates for subordinate data or pass control to another template for the current data.
- Show - call a template to format data from one subordinate tag in the current template.
- ShowAll - call a template to format data from all subordinate tags of a particular type in the current template.
- Use - transfer control to a different template.
Window Settings
These commands set properties of the window being formatted to display data:
- Background - set the background color for the window.
- DisplayHeight - control the height of the window
- DisplayWidth - set the width of the display in the window.
- DropTypes - configure a window to accept dropped records to attach those records to the data.
- Hide - hide selected tags for the current window.
- HideExcess - hide the remaining data in the structure.
- OptionalTag - Define an optional GEDCOM tag that can be attached at the root level of the window.
- Title - set the title of the window.
- ResizeWindow - tell a window to resize to fit its content.
Data Access
GEDCOM expressions let you access one piece of data. These commands let you access multiple pieces of data:
- ReadAll - read all tags corresponding to a GEDCOM expression.
- RepeatWith - read all tags corresponding to a GEDCOM expression and execute a repeat loop for each one.
Movement Commands
- Margins and Spacings - change default left and right margins or the spacings between lines and cells
- NewLine - start a new row of cells.
- MoveTo - move to specific position for the next cell.
- HMoveTo - move to specific horizontal position for the next cell.
- VMoveTo - move to specific vertical position for the next cell.
- HSkip - use a different horizontal spacing for the next cell.
- Tab - tab to a tab stop.
- ClearTabs - clear all tabs.
- SetTab - set a tab stop.