

                   C Easy Buttons Menu Sample Program


  buttons.c demonstrates the use of graphic buttons to call programs.

  The program is driven by the contents of a text file called buttons.dta.

  The format of buttons.dta is as follows:

     start  color  width  height  line  column  label  program  end
      (1)    (2)    (3)    (4)     (5)   (6)     (7)     (8)    (9)

  Each line in the text file must contain the above 9 fields, separated
  by at least TWO spaces.

  Field (1) literal string 'start' must begin in column 1.

  Field (2) 'color' must contain 0 thru 15; the color of the button.

  Field (3) 'width' is the width of the button.

  Field (4) 'height' is the height of the button.

  Field (5) 'line' is the upper left line (1-30) of the button.

  Field (6) 'column' is the upper left column (1-80) of the button.

  Field (7) 'label' is the label displayed on the button.
            To offset the label within the button, precede the label
            by ", followed by the number of spaces to offset.

  Field (8) 'program' is the name of the program called when the
            button is clicked. To make an 'EXIT' button, enter
            the literal string 'exit' instead of a program name.

  Field (9) literal string 'end' must terminate the line.

  

  To create new buttons or to modify exisiting buttons, you must
  DELETE THE FILE CALLED 'buttons.ovl'.

  buttons.ovl is regenerated automatically if it does not exist
  when you execute the buttons program.

  You can have several button definition files, button.dta (default)
  and button.dtX, where X is any letter that uniquely identifies a file.

  Type 'buttons <Enter>' to create a buttons.ovl using button.dta.
  Type 'buttons X <Enter>' to create a buttons.ovl using buttton.dtX.

  Once a buttons.ovl is created, continue using either the same
  buttons definition file. To change files, you must first delete
  the existing buttons.ovl file.
