home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / bookm2.zip / windows.ipf < prev   
Text File  |  1994-09-24  |  5KB  |  162 lines

  1. :userdoc.
  2. :title.Windows
  3. :docprof toc=123.
  4. .***************File Created with BookMaker ********************
  5. .*****    Windows
  6. .*****    23 Sep 1994
  7. .*****    15:40:29
  8. .***************************************************************
  9. .************************************************************
  10. :h1 res=1.
  11. Introduction
  12. .************************************************************
  13. :p.
  14. :color fc=darkblue bc=default.
  15. :font facename=Helv size=36x20.Window Manipulation - :hp1.Introduction:ehp1.
  16. :font facename=default size=0x0.
  17. :color fc=default bc=default.
  18. :p.
  19. This file will show you some of methods which you can use to
  20. enhance your online documents with the various windowing options
  21. available in BookMaker.
  22. :lines align=left.
  23. The following are some of the different looks you can create with BookMaker.
  24. :link reftype=hd res=2.Sizing:elink.
  25. :link reftype=hd res=5.Autolinking:elink.
  26. :link reftype=hd res=7.Split Windows:elink.
  27. :link reftype=hd res=10.Frames:elink.
  28. :elines.
  29. .************************************************************
  30. :h1 res=2
  31.   x=right y=bottom
  32.     width=50% height=50%
  33.     group=2
  34. hide .
  35. Sizing
  36. .************************************************************
  37. :p.
  38. This window was created by selecting the sizing attributes which
  39. placed the window in the right quarter of the screen.  Notice that the group
  40. number must be changed or the window which opens this secondary
  41. window would be closed automatically.
  42. :p.
  43. If you were to close the window which opened this first window, this
  44. window would remain open.  In order to prevent this, we set the clear
  45. attribute for the next heading.
  46. .************************************************************
  47. :h1 res=5 clear 
  48.   x=left y=bottom
  49.     width=30% height=100%
  50.     group=1.
  51. Autolinking
  52. .************************************************************
  53. :p.
  54. In this example, a secondary window was opened automatically
  55. using the autolink feature.  Again, because both windows need to be
  56. opened at the same time, they must have different group numbers.
  57. .**** auto tag **********
  58. :link reftype=hd res=6 auto  dependent 
  59.     vpx=30% vpy=bottom vpcx=70% vpcy=100%
  60.     group=2.
  61. .************************
  62.  
  63. .************************************************************
  64. :h1 res=6
  65. hide .
  66. Secondary Window
  67. .************************************************************
  68. :p.
  69. Notice that in this window the only special attribute added is the hide
  70. attribute.  All of the special formatting instructions are included with
  71. the autolink tag.  A second window opened with a regular link requires it's own
  72. formatting instructions.
  73. .************************************************************
  74. :h1 res=7 clear .
  75. Split Windows
  76. .************************************************************
  77. .**** auto tag **********
  78. :link reftype=hd res=8 auto split  
  79.     vpx=0% vpy=bottom vpcx=50% vpcy=100%
  80.     group=2.
  81. .************************
  82. .**** auto tag **********
  83. :link reftype=hd res=9 auto split  
  84.     vpx=50% vpy=bottom vpcx=50% vpcy=100%
  85.     group=3.
  86. .************************
  87.  
  88.  
  89. .************************************************************
  90. :h1 res=8
  91. hide .
  92. Left Window
  93. .************************************************************
  94. :p.
  95. Notice that these windows fall within the main window.  In the case of split windows,
  96. the window which contains the split windows must remain free of any text or graphics.
  97.  
  98. .************************************************************
  99. :h1 res=9
  100. hide .
  101. Right Window
  102. .************************************************************
  103. :p.
  104. This is the right window.
  105. .************************************************************
  106. :h1 res=10.
  107. Frames
  108. .************************************************************
  109. .**** auto tag **********
  110. :link reftype=hd res=11 auto  split 
  111.     vpx=0% vpy=bottom vpcx=50% vpcy=100%
  112.     group=1.
  113. .************************
  114. .**** auto tag **********
  115. :link reftype=hd res=13 auto  split 
  116.     vpx=50% vpy=bottom vpcx=50% vpcy=100%
  117.     titlebar=none scroll=none rules=border
  118.     group=2.
  119. .************************
  120.  
  121.  
  122. .************************************************************
  123. :h1 res=11 
  124. hide.
  125. Demo
  126. .************************************************************
  127. :p.
  128. In this window, two split windows are linked.  The window to the right uses special
  129. formatting instructions to eliminate the titlebar, system menu and the
  130. sizable border.
  131.  
  132. .************************************************************
  133. :h1 res=13 
  134. hide.
  135. Graphic
  136. .************************************************************
  137. :artwork align=left name='F:\GRAFIX\TREES.BMP' fit.
  138. .************************************************************
  139. :h1 res=14.
  140. How to learn more
  141. .************************************************************
  142. :p.
  143. The best way to learn more about creating windows is probably to
  144. just try some on the features of BookMaker out for yourself.  It's fairly
  145. easy to get your windows to do what you wish, but when you're starting out it takes some
  146. practice.  Hit preview often to see if your windows are opening and closing the way you
  147. want them to.
  148. :p.
  149. As I've harped on this before let me add once again.  Try to read through
  150. the IPFC20.INF file included with your IPF compiler.  It contains information
  151. that you should be familiar with when building IPF files. 
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160. :euserdoc.
  161.  
  162.