home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / apps / program / d / formed / !FormEd / ReadMePD < prev    next >
Encoding:
Text File  |  1991-01-22  |  3.6 KB  |  81 lines

  1. %OP%DFT
  2. %OP%BM2
  3. %OP%LM5
  4. %OP%RN100
  5. %OP%RB0.001
  6. %CO:A,12,70%Notes on using FormEd, 12-May-89
  7.  
  8. FormEd is an editor of Template files. To understand this you need to 
  9. understand the program interface of the Window System, as described 
  10. in the Programmer's Reference Manual. The description here assumes an 
  11. understanding of template files.
  12.  
  13. FormEd is started by double-clicking on a template file after the 
  14. FormEd icon has been "seen". This will cause FormEd to be loaded, and 
  15. to display all of the windows in the template file. Alternatively, 
  16. double-click on FormEd itself and it will be loaded with no current 
  17. windows. If a template file does not appear to load properly, give 
  18. more memory to FormEd before it starts using the Task Manager window.
  19.  
  20. A template file is often constructed with reference to a specific set 
  21. of sprites. A sprite file can be dragged onto the FormEd icon on the 
  22. icon bar to set the available sprites. These are displayed in a 
  23. window. Some previous versions of FormEd used to provide facilities 
  24. for editing sprites, these are now provided only in the Paint 
  25. application.
  26.  
  27. Clicking on the FormEd icon creates a new window in the current 
  28. template file, and displays it on the screen.
  29.  
  30. The menu provided from the icon on the icon bar provides the 
  31. following functions:
  32.  
  33. Create window - similar to clicking on the FormEd icon, except that a 
  34. name may be specified for the template.
  35.  
  36. Load templates - allows you to type in the filename of a template 
  37. file to be loaded, instead of dragging an icon from the Filer.
  38.  
  39. Save templates - a save box for the templates being edited.
  40.  
  41. Quit - quit FormEd.
  42.  
  43. The template windows displayed by FormEd mirror precisely the size, 
  44. position and properties of the windows in the Template file. The 
  45. following actions directly affect the stored values:
  46.  
  47. Close the window - deletes it from the template file.
  48.  
  49. Move/scroll/resize the window - moves the default setup of the window 
  50. in the template file.
  51.  
  52. Clicking MENU on a template window produces a menu tree that allows a 
  53. wide variety of alterations to the menu structure, based on the 
  54. various control fields of a window structure as described in the Wimp 
  55. documentation. It also allows you to create icons in the window. An 
  56. icon, once created, can be moved and resized using drag-SELECT and 
  57. drag-ADJUST. It can also have its properties adjusted by pointing at 
  58. it and then clicking MENU, and following the "amend icon" submenu.
  59.  
  60. The best way to experiment is to examine and update the template 
  61. files belonging to the Applications Suite (saving the original 
  62. first!). It's also possible to update the template files used by ROM 
  63. utilities. These reside in the deskfs: filing system in the ROM. They 
  64. are accessed via the environment variable Wimp$Path, so by updating 
  65. this to search a directory of your own first where your updated 
  66. template files reside, you can replace the window templates used by 
  67. the utilities in the ROM.
  68.  
  69. Your ability to drag and resize icons may be affected by a button 
  70. type affixed to an icon: only those button types which generate the 
  71. appropriate Wimp events can be dragged and resized directly. It's 
  72. interesting to note that FormEd keeps no data structures describing 
  73. each template window, relying on the Wimp to keep and manipulate each 
  74. structure.
  75.  
  76. FormEd keeps a file of sprites in memory which can be used in icons 
  77. in the template being edited. The default sprite file used is the 
  78. file Default inside !FormEd, which is in fact a copy of the sprites 
  79. found in the RISC OS ROM. To load in a separate sprite file to use 
  80. with your template file, drag the sprite file onto the FormEd icon.
  81. %CO:B,12,58%%CO:C,12,46%%CO:D,12,34%%CO:E,12,22%%CO:F,12,10%