home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / apps / program / k / pane / !Pane / Example < prev    next >
Encoding:
Text File  |  1993-07-08  |  1.4 KB  |  47 lines

  1.  Window pane example
  2.  ===================
  3.  
  4. A pane is a window which is 'fixed' to
  5. another window - which I shall call its
  6. 'parent' and which Acorn rather unhelpfully
  7. calls a 'tool' window.
  8.  
  9. The text you are reading now is appearing
  10. in the pane.  Notice that the pane has a
  11. vertical scroll bar which you can use to
  12. view the entire text.  The pane's vertical
  13. work area (and hence the size of the scroll
  14. bar) has been adjusted to the size of the
  15. text file.
  16.  
  17. Although the pane has a title bar, it is
  18. not moveable.  Nor is there any means of
  19. adjusting its size.
  20.  
  21. The parent window (grey) also has a title
  22. bar, including close and back icons, but no
  23. scroll bars.  If you move the parent window
  24. by dragging its title bar, the pane is
  25. continuously redrawn in its correct
  26. position.
  27.  
  28. The combined window behaves as you would
  29. expect in relation to other windows.  Try
  30. clicking on the back icon to place it at
  31. the bottom of the window stack.  Providing
  32. you can still see part of the title bar,
  33. you can now move it without altering its
  34. position in the stack by dragging its title
  35. bar with Adjust instead of Select. 
  36. Clicking Select on the title bar brings it
  37. to the top again.
  38.  
  39. If you close the parent window, the pane is
  40. closed too. (Both windows are reopened if
  41. you click select on the icon bar icon).
  42.  
  43. At the top right of the pane is a writable
  44. icon.  Notice that if you click select in
  45. the writable area the parent gains the
  46. input focus (its title bar becomes cream).
  47.