(form "50121" (size 61 11)
  (heading "OREBODY MODEL SPECIFICATION")
  (label (position  5  3) (text "Default Location"))
  (label (position  5  4) (text "Model Type"))
  (label (position  5  5) (text "Block Size"))
  (label (position 17  5) (text "Y:"))
  (label (position 17  6) (text "X:"))
  (label (position 17  7) (text "Z:"))
  (label (position  5  8) (text "String range"))
  (field "location" (position 25  3) (display_length 26) (input allowed)
    (null disallowed) (max_length 26)
    )
  (field "model_type" (position 25  4) (display_length 10) (input allowed)
    (value_in "STRING" "POINTS")
    (max_length 6)
    (translate upper) (null allowed)
    )
  (field "block_y" (position 25  5) (display_length 16) (input allowed)
    (dependency (value "model_type") == "POINTS")
    (translate upper) (format real_8) (null disallowed) (max_length 16)
    )
  (field "block_x" (position 25  6) (display_length 16) (input allowed)
    (dependency (value "model_type") == "POINTS")
    (translate upper) (format real_8) (null disallowed) (max_length 16)
    )
  (field "block_z" (position 25  7) (display_length 16) (input allowed)
    (dependency (value "model_type") == "POINTS")
    (translate upper) (format real_8) (null disallowed) (max_length 16)
    )
  (field "ore_str_range" (position 25  8) (display_length 32) (input allowed)
    (format range) (null disallowed) (max_length 32)
    )
  (menu (position  4 10) (size 51  1)
    (grid  5  1)
    (item (function "Apply") (text "Apply"))
    (item (function "Backup") (text "Go Back"))
    (item (function "Help") (text "Help"))
    (item (function "Restart") (text "Restart"))
    (item (function "Cancel") (text "Cancel"))
  )

)
