(form "05002" (size 46  14)
  (help "05002_TIP_0")
  (heading "EXPAND STRING TO ELEVATION")
  (label (position  2  3) (text "String"))
  (field "string" (position 10  3) (display_length 5) 
    (background) (input disallowed))

  (label (position  2  4) (text "Minimum Z value"))
  (field "min_z" (position 16  4) (display_length 10) 
    (background) 
    (decimals 3) (input disallowed))

  (label (position  2  5) (text "Maximum Z value"))
  (field "max_z" (position 16  5) (display_length 10) 
    (background) 
    (decimals 3) (input disallowed))


  (label (position  2  7) (text "Define the method of expansion"))
  (label (position  2  8) (text "Target elevation"))
  (field "target_z_value" (position 25  8) (display_length 10) (input allowed)
    (format real_8)  (null disallowed)
    (help "05002_TIP_1"))

  (label (position  2  9) (text "Maximum bench height"))
  (field "maximum_height" (position 25  9) (display_length 10) (input allowed)
    (format real_8)  (null disallowed) (low_bound 0.1)
    (help "05002_TIP_2"))

  (label (position  2  10) (text "Z direction"))
  (field "z_direction" (position 25  10) (display_length 4) (input allowed)
    (null disallowed) (translate lower) 
    (value_in "up" "down")
    (help "05002_TIP_3"))

  (label (position  2  11) (text "Horizontal direction"))
  (field "horizontal_direction" (position 25  11) (display_length 8) 
    (input allowed) (translate lower) (null disallowed) 
    (value_in "expand" "contract")
    (help "05002_TIP_4"))

  (default_buttons)
)
