===========================
Data Field Control Template
===========================
           ________________
      $00 |                |	
          |-    pCount    -| - Word - Parameter count for template: 7 or 8
          |________________|
      $02 |                |
          |-              -|
          |                |
          |--     ID     --| - Long - Application-assigned control ID
          |                |
          |-              -|
          |________________|
      $06 |                |
          |-              -|
          |                |
          |--            --|
          |                |
          |-              -|
          |__    rect    __| - Rect - Boundary rectangle for control
          |                |
          |-              -|
          |                |
          |--            --|
          |                |
          |-              -|
          |________________|
      $0E |                |
          |-              -|
          |                |
          |--  procRef   --| - Long - Resource ID of control definition
          |                |             procedure
          |-              -|
          |________________|
      $12 |                |
          |-     flag     -| - Word - Hilight and control flags for control
          |________________|
      $14 |                |
          |-   moreFlags  -| - Word - Additional control flags
          |________________|
      $16 |                |
          |-              -|
          |                |
          |--   refCon   --| - Long - Application-defined value
          |                |
          |-              -|
          |________________|
      $1A |                |
          |-              -|
          |                |
          |-- dataListRef--| - Long - Reference to dataList structure
          |                |
          |-              -|
          |________________|
      $1E |                |
          |- fieldValues  -| - Words - Array of 8 words specifying the default
          |__            __|	           display strings for each field. These
          |                |	           are tags that correspond to tags within
          |-              -|            the associated string list. Set a field
          |__            __|            to zero to display the first string.
          |                |
          |-              -|
          |__            __|
          |                |
          |-              -|
          |__            __|
          |                |
          |-              -|
          |__            __|
          |                |
          |-              -|
          |__            __|
          |                |
          |-              -|
          |__            __|
          |                |
          |-              -|
          |________________|


----------------------      
dataList sub-structure
----------------------
           ________________
          |                |
          |-              -|
          |                |
          |--  fieldLoc  --| - Point - Location of this field relative to
          |                |	             control's boundary
          |-              -|
          |________________|
          |                |
          |-              -|
          |                |
          |-- stringRef  --| - Long - Reference to tagged string structure
          |                |             associated with this field
          |-              -|
          |________________|
             .     	    .
             .          .
             .     	    .
          	
          (Repeats for each data field - terminated by the word $FFFF)


	
=========================
Data Field Control Record
=========================
           ________________
      $00 |                |
          |-              -|
          |                |
          |--  cltNext   --| - Long - Handle to next control; NIL for last
          |                |           control
          |-              -|
          |________________|
      $04 |                |
          |-              -|
          |                |
          |--  ctlOwner  --| - Long - Pointer to window to which control
          |                |	          belongs
          |-              -|
          |________________|
      $08 |                |
          |-              -|
          |                |
          |--            --|
          |                |
          |-              -|
          |__  ctlRect   __| - Rect - Boundary rectangle for control
          |                |
          |-              -|
          |                |
          |--            --|
          |                |
          |-              -|
          |________________|
      $10 |     ctlFlag    |
          |________________| - Byte - Control visibility and other attributes
      $11 |    cltHilite   |
          |________________| - Byte - Hilighting
      $12 |                |
          |-   ctlValue   -| - Word - Reserved
          |________________|
      $14 |                |
          |-              -|
          |                |
          |--  ctlProc   --| - Long - Resource ID of control definition
          |                |             procedure
          |-              -|
          |________________|
      $18 |                |
          |-              -|
          |                |
          |-- ctlAction  --| - Long - Pointer to custom procedure; NIL if none
          |                |
          |-              -|
          |________________|
      $1C |                |
          |-              -|
          |                |
          |--  ctlData   --| - Long - Low-word is the number of entry fields in
          |                |           this control; High-word is hilighted field
          |-              -|
          |________________|
      $20 |                |
          |-              -|
          |                |
          |-- ctlRefCon  --| - Long - Application-defined value
          |                |
          |-              -|
          |________________|
      $24 |                |
          |-              -|
          |                |
          |--  ctlColor  --| - Long - Not used; must be set to 0
          |                |
          |-              -|
          |________________|
      $28 |                |
          |-              -|
          | ctlDataListRef |
          |--            --| - Long - Reference to dataList structure
          |                |
          |-              -|
          |________________|
      $2C |                |
          | ctlFieldWidths | - Bytes - Array of 8 bytes specifying the widths
          |-              -|	           of each field. These are calculated from
          |                |	           the longest string in each field.
          |-              -|
          |                |
          |-              -|
          |                |
          |-              -|
          |                |
          |-              -|
          |                |
          |-              -|
          |                |
          |-              -|
          |                |
          |________________|
      $34 |                |
          |-              -|
          |                |
          |-- ctlReserved--| - Long - Reserved
          |                |
          |-              -|
          |________________|
      $38 |                |
          |-              -|
          |                |
          |--   ctlID    --| - Long - Application-assigned ID
          |                |
          |-              -|
          |________________|
      $3C |                |
          |- ctlMoreFlags -| - Word - Additional control flags
          |________________|
      $3E |                |
          |-  ctlVersion  -| - Word - Set to 0
          |________________|
      $40 |                |
          |- ctlFieldVals -| - Words - Array of 8 words specifying the current
          |__            __|	           display strings for each field. These
          |                |	           are tags that correspond to tags within
          |-              -|            the associated string list.
          |__            __|
          |                |
          |-              -|
          |__            __|
          |                |
          |-              -|
          |__            __|
          |                |
          |-              -|
          |__            __|
          |                |
          |-              -|
          |__            __|
          |                |
          |-              -|
          |__            __|
          |                |
          |-              -|
          |________________|
