home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / hypercar / xcmd / findevnt.sit / FinderEvents / background_2792.xml next >
Extensible Markup Language  |  1992-05-29  |  8KB  |  234 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2792</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_3736.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3077.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>button</type>
  14.         <visible> <true /> </visible>
  15.         <reserved5> 0 </reserved5>
  16.         <reserved4> 0 </reserved4>
  17.         <reserved3> 0 </reserved3>
  18.         <reserved2> 0 </reserved2>
  19.         <reserved1> 0 </reserved1>
  20.         <enabled> <true /> </enabled>
  21.         <rect>
  22.             <left>473</left>
  23.             <top>307</top>
  24.             <right>505</right>
  25.             <bottom>339</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <showName> <false /> </showName>
  29.         <highlight> <false /> </highlight>
  30.         <autoHighlight> <false /> </autoHighlight>
  31.         <sharedHighlight> <true /> </sharedHighlight>
  32.         <family>0</family>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>21421</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Chicago</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <name></name>
  40.         <script>on mouseUpvisual dissolve fastgo homeend mouseUp</script>
  41.     </part>
  42.     <part>
  43.         <id>2</id>
  44.         <type>button</type>
  45.         <visible> <true /> </visible>
  46.         <reserved5> 0 </reserved5>
  47.         <reserved4> 0 </reserved4>
  48.         <reserved3> 0 </reserved3>
  49.         <reserved2> 0 </reserved2>
  50.         <reserved1> 0 </reserved1>
  51.         <enabled> <true /> </enabled>
  52.         <rect>
  53.             <left>438</left>
  54.             <top>307</top>
  55.             <right>470</right>
  56.             <bottom>339</bottom>
  57.         </rect>
  58.         <style>transparent</style>
  59.         <showName> <false /> </showName>
  60.         <highlight> <false /> </highlight>
  61.         <autoHighlight> <false /> </autoHighlight>
  62.         <sharedHighlight> <true /> </sharedHighlight>
  63.         <family>0</family>
  64.         <titleWidth>0</titleWidth>
  65.         <icon>27474</icon>
  66.         <textAlign>center</textAlign>
  67.         <font>Chicago</font>
  68.         <textSize>12</textSize>
  69.         <textStyle>plain</textStyle>
  70.         <name></name>
  71.         <script>on mouseUpglobal myVFset cursor to watchput "wipe left" into myVFgo nextend mouseUp</script>
  72.     </part>
  73.     <part>
  74.         <id>3</id>
  75.         <type>button</type>
  76.         <visible> <true /> </visible>
  77.         <reserved5> 0 </reserved5>
  78.         <reserved4> 0 </reserved4>
  79.         <reserved3> 0 </reserved3>
  80.         <reserved2> 0 </reserved2>
  81.         <reserved1> 0 </reserved1>
  82.         <enabled> <true /> </enabled>
  83.         <rect>
  84.             <left>404</left>
  85.             <top>307</top>
  86.             <right>436</right>
  87.             <bottom>339</bottom>
  88.         </rect>
  89.         <style>transparent</style>
  90.         <showName> <false /> </showName>
  91.         <highlight> <false /> </highlight>
  92.         <autoHighlight> <false /> </autoHighlight>
  93.         <sharedHighlight> <true /> </sharedHighlight>
  94.         <family>0</family>
  95.         <titleWidth>0</titleWidth>
  96.         <icon>26432</icon>
  97.         <textAlign>center</textAlign>
  98.         <font>Chicago</font>
  99.         <textSize>12</textSize>
  100.         <textStyle>plain</textStyle>
  101.         <name></name>
  102.         <script>on mouseUpglobal myVFset cursor to watchput "wipe right" into myVFgo prevend mouseUp</script>
  103.     </part>
  104.     <part>
  105.         <id>4</id>
  106.         <type>field</type>
  107.         <visible> <true /> </visible>
  108.         <dontWrap> <false /> </dontWrap>
  109.         <dontSearch> <false /> </dontSearch>
  110.         <sharedText> <false /> </sharedText>
  111.         <fixedLineHeight> <false /> </fixedLineHeight>
  112.         <autoTab> <false /> </autoTab>
  113.         <lockText> <true /> </lockText>
  114.         <rect>
  115.             <left>14</left>
  116.             <top>91</top>
  117.             <right>498</right>
  118.             <bottom>122</bottom>
  119.         </rect>
  120.         <style>rectangle</style>
  121.         <autoSelect> <false /> </autoSelect>
  122.         <showLines> <false /> </showLines>
  123.         <wideMargins> <true /> </wideMargins>
  124.         <multipleLines> <false /> </multipleLines>
  125.         <reservedFamily> 0 </reservedFamily>
  126.         <titleWidth>0</titleWidth>
  127.         <icon>0</icon>
  128.         <textAlign>left</textAlign>
  129.         <font>Times</font>
  130.         <textSize>24</textSize>
  131.         <textStyle>plain</textStyle>
  132.         <textHeight>32</textHeight>
  133.         <name>Event</name>
  134.         <script></script>
  135.     </part>
  136.     <part>
  137.         <id>5</id>
  138.         <type>field</type>
  139.         <visible> <true /> </visible>
  140.         <dontWrap> <false /> </dontWrap>
  141.         <dontSearch> <false /> </dontSearch>
  142.         <sharedText> <false /> </sharedText>
  143.         <fixedLineHeight> <false /> </fixedLineHeight>
  144.         <autoTab> <false /> </autoTab>
  145.         <lockText> <true /> </lockText>
  146.         <rect>
  147.             <left>14</left>
  148.             <top>146</top>
  149.             <right>498</right>
  150.             <bottom>245</bottom>
  151.         </rect>
  152.         <style>rectangle</style>
  153.         <autoSelect> <false /> </autoSelect>
  154.         <showLines> <false /> </showLines>
  155.         <wideMargins> <false /> </wideMargins>
  156.         <multipleLines> <false /> </multipleLines>
  157.         <reservedFamily> 0 </reservedFamily>
  158.         <titleWidth>0</titleWidth>
  159.         <icon>0</icon>
  160.         <textAlign>left</textAlign>
  161.         <font>Geneva</font>
  162.         <textSize>12</textSize>
  163.         <textStyle>plain</textStyle>
  164.         <textHeight>16</textHeight>
  165.         <name>Description</name>
  166.         <script></script>
  167.     </part>
  168.     <part>
  169.         <id>7</id>
  170.         <type>field</type>
  171.         <visible> <true /> </visible>
  172.         <dontWrap> <false /> </dontWrap>
  173.         <dontSearch> <false /> </dontSearch>
  174.         <sharedText> <false /> </sharedText>
  175.         <fixedLineHeight> <false /> </fixedLineHeight>
  176.         <autoTab> <false /> </autoTab>
  177.         <lockText> <true /> </lockText>
  178.         <rect>
  179.             <left>14</left>
  180.             <top>125</top>
  181.             <right>498</right>
  182.             <bottom>144</bottom>
  183.         </rect>
  184.         <style>rectangle</style>
  185.         <autoSelect> <false /> </autoSelect>
  186.         <showLines> <false /> </showLines>
  187.         <wideMargins> <true /> </wideMargins>
  188.         <multipleLines> <false /> </multipleLines>
  189.         <reservedFamily> 0 </reservedFamily>
  190.         <titleWidth>0</titleWidth>
  191.         <icon>0</icon>
  192.         <textAlign>left</textAlign>
  193.         <font>Monaco</font>
  194.         <textSize>9</textSize>
  195.         <textStyle>plain</textStyle>
  196.         <textHeight>12</textHeight>
  197.         <name>Syntax</name>
  198.         <script></script>
  199.     </part>
  200.     <part>
  201.         <id>9</id>
  202.         <type>button</type>
  203.         <visible> <true /> </visible>
  204.         <reserved5> 0 </reserved5>
  205.         <reserved4> 0 </reserved4>
  206.         <reserved3> 0 </reserved3>
  207.         <reserved2> 0 </reserved2>
  208.         <reserved1> 0 </reserved1>
  209.         <enabled> <true /> </enabled>
  210.         <rect>
  211.             <left>370</left>
  212.             <top>307</top>
  213.             <right>402</right>
  214.             <bottom>339</bottom>
  215.         </rect>
  216.         <style>transparent</style>
  217.         <showName> <false /> </showName>
  218.         <highlight> <false /> </highlight>
  219.         <autoHighlight> <false /> </autoHighlight>
  220.         <sharedHighlight> <true /> </sharedHighlight>
  221.         <family>0</family>
  222.         <titleWidth>0</titleWidth>
  223.         <icon>5845</icon>
  224.         <textAlign>center</textAlign>
  225.         <font>Chicago</font>
  226.         <textSize>12</textSize>
  227.         <textStyle>plain</textStyle>
  228.         <name></name>
  229.         <script>on mouseUpset cursor to watchgo first cardend mouseUp</script>
  230.     </part>
  231.     <name></name>
  232.     <script>on openCardset style of fld "Description" to rectangleselect after last char of field "Description"put the selectedLoc into endLocselect empty-- put q(endloc,bottom of field "Description")if item 2 of endLoc > bottom of field "Description" thenset style of fld "Description" to scrollingset scroll of fld "Description" to 0end if-- the following technique is so that we only get a single-- visual effect when going from card to card and it only-- happens after the changes are made to the field styleglobal myVFif myVF = "" then put "barn door open" into myVFunlock screen with myVFput "" into myVFpass openCardend openCardon closeCardlock screen -- will be unlocked in the next openCardpass closeCardend closeCardon arrowKey dirglobal myVFif dir = "left" then put "wipe right" into myVFelse if dir = "right" then put "wipe left" into myVFpass arrowKeyend arrowKeyon doMenu whatglobal myVFif what = "Next" then put "wipe left" into myVFelse if what = "Prev" then put "wipe right" into myVFpass doMenuend doMenu-- on newButton-- repeat with i = 1 to number of buttons-- -- if the number of btns = 1 then-- -- set name of btn i to "Example"-- -- else set name of btn i to "Example" && i-- set textfont of btn i to Chicago-- set textSize of btn i to 12-- set rect of btn i to whatRect(i)-- end repeat-- choose browse tool-- end newButtonfunction whatRect iput "14,250" into theRectput item 1 of theRect + 127 into item 3 of theRectput item 2 of theRect + 22 into item 4 of theRectif i = 2 or i = 3 or i = 5 or i = 6 thenadd 30 to item 2 of theRectadd 30 to item 4 of theRectend ifif i = 3 or i = 6 thenadd 30 to item 2 of theRectadd 30 to item 4 of theRectend ifif i = 4 or i = 5 or i = 6 thenadd 135 to item 1 of theRectadd 135 to item 3 of theRectend ifreturn theRectend whatRect</script>
  233. </background>
  234.