home *** CD-ROM | disk | FTP | other *** search
/ Asymetrix Demo / Asymetrix.iso / prg / mtb30 / samples / features.tbk (.txt) < prev    next >
Encoding:
Asymetrix ToolBook File  |  1994-07-11  |  298.5 KB  |  2,270 lines

  1. Advanced Topics 
  2. Boutros sem borem kikum serif fontus elemator. Groovus maximus.
  3. Tomar flees wemendum, carticular semonus treflous cuboultrous.
  4. Technical Specifications
  5. Rei carden sa thrun day landrum pico lau wu telfota rashartin ei gaub tertura bon jovi.
  6. Blathen slother tobin terra encotos beradera tempura. Sopola corda.
  7. GraphicsInFields
  8. Graphics in Fields
  9. Graphics in Fields
  10. in,ms
  11. ThreeDeeRect
  12. bottomLine
  13. topLine
  14. Penetrating the Pipeline
  15. The revenue stream is tracking to plan from a divide-and-conquer standpoint, but we need to batten the hatches against proactive seasonal surges and mainstream macrotrends. See chart, below.
  16.     Figure S-86: The rich hunting ground
  17. Moving forward, our short-term strategy is to optimize a robust sell-through and propagate tight linkage while leveraging our broad strength in this arena. In doing so, we will achieve synergy with our strategic partners and blaze a trail toward a bigger revenue pie..d tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diaqm nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
  18. Graphics can now be inserted in fields for richer content and more "word processor-like" applications
  19. MoreOnFields
  20. More on Fields...
  21. More on Fields...
  22. Additional field enhancements include:
  23.  Multiple colors within text fields
  24.  Color hotwords
  25.  Superscript & Subscript
  26.  Raised and Inset border styles
  27. +",!Y
  28. +",!J
  29. ,%H.%
  30. rainbowCount
  31. buttonStillDown
  32. -- cycles the colors 
  33. letters 
  34. notifyBefore Idle
  35. rainbowCount
  36. k10 = 0)
  37. sObj 
  38. saveCol 
  39. Ri + 1 
  40. still work 
  41. cmouse 
  42. held down
  43.     sendnotifyBefore 
  44. A Rainbow
  45. Hotword
  46. mouseEnter
  47. .&+    +E
  48. Hotword
  49. mouseLeave
  50. cursor "hand"
  51. Color hotwords shown here... 
  52. ol cursor... 
  53. H2O    AgNO3                   ..........................................ttttt
  54. Y = X2 + B4* Z4
  55. Superscript & Subscript
  56. Subscriptpt & Subscript
  57. buttonStillDown
  58. MoreOnFields
  59. More on Fields...
  60. More on Fields...
  61. Additional fie
  62. false
  63. viewerDrag
  64. allowdrop
  65. allowdrop
  66. "viewerDrag"
  67. topicShadow
  68. topicName
  69. nextPage
  70. .&+    +E
  71. .&+    +E
  72. buttonClick
  73. buttonClick
  74. stretchBitmap
  75. popupHelp
  76. buttonClick
  77. buttonClick
  78. "popupHelp" 
  79. %modal
  80. stretchBitmap
  81. .&+    +E
  82. .&+    +E
  83. buttonClick
  84. buttonClick
  85. stretchBitmap
  86. Viewers
  87. Viewers
  88. TVpane
  89. buttonClick
  90. buttonClick
  91. isOpen 
  92. Viewer "TVpane"
  93. Page 
  94. TVpane
  95. buttonClick
  96. buttonClick
  97. (isOpen 
  98. Viewer "TVpane")
  99. tPage 
  100. TVPosition
  101. OnScreen
  102. TVPane
  103. buttonClick
  104. OnScreen
  105. TVPane
  106. leavePage
  107. "TVPane" over 
  108. "TVPosition"
  109. buttonClick
  110. vRef 
  111. Checked 
  112. "OnScreen"
  113. pageUnitstoClient(
  114. isOpen 
  115.             close 
  116. notifyBefore 
  117. FALSE
  118. Click here to open/close viewer.
  119. Then click arrows to change pages.nge pages
  120. OnScreen
  121. Click pedal to see a hypermedia use of viewers
  122. PopPedal
  123. mousePos
  124. popPedal
  125. buttonClick
  126. .&+    +E
  127. mouseEnter
  128. .&+    +E
  129. mouseLeave
  130. the pedal popup 
  131. buttonClick pos
  132. vRef 
  133. "popPedal"
  134. mousePos 
  135. pageUnitstoScreen(
  136. "PopPedal"
  137. TVPosition
  138. leavePage
  139. PopPedal
  140. Pedal
  141. Not Yet Implemented.
  142. buttonClick
  143. buttonClick
  144. "Not Yet Implemented."
  145. hotSpot
  146. Show Adjustment Procedure
  147. topicShadow
  148. topicName
  149. Continue
  150. buttonClick
  151. buttonClick
  152. stretchBitmap
  153. Continue
  154. buttonClick
  155. buttonClick
  156. --    transition "puzzle" 
  157. stretchBitmap
  158. Pages on this background are displayed in window objects elsewhere in the book.
  159. HintPages
  160. HintPages
  161. HintText
  162. Learning the Basics
  163. Fac to du r um fls sd sd sa df sfd
  164. Tr sa df asad fad sdf adf asfd asd
  165. Facto durum fls sd sd sadf sfd sadf asa df ad sdf adfa sf dasd sdf asd saf 
  166. HintText
  167. sampleDialog
  168. Equals Operator
  169. EqualsOperator
  170. Graphics in Fields
  171. Graphics in Fields
  172. Field graphics can also be used to create interactivity.
  173. Click the speaker graphic in the top field to hear a call of the wild.  (Requires a sound card.)  
  174. Double-click lines with closed folders in the listbox to expand branches; double-click lines with open folders to collapse them....m...
  175. in,ms
  176. ThreeDeeRect
  177. bottomLine
  178. topLine
  179. The call of the European Swallow 
  180.  differs from that of the African Swallow in both pitch and duration. ...................................................
  181. w9dirPath
  182. chirp.wav
  183. buttonClick
  184. dirPath
  185. buttonClick
  186. playSound(dirPath() & "chirp.wav")
  187. -- returns same directory 
  188. %current 
  189.     n = 
  190.     Big dogs
  191.         Great Dane
  192.         Collie
  193.         Doberman
  194.     Small dogs
  195.         Sheltie
  196.         Weener dog
  197.     Froo froo dogs
  198.         Chow
  199.         Chihuahua
  200.         Poodle
  201.             Lap poodle
  202.             Yappy poodle
  203.             Snapping poodle
  204.         Shitzu
  205.     Cartoon Cats
  206.         Hobbes
  207.         Bill
  208.         Fritz
  209.     Presidential Cats
  210.         Socks
  211.         Bill
  212. source
  213.     Dogs
  214.     Catss
  215.         Great Dane
  216.         Collie
  217.         Doberman
  218.     Small dogs
  219.         Sheltie
  220.         Weener dog
  221.     Froo froo dogs
  222.         Chow
  223.         Chihuahua
  224.         Poodle
  225.             Lap poodle
  226.             Yappy poodle
  227.             Snapping poodle
  228.         Shitzu
  229.     Cartoon Cats
  230.         Hobbes
  231.         Bill
  232.         Fritz
  233.     Presidential Cats
  234.         Socks
  235.         Billidential Cats
  236. enterpage
  237. author
  238. reader
  239. RulerShadowing
  240. U.I. 
  241.  Ruler Shadowing
  242. U.I. 
  243.  Ruler Shadowingrrr
  244. When an object or a group of objects is selected, the bounds are"shadowed" in both the top and the left Rulers to help authors in doing precise alignment.  
  245. To see an example of this new feature, simply press the button labeled 'See Ruler and Shadow.'  Select various objects and notice the 'shadowing' on the Ruler line.  
  246. Press F3 to return to reader mode.  
  247. buttonClick
  248. buttonClick
  249. See Ruler and Shadow
  250. RulerShadowing
  251. Drag_Drop
  252. widgetspalette
  253. buttonDown
  254. widgetobject
  255. lScreenLoc
  256. lPageLoc
  257. endDrag
  258.     drag 
  259. >silently
  260. endDrag pDropObj, pDropLoc
  261. xNULL
  262.     -- convert drop point 
  263. absolute screen units:
  264.         lScreenLoc = pageUnitstoScreen(
  265.     -- find the 
  266. lWin 
  267. windowFromPoint(
  268.     -- don't 
  269.  relative 
  270. that 
  271. lPageLoc 
  272. screentoPageUnits(
  273. {whose reference 
  274. stored 
  275. source 
  276. copyObject((widgetobject 
  277. >),currentPage 
  278. FALSE
  279. stretchBitmap
  280. objRef
  281. button sampleWidget
  282. widgetObject
  283. button id 4 of page id 34
  284. stretchBitmap
  285. objRef
  286. button sampleWidget
  287. widgetObject
  288. button id 7 of page id 34
  289. stretchBitmap
  290. objRef
  291. button sampleWidget
  292. widgetObject
  293. button id 6 of page id 34
  294. dummyAudio
  295. stretchBitmap
  296. Dummy Widget
  297. dummyMIDI
  298. v    d    >Q
  299. stretchBitmap
  300. Dummy Widget
  301. dummyVideo
  302. stretchBitmap
  303. Dummy Widget
  304. Applying Logic
  305. At vero eos et accusam et justo duo dolores et ea rebum.  Stet clita kasd gub ergren.  so eas takimata sanctuss
  306. Glorum tendlofus brallic tendrum.d sdf isp lerum fasd que Stet clita kasd fo.
  307. Using Formulas
  308. Rheba starlum grep fandango, pregras flamingo ten belly bon trebulum. 
  309. Brespel tricot slastorus frequal sternum. Plumbar trellis corpus fran    my eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
  310. Viewers
  311. Viewers
  312. Viewers
  313. o    ~    A
  314. Viewer
  315. Viewers are "window objects" that display ToolBook pages.  This allows you to create many different kinds of multiple-window applications.
  316. To see viewers in action, turn to the next page.....
  317. Viewers
  318. Progress
  319. thermo
  320. ,!JdY
  321. currentPercent
  322. currentBar
  323. fullBar
  324. percentage
  325. -- Set the 
  326. thermometer bar
  327. -- Note that 
  328. uses 
  329. " property.
  330. percentage 
  331. pPercentage
  332.     -- errror checking:
  333. isType(real, 
  334. 5 > 100
  335. S < 0
  336. "currentPercent" 
  337.  & "%"
  338. lWide 
  339. "fullBar" 
  340. "currentBar" 
  341.  / 100)
  342. fullBar
  343. currentBar
  344. currentPercent
  345. sampleDialog
  346. goNext
  347. buttonUp
  348.     close 
  349. stretchBitmap
  350. Cancel
  351. goPrev
  352. buttonUp
  353.     close 
  354. stretchBitmap
  355. Your Name Here
  356. Name:
  357. Slider
  358. txClassName
  359. rectangle id 6 of page id 15
  360. follower
  361. width
  362. roundedrectangle id 76 of page id 15
  363. glide
  364. hSliderThumb
  365. txClassName
  366. Button
  367. This modal dialog box displays a page with ToolBook objects..
  368. EqualsOperator
  369. Equals Operator
  370. Equals Operator
  371. By popular request, the equals sign now works as an assignment operator that can be used in place of the "set X to Y" syntax.
  372. The = operator is often a more convenient form of notation to use when assigning values to containers and is especially useful in writing mathematical equations and formulas...
  373. x = y
  374. foo = item 1 of it
  375. x = sqrt(10)
  376. total = price * qty
  377. name of this page = "foo"
  378. bottomLine
  379. topLine
  380. in,ms
  381. ThreeDeeRect
  382. widgets
  383. false
  384. saveAcceptDrop
  385. dragButtons
  386. widgetobject
  387. pDropObj
  388. endDrag
  389. endDrag dropObj, DropLoc, targWin
  390. pDropObj 
  391. xNULL 
  392.         -- 
  393. ethe 
  394. {whose reference 
  395. stored 
  396. source 
  397. copyObject((widgetobject 
  398. >),currentPage 
  399. dropLoc
  400. stretchBitmap
  401. button sampleWidget
  402. objRef
  403. button id 4 of page id 34
  404. widgetObject
  405. stretchBitmap
  406. button sampleWidget
  407. objRef
  408. button id 7 of page id 34
  409. widgetObject
  410. stretchBitmap
  411. button sampleWidget
  412. objRef
  413. button id 6 of page id 34
  414. widgetObject
  415. dummyAudio
  416. stretchBitmap
  417. A Fake Widget
  418. dummyMIDI
  419. stretchBitmap
  420. A Fake Widget
  421. dummyVideo
  422. T    `    >Q
  423. stretchBitmap
  424. A Fake Widget
  425. dragPage
  426. noDropPage
  427. audio
  428. invleft
  429. ``@@@`
  430. ``@@@`
  431. `````
  432. ``@@@`
  433. ``@@@`
  434. `````
  435. ``@@@`
  436. ``@@@`
  437. `````
  438. ``@@@`
  439. ``@@@`
  440. `````
  441. wwwwwwwx
  442. wwwwwwwx
  443. wwwwwwwx
  444. wwwwwwx
  445. ffff`
  446. ffffff`
  447. ffffff`
  448. wwwwwwp
  449. wwwwwwp
  450. wwwwwwwwwwww
  451. wwwwwwwwwwwww
  452. wwwwwwwwwwwww
  453. wwwwwwwwwwwwwww
  454. minus
  455. backdrop
  456. 6`.`.`#
  457. wwwwwwwww
  458. wwwwwwwww
  459. wwpwwwwww
  460. pwww    
  461. wwwwp
  462. wwwww    
  463. wwwwwp
  464. wwwww
  465. wwwww
  466. wwwwwwwww
  467. wwwwwwwww
  468. wwwwwwwww
  469. wwwww
  470. wwwww
  471. wwwww
  472. wwwww
  473. wwwww
  474. wwwww
  475. wwwww
  476. wwwww
  477. wwwww
  478. wwwww
  479. wwwww
  480. wwwwwwwww
  481. wwwwwwwww
  482. wwwwwwwww
  483. wwwwwx
  484. wwwwwx
  485. wwwwwx
  486. wwwwwx
  487. wwwwwx
  488. wwwwwx
  489. wwwwwx
  490. wwwwwx
  491. wwwwwx
  492. wwwwwx
  493. wwwwwx
  494. wwwww
  495. wwwwwww
  496. wwwwwwww
  497. wwwwwwwww
  498. wwwwwwwwxw
  499. wwwwwwwx
  500. wwwwxwx
  501. wwwwxw
  502. wwwwx
  503. wwwww
  504. wwww~
  505. wwwww
  506. wwww~
  507. wwww~
  508. wwwwp
  509. wwwwp
  510. wwwwp
  511. wwwww
  512. wwwwwww
  513. wwwwwww{
  514. wwwwwwwwx
  515. wwwwwwww
  516. wwwwwwwx
  517. wwxwwwx
  518. wwwwwww
  519. wx{wwxw
  520. wwwwwwx
  521. wwwwww
  522. wwwwwx
  523. wwwww
  524. wwwwx
  525.         yyy
  526. wwwwx
  527. wwwww
  528. wwwwwx
  529. wwwwwxw
  530. wwwwww
  531. wwwwwwx
  532. wwwwwww
  533. wwwwwwwx
  534. ww{wx
  535. wwwwwwww
  536. wwwwwxxw
  537. wwwwwwwwx
  538. wwwwwwwww
  539. wwwwwwwx
  540. wwwwwww
  541. wwwwwwx
  542. wwxwwwx
  543. wwwwww
  544. wx{wwxw
  545. wwwwwx
  546. wwwww
  547. wwwwx
  548.         yyy
  549. wwwwx
  550. wwwwwxw
  551. wwwww
  552. wwwwwx
  553. wwwwww
  554. wwwwwwx
  555. ww{wx
  556. wwwwwww
  557. wwwwwxxw
  558. wwwwwwwx
  559. wwwwwwww
  560. wwwwwwwww
  561. wwwwwwww
  562. wwwxwwx
  563. wwwwwwww
  564. xww{xw{
  565. wwwwww
  566. wwwwwww
  567. wwwwwp
  568. wwwwws
  569. wwwws
  570. wwwww
  571. pw    yyy    
  572. wwww~
  573. xwwwwww
  574. wwwwww
  575. wwwwww
  576. wwwwwww
  577. wwwwwww
  578. w{www
  579. wwwwwwww
  580. xxwwwwww
  581. wwwwwwww
  582. wwwwwwwww
  583. wwwwwwwww
  584. wwwwwwww
  585. wwwwwww
  586. wwwxwwx
  587. wwwwwww
  588. xww{xw{
  589. wwwww
  590. wwwwww
  591. wwwwp
  592. wwwws
  593. pw    yyy    
  594. xwwwwww
  595. wwwww
  596. wwwww
  597. wwwwww
  598. wwwwww
  599. w{www
  600. wwwwwww
  601. xxwwwwww
  602. wwwwwww
  603. wwwwwwww
  604. wwwwwwww
  605. wwwwwwww
  606. wwwwpwww
  607. wWUwpx
  608. wWuwp
  609. wUupp
  610. wWUwp
  611. wUuwp
  612. wwUwp
  613. wwwppx
  614. wwwwp
  615. wwwwpwww
  616. wwwwww
  617. wwwww
  618. DDODODDO
  619. OODOD
  620. ODODOO
  621. DOODO
  622. """""""""""""""""
  623. """"""""""""""""""""""""""" 
  624. """""""""""""""""""""""""""""" DDD
  625. """""""""""""""""""""""""""""""" DDDDD@
  626. """""""""""""""""""""""""""""""""" DDDDDDD@
  627. """""""""""""""""""""""""""""""""""" DDDDDDDD@
  628. """"""""""""""""""""""""""""""""""""" DDDDDDDDDD@
  629. """"""""""""""""""""""""""""""""""""""" DDDDDDDDDDD@
  630. """""""""""""""""""""""""""""""""""""""" DDDDDDDDDDDDD
  631. """"""""""""""""""""""""""""""""""""""""" DDDDDDDDDDDDDD
  632. """"""""""""""""""""""""""""""""""""""""" DDDDDDDDDDDDDD@
  633. """""""""""""""""""""""""""""""""""""""""" DDDDDDDDDDDDDDD
  634. """""""""""""""""""""""""""""""""""""""""" DDDDDDDDDDDDDDD@
  635. """"""""""""""""""""""""""""""""""""""""""" DDDDDDDDDDDDDDDD
  636. """"""""""""""""""""""""""""""""""""""""""" DDDDDDDDDDDDDDDD
  637. """"""""""""""""""""""""""""""""""""""""""" DDDDDDDDDDDDDDDD
  638. """"""""""""""""""" 
  639. "" DDDDDDDDDDDDDDDD
  640. """""""""""""""
  641. DDDDDDDDDDDDDDD
  642. """""""""""" 
  643. DDDDDDDDDDDD
  644. """"""""""
  645. DDDDDDDDDD
  646. """"""""
  647. DDDDDDDD
  648. """"""
  649. DDDDDD
  650. """" 
  651. "/"/"
  652. myReader
  653. &File
  654. &Open...    Ctrl+O
  655. &Save    Ctrl+S
  656. Save &As...
  657. SaveAs
  658. Print Set&up...
  659. PrintSetup
  660. &Print Pages...    Ctrl+P
  661. PrintPages
  662. &Run...
  663. E&xit    Alt+F4
  664. &Edit
  665. F&ind...    F5
  666. A&uthor    F3
  667. Author
  668. &Page
  669. &Next    Alt+Right
  670. P&revious    Alt+Left
  671. Previous
  672. &First    Alt+Up
  673. First
  674. &Last    Alt+Down
  675. &Back    Shift+F2
  676. &History...    Ctrl+F2
  677. History
  678. &Size to Page    F11
  679. SizeToPage
  680. &Topics
  681. Title Page
  682. Performance
  683. Memory Model
  684. Viewers
  685. Fields
  686. Graphics in Fields
  687. More on Fields
  688. Rich Text Format
  689. Resource System
  690. Introduction
  691. Resources
  692. Graphic Buttons
  693. Menubars
  694. Cursors
  695. Color Model
  696. User Interface
  697. UserInterface
  698. Authoring U.I.
  699. AuthoringUI
  700. Right Click
  701. RightClick
  702. Group Editor
  703. Polypoint Editing
  704. Status Bar
  705. Status_Bar
  706. Ruler Shadowing
  707. Auto-Script
  708. Auto_Script
  709. Line Ends
  710. Comboboxes
  711. Better Buttons
  712. Drag && Drop
  713. Drag_Drop
  714. Save As .EXE
  715. Save_As_Exe
  716. OpenScript Enhancements
  717. Arrays
  718. Notify Handlers
  719. OpenScript
  720. Typed Variables
  721. Equals Operator
  722. Common Dialogs
  723. menuBars
  724. RichTextFormat
  725. Click the Next & Previous buttons to navigate among pages, or choose a topic from the "Topics" menu.""""""""""""""""""""""""
  726. RichTextFormat
  727. 5 5!5"5#5$5%5&5'5(5)5*5+5,5-5:w
  728. -- handles changing the cursor
  729. (hotSpot 
  730. >= TRUE)
  731. -- 3D's 
  732. Author 
  733. isObject("
  734. ""topicName""")
  735. topicShadow 
  736.     -- reset 
  737. sizetoPage
  738. sysReaderRightClick 
  739. -- Handle messages 
  740. menuItemSelected pName, pAlias
  741.     -- If 
  742. aliased, 
  743. Else, 
  744. xNULL
  745. maybePage 
  746. If selected 
  747. that 
  748. buttonClick
  749.     -- initialize arrays:
  750. docWords holds 
  751. document;
  752.     -- frequencyArray 
  753. &unique 
  754. ialong 
  755. fits corresponding 
  756. C[][],temp
  757. without punctuation (see function defined below)
  758. stripPunctuation(
  759. J"topicText")
  760.     -- fill 
  761. g] order
  762. sorting algorithm)
  763.     -- since 
  764.  are passed 
  765. Hreference, 
  766. handlers modify
  767. quickSort 
  768. each 
  769. uniqueCount 
  770. count 
  771. -- running counter
  772. limit 
  773. dimensions (
  774. )    -- 
  775. through 
  776. sorted 
  777. , keeping track
  778. adjacent duplicates 
  779. storing 
  780. results 
  781. wordCheck 
  782. ][1] 
  783. ][2] 
  784.     -- dump 
  785. [i][1] & 
  786. [i][2] & 
  787. -- strips 
  788. ZpuncList[5],loadPunc
  789. ".,;:?!" & 
  790. -- Standard recursive QuickSort
  791. mind that 
  792. Hvalue
  793. quicksort fArray[] 
  794. 4s_noSwap
  795. quicksrt 
  796. +, 1, 
  797. r > l 
  798. e, l, ((l+r) 
  799. (l+1) 
  800. i] < 
  801. s_noswap
  802. , l, 
  803. |+1,r
  804. -- Slider control 
  805. begins here
  806. -- NOTES ABOUT IDENTIFIERS
  807. -- s___ prefix     ->
  808. function 
  809. handler used only 
  810. txClassName 
  811. c"Thumb"
  812. ___setSliderLimits 
  813. 4s___v, s___min, s___max, s___p
  814. down\
  815. loc -- flag 
  816. prevent updating 
  817. mouse 
  818. xmoved
  819. "HSliderThumb"
  820. ___slidePos(
  821. "VSliderThumb"
  822. sliderPosition 
  823. ___snapSlider\
  824. (1 - 
  825. glide 
  826. width 
  827. height 
  828.  p, s1, s2
  829. b(0,(p - s1) /(s2 - s1))
  830. thumb 
  831.             -- Another 
  832.  may be 
  833. controlling 
  834. OldMin 
  835. OldMax 
  836. j(1,(
  837. b(0,p)))
  838. "vSliderThumb"
  839. pOffset 
  840. ) * (1-p)
  841. newPos 
  842. "hSliderThumb"
  843. ) * p
  844.             -- Restore state 
  845. detentList 
  846. detents
  847. catchRange 
  848. 0 <> 
  849. ends 
  850. -- updates the graphics 
  851. searchReplace pm
  852. gref 
  853. bitmap "plus"
  854. minus"
  855. sofar 
  856. tchar 
  857. ~(pm,
  858. fs > 0
  859. -- expands/contracts 
  860. outline, 
  861. necessary
  862. t,tl,sh
  863. (selectedtextlines 
  864. a1Loc 
  865. ~(a1,tl)
  866.             -- 
  867. subheadings(outLineNumber(
  868. ,t)) 
  869. k& sh 
  870.             -- 
  871. curLevel 
  872. indentLevel(tl)
  873. keyenter
  874. mode, creates 
  875. shows you tabbed 
  876. operatingMode 
  877. value
  878. curmode 
  879. source 
  880. "off"
  881. o proper level
  882. notifybefore 
  883. operatingmode 
  884. notifyafter 
  885. -- returns 
  886. t,tl,retval
  887. n,i,headingLevel,testLevel,prevTestLevel,retlinecount
  888.         -- 
  889. textLineNumber(
  890. ,t)        
  891.         -- find out what 
  892.         -- point 
  893.         -- 
  894. y, so 
  895. outermost 
  896. headinglevel 
  897.     -- walk through 
  898. grabbing everything that 
  899.     --one 
  900. Mbelow current 
  901.         -- 
  902. results
  903. 9& tl & 
  904.         -- 
  905. a child 
  906. a "+" 
  907. tabs (ignoring "+" 
  908. "-") preceding a 
  909. counter 
  910. xansitoChar(1)
  911. numbers 
  912. form "1,3,2,1" etc
  913. -- based on a given 
  914. outlineNumber 
  915. , theText
  916. Zt,n,i,currentIndentLevel,retVal
  917. 1 -- 
  918. ?    only 
  919. L    list
  920.             -- found 
  921.             -- 
  922. elder sibling
  923.             -- 
  924. ''s descendant
  925. actual 
  926. -- corresponds 
  927. ZiLevel,n,iSibling,
  928. 1 -- 
  929. foundNextSibling 
  930. t) > 
  931. -1 -- 
  932. t) < 
  933. -1 -- 
  934. -- didn't 
  935. expected older 
  936. -- therefore 
  937. specified isn't 
  938. notifybefore 
  939. j,sec"
  940. clocktime 
  941. -- updates the hands on 
  942.     -- test 
  943. Ihas changed
  944. oldTime 
  945. curTime 
  946. coords 
  947. !)/2,\
  948. radius 
  949. N) - (
  950. Z))/2
  951. hour 
  952. minutes 
  953. secs 
  954. hourAngle 
  955. g/12 + 
  956. [/60/12 + 
  957. O/60/60/12)
  958. handVertices(
  959. I,.6,
  960. minutesAngle 
  961. /60 + 
  962. /60/60) 
  963. Wctr,
  964. 4,.9,
  965. secsAngle 
  966. $,.95,
  967. -- returns 
  968.  based on 
  969. angle 
  970. length provided
  971. Uextends a 
  972. one direction,
  973. other
  974. + (.1 * 
  975. -.5) * (2 * PI) - (PI / 2))),\ 
  976. + (.1 * 
  977. -.5) * (2 * PI) - (PI / 2))),\
  978. * (2 * PI) - (PI / 2))), \
  979. + (len * 
  980. * (2 * PI) - (PI / 2)))
  981. obligatory 
  982. handler 
  983. -- keep 
  984.  circular 
  985. sized
  986. maxside 
  987. syssuspendmessages 
  988. setTicks
  989. -- redraw 
  990. H (called 
  991. Hare lines whose names 
  992. )/2,\
  993. ) - (
  994. < 1440/2
  995. -- believe 
  996. needed 
  997. performance
  998. (i/60) * (2 * PI) - (PI / 2)
  999. + ((1-sz) * 
  1000. + ((1-sz) * 
  1001. )), \
  1002. .&+    +E
  1003. LXhotSpot
  1004. mouseEnter
  1005. .&+    +E
  1006. LXhotSpot
  1007. mouseLeave
  1008. topicName
  1009. recordfield "topicName"
  1010. Author
  1011. topicShadow
  1012. enterPage
  1013. .&+    +E
  1014. enterBook
  1015. reader
  1016. .&+    +E
  1017. .&+    +E
  1018. reader
  1019. maybePage
  1020. menuItemSelected
  1021. .&+    +E
  1022. .&+    +E
  1023. topicText
  1024. limit
  1025. wordCheck
  1026. frequency
  1027. quickSort
  1028. stripPunctuation
  1029. results
  1030. buttonClick
  1031. ,%H.%
  1032. .,;:?!
  1033. stripPunctuation
  1034. s_noSwap
  1035. quicksrt
  1036. quicksort
  1037. quicksrt
  1038. s_noSwap
  1039. quicksrt
  1040.  "___setSliderLimits
  1041. false
  1042. txClassName
  1043. Thumb
  1044. buttonDown
  1045. 1,"!#
  1046. s___p
  1047. false
  1048. s___v
  1049. HSliderThumb
  1050. ___slidePos
  1051. s___max
  1052. VSliderThumb
  1053. txClassName
  1054. s___min
  1055. buttonStillDown
  1056. s___v
  1057. false
  1058. s___p
  1059. HSliderThumb
  1060. ___slidePos
  1061. s___max
  1062. VSliderThumb
  1063. txClassName
  1064. s___min
  1065. i0___snapSlider
  1066. sliderPosition
  1067. buttonUp
  1068. s___v
  1069. HSliderThumb
  1070. s___max
  1071. VSliderThumb
  1072. txClassName
  1073. s___min
  1074. glide
  1075. ___setSliderLimits
  1076. ___slidePos
  1077. sliderPosition
  1078.  "___setSliderLimits
  1079. newPos
  1080. OldMax
  1081. hSliderThumb
  1082. pOffset
  1083. group
  1084. SliderThumb
  1085. s___max
  1086. OldMin
  1087. vSliderThumb
  1088. txClassName
  1089. s___min
  1090. thumb
  1091. sliderPosition
  1092. sliderPosition
  1093. detents
  1094. detentList
  1095. ___snapSlider
  1096. 1,    "j
  1097. .&,    "
  1098. minus
  1099. searchReplace
  1100. /searchReplace
  1101. 0]outLineNumber
  1102. minus
  1103. indentLevel
  1104. curLevel
  1105. subheadings
  1106. buttondoubleclick
  1107. keydown
  1108. .&+    +
  1109. source
  1110. /searchReplace
  1111. curmode
  1112. subheadings
  1113. source
  1114. operatingMode
  1115. reader
  1116. JFoperatingmode
  1117. enterpage
  1118. JFoperatingmode
  1119. author
  1120. JFoperatingmode
  1121. reader
  1122. source
  1123. textLineNumber
  1124. indentLevel
  1125. subheadings
  1126. ,%H.%
  1127. counter
  1128. indentLevel
  1129. indentLevel
  1130. outlineNumber
  1131. false
  1132. indentLevel
  1133. foundNextSibling
  1134. textLineNumber
  1135. clocktime
  1136. h,min,sec
  1137. 1,!J<Y
  1138. 1,!J<Y
  1139. 333333
  1140. ?ffffff
  1141. ?hourAngle
  1142. second
  1143. secsAngle
  1144. kDcurTime
  1145. oldTime
  1146. handVertices
  1147. jDcurTime
  1148. minutesAngle
  1149. coords
  1150. radius
  1151. minute
  1152. ?clocktime
  1153. handVertices
  1154. jDcurTime
  1155. clocktime
  1156. ^vsetTicks
  1157. sized
  1158. .&,    "
  1159. C333333
  1160. .&,    "
  1161. ,!J<Y
  1162. ,%H.%
  1163. coords
  1164. setTicks
  1165. NotifyHandlers
  1166. Notify Handlers
  1167. Notify Handlers
  1168. "Notify" handlers allow objects to receive notification of messages sent to the page level (enterPage, idle, etc.).  This makes it much easier to write self-contained "widget" objects that can be pasted into a book and used without modification.
  1169. This clock contains a "NotifyBefore Idle" script.tify handler for the idle  message and a place holder that is visible only at author level.holder that is visible only at author level.el.
  1170. author
  1171. reader
  1172. notifyAfter 
  1173. notifyBefore 
  1174. false
  1175. vflag
  1176. Video Placeholder
  1177. false
  1178. vflag
  1179. clock
  1180. reader
  1181. curTime
  1182. minute
  1183. second
  1184. reader
  1185. author
  1186. 1,40,51
  1187. author
  1188. 1,40,59
  1189. NotifyHandlers
  1190. OpenScript
  1191. OpenScript
  1192. OpenScript+
  1193. New OpenScript features include an IsType()  and IsObject()  functions for data validation and a FlushMessageQueue()  function to clear extraneous mouse and keyboard input. 
  1194. The translateWindowMessage now gives more control over Windows messages, and new financial functions have been added.    been added.     functions have been added.   new financial functions have been added.  Windows messages, and new financial functions have been added.  
  1195.  TranslateWindowMessage
  1196.  IsObject()
  1197.  Financial Functions
  1198.  IsType()
  1199.  FlushMessageQueue()
  1200. TypedVariables
  1201. Typed Variables
  1202. Typed Variables
  1203. Variables can be declared by type.  This allows the script compiler to generate the most efficient possible code and provides additional error checking against setting a variable to an illegal value.
  1204. Arrays in ToolBook can also be declared as typed data.
  1205. to handle buttonUp
  1206.     local REAL lReal
  1207.     local INT lInt
  1208.     local DWORD aDword[20]
  1209.     system STRING sFoo
  1210.     system COLOR sColor
  1211. bottomLine
  1212. topLine
  1213. in,ms
  1214. ThreeDeeRect
  1215. CommonDialogs
  1216. Common Dialogs7
  1217. Common Dialogs[
  1218. Support for Windows common dialogs has been added to TB30DLG.DLL. (This replaces TBKDLG.DLL in ToolBook 1.5.)  Common dialogs give Windows applications a consistent look and interface for basic user tasks such as opening a file or choosing a name to "Save As..."
  1219. As..."
  1220. supported in TBKDLG.DLL...
  1221. Icon (*.ico),*.ico,toolBook (*.tbk),*.tbk
  1222. File selected:
  1223. tb30dlg.DLL
  1224. filterList
  1225. OpenFileDlg
  1226. openFileDlg
  1227. Choose next book...
  1228. User Canceled.
  1229. buttonUp
  1230.     linkDLL "tb30dlg.
  1231.         STRING openFileDlg (
  1232. , INT)
  1233. filterList 
  1234. "Icon (*.ico),*.
  1235. ,toolBook (*.tbk),*.
  1236. OpenFileDlg("Choose 
  1237. 8...", NULL, 
  1238. ^, 2)
  1239. "User Canceled."
  1240.  selected:" && 
  1241. stretchBitmap
  1242. Open File...
  1243. SaveAsDlg
  1244. File selected:
  1245. tb30dlg.dll
  1246. filterList
  1247. Text file (*.txt),*.txt,toolBook (*.tbk),*.tbk
  1248. SaveAsDlg
  1249. Save Data As
  1250. User Canceled.
  1251. buttonUp
  1252.     linkDLL "tb30dlg.dll"
  1253.         STRING SaveAsDlg (
  1254. , INT)
  1255. filterList 
  1256. "Text file (*.txt),*.
  1257. ,toolBook (*.tbk),*.
  1258. i Data As", NULL, 
  1259. V, 1)
  1260. "User Canceled."
  1261. "File selected:" && 
  1262. stretchBitmap
  1263. Save As...
  1264. colorPaletteDlg
  1265. tb30dlg.dll
  1266. colorPaletteDlg
  1267. colorSample
  1268. User Canceled.
  1269. buttonUp
  1270.     linkDLL "tb30dlg.dll"
  1271.         STRING colorPaletteDlg (BYTE, 
  1272. $(0, 0, 0)
  1273. xNUll
  1274. RGBFill 
  1275. "colorSample" 
  1276. "User Canceled."
  1277. stretchBitmap
  1278. Choose Color...
  1279. FchooseFontDlg
  1280. tb30dlg.dll
  1281. fontSample
  1282. qRGBtoHLS
  1283. TBKWIN.DLL
  1284. RGBtoHLS
  1285. regular
  1286. chooseFontDlg
  1287. User Canceled.
  1288. buttonUp
  1289.     linkDLL "tb30dlg.dll"
  1290.         STRING chooseFontDlg (
  1291. :TBKWIN.
  1292. RGBtoHLS(
  1293. G("","")
  1294. "User Canceled."
  1295. "fontSample" 
  1296.         -- Uses function 
  1297. TbkWin.
  1298.         -- Convert "regular" 
  1299. style 
  1300. (Item 6 
  1301. stretchBitmap
  1302. Choose Font...
  1303. colorSample
  1304. Color Sample
  1305. fontSample
  1306. Font Sample
  1307. CommonDialogs
  1308. ButtonClick
  1309. Pages on this background are displayed in window objects elsewhere in the book.
  1310. Font Sample
  1311. CommonDialogs
  1312. ButtonClick
  1313. CONTACT ICO 
  1314. CONTACT TBK 
  1315. BetterButtons
  1316. Better Buttons .
  1317. Better Buttons ments
  1318. New CheckBox3D  and RadioButton3D  border styles have been added, as shown in the top two object groups on this page.
  1319. All buttons also now support an enabled property, mnemonic keys, and full Windows button behavior..showed "grayed" and receives no mouse messages.  
  1320. Toggle the red "Enabled" check box to see how disabled buttons are displayed.c
  1321. stretchBitmap
  1322. Search in T&itles
  1323. stretchBitmap
  1324. Search in &Descriptions
  1325. stretchBitmap
  1326. Search in &History Records
  1327. in,ms
  1328. ThreeDeeRect
  1329. bottomLine
  1330. topLine
  1331. stretchBitmap
  1332. This P&age Only
  1333. @    L    >Q
  1334. stretchBitmap
  1335. This &Background
  1336. stretchBitmap
  1337. This B&ook
  1338. buttonDown
  1339. stretchBitmap
  1340. stretchBitmap
  1341. Status
  1342. in,ms
  1343. ThreeDeeRect
  1344. bottomLine
  1345. topLine
  1346. buttonSamples
  1347. buttonClick
  1348. buttonClick    
  1349. enabled 
  1350. "buttonSamples" 
  1351. stretchBitmap
  1352. Enabled
  1353. buttonSamples
  1354. stretchBitmap
  1355. Button
  1356. stretchBitmap
  1357. Button
  1358. stretchBitmap
  1359. Button
  1360. LineEnds
  1361. Line Ends
  1362. Line Ends
  1363. Line and curve objects now support arrow-style line ends.  
  1364. The line ends palette shown at left is used to set the style and size.
  1365. penScript support is provided with two new object properties: lineEndStyle  and lineEndSize.  The defaults are controlled through sysLineEndStyle  and sysLineEndSize...
  1366. LineEnds
  1367. Comboboxes
  1368. Comboboxess
  1369. Comboboxess
  1370. Editable and non-editable comboboxes are now available on the ToolBook object palette.
  1371. Double-click the arrow portion of the combobox to enter items at author level.
  1372. The contents can be automatically sorted using the "Sort Items" property...
  1373. one item
  1374. one item
  1375. three
  1376. seven
  1377. Betaaon
  1378. Alpha
  1379. Gamma
  1380. Delta
  1381. Epsilon#
  1382. Editable:
  1383. Non-editable:
  1384. Drag_Drop
  1385. Drag & Drop
  1386. Drag & Drop
  1387. Drag & drop functionality allows you to create highly interactive applications.
  1388. The dragImage  can be a cursor, bitmap or icon.  Dragging works at both reader and author levels, and between windows.
  1389. For this example, drag a textline from the list box to the wastebasket to delete that line...  Also, see the "floating palette" example on the Viewers  page.
  1390. sourceList
  1391. resetText
  1392. buttonClick
  1393. buttonClick    
  1394. sourceList 
  1395. resetText 
  1396. Reset
  1397. Field
  1398. objectDropped
  1399. objectDropped pTarget
  1400. ptarget 
  1401. B(selectedTextLines 
  1402. Wastebasket
  1403. in,ms
  1404. ThreeDeeRect
  1405. bottomLine
  1406. topLine
  1407. sourcelist
  1408. -1,-1
  1409. FALSE
  1410. allowDrag
  1411. allowDrag
  1412. asure edge was 
  1413. xclicked
  1414. x"-1,-1"
  1415. selectedTextLines 
  1416. FALSE
  1417. three
  1418. seven
  1419. eight
  1420. resetText
  1421. three
  1422. seven
  1423. eight
  1424. ToolBook now supports OLE technology.  OLE objects can be embedded (all data is contained in the ToolBook file) or linked  (only a reference to the data file is stored).
  1425. An OLE object can be activated from a script by setting its action property...........
  1426. Double-click to edit Excel chartt:A
  1427. embedded,ExcelChart,,Chart
  1428. SaveToExe
  1429. title
  1430. And More...
  1431. title
  1432. And More...
  1433. This book highlights the most significant features of this release, but there are many more.  For complete information, consult the Release Notes help file.
  1434. ..m the Topics menu..
  1435. .&+    +E
  1436. .&+    +E
  1437. buttonClick
  1438. buttonClick
  1439. stretchBitmap
  1440. RichTextFormat
  1441. bottomLine
  1442. Rich Text Format
  1443. Rich Text Format
  1444. To make it easier to convert existing documents into applications, ToolBook now supports Rich Text Format (RTF) for data exchange.
  1445. Click the word processor icon below
  1446.         to view the "RichText"
  1447.                 property of the field
  1448.                 shown here.......
  1449. RTFSample
  1450. buttonClick
  1451. buttonClick
  1452. richText 
  1453. "RTFSample"
  1454. hotspot
  1455. RTFSample
  1456. INSURANCES
  1457. Medical/Dental Insurance
  1458. Micro Co. presently maintains insurance plans through Green County Medical Blue Shield and Stalwart Health Cooperative from which eligible employees may choose coverage for themselves and their legal dependents.  Booklets on these policies are available through Personnel.
  1459. Life Insurance
  1460. Micro Co. provides eligible employees with a $100,000 group term life insurance and accidental death and dismemberment policy through Rainy Day Insurance Company.  This insurance is a fringe benefit and 
  1461. the amount of the premium for insurance over $50,000 is considered taxable income to each covered employee.  An additional voluntary term life insurance policy is also available to eligible employee through Upright Insurance Company.  This plan allows you to purchase additional amounts of insurance (five times your annual salary to a maximum of $300,000).  You may also insure your spouse or 
  1462. dependent children under this plan.  Booklets on these policies are available through Personnel.
  1463. Long Term Disability Insurance
  1464. A voluntary long term disability insurance is available to eligible employees.  This insurance allows you to purchase salary continuation protection and in the event you should become totally disabled and unable to work, would provide you with continuing income at approximately 60% of your regular wage, at the time you were disabled (subject to certain restrictions and other sources of income you may be entitled to receive).
  1465. erm Disability Insurance
  1466. A voluntary long term disability insurance is available to eligible employees.  This insurance allows you 
  1467. to purchase salary continuation protection and in the event you should become totally disabled and unable 
  1468. to work, would provide you with continuing income at approximately 60% of your regular wage, at the 
  1469. time you were disabled (subject to certain restrictions and other sources of income you may be entitled to 
  1470. receive).
  1471. topLine
  1472. in,ms
  1473. ThreeDeeRect
  1474. PolypointEditing
  1475. widgetspalette
  1476. PolypointEditing
  1477. U.I. - Polypoint Editing
  1478. U.I. - Polypoint Editing
  1479. The enhanced Reshape  command allows you to add and remove vertices from angled lines, curved lines, polygons, and irregular polygons.
  1480. To edit polypoint objects at author level, select the object, choose Reshape  from the draw menu, and then:
  1481. Shift-click on a reshape handle to add a point.
  1482. Ctrl-Shift-Click on a reshape handle to delete a point..
  1483. Switch to Author Level to Edit These Objects.
  1484. Save_As_EXE
  1485. Save As .EXE.EXE
  1486. Save As .EXEEEXEsEEEEEEEEEEEE
  1487. ToolBook applications may now be saved as a self-launching executable file.
  1488. The .EXE file contains the book icon as a resource so that the icon is available for use in the Program Manager.  
  1489. The ToolBook runtime files are still required...
  1490. in,sculpted
  1491. ThreeDeeRect
  1492. bottomLine
  1493. topLine
  1494. Arrays
  1495. Arrays!
  1496. Arrays=
  1497. OpenScript now supports both single and multi-dimensional arrays.  The Fill  command can easily load data into arrays from other sources. 
  1498. In general, fixed-size arrays are faster and offer better access validation.  Dynamic arrays are useful if the size of the array is not actually known or may change over time...idation.  Dynamic arrays are useful if the size of the array is not actually known or may change over time..
  1499. stretchBitmap
  1500. Count word frequency
  1501. in,ms
  1502. ThreeDeeRect
  1503. bottomLine
  1504. topLine
  1505. results
  1506. .&+    +E
  1507. .&+    +E
  1508. results
  1509. buttonup
  1510. "results"
  1511. stretchBitmap
  1512. Clear Field Text
  1513. Arrays!
  1514. Arrays=
  1515. OpenScript now supports both single and multi-dimensional arrays.  The Fill  command can easily load data into arrays from other sources. 
  1516. In general, fixed-size arrays areCBT_DEMOAVI 
  1517. CBT_DEMOICO 
  1518. CBT_DEMOTBK 
  1519. CBT_TIPSTBK 
  1520. rightClick
  1521. ColorModel
  1522. viewerDrag
  1523. groupEditor
  1524. U.I. - Group Editor
  1525. U.I. - Group Editor
  1526. The group editor allows direct selection and editing of grouped objects without ungrouping.
  1527. Switch to author level and double-click the grouped objects to the left.  A dotted group-edit rectangle appears around the group.  Sub-groups are shown with additional rectangles.When you draw a new object in this mode, it is added to the group.  You can delete objects from a group as well, but there must be at least two objects in every group...e
  1528. Field 1
  1529. Field 2
  1530. groupEditor
  1531. HintText
  1532. Status_bar
  1533. Reader
  1534. statusBar
  1535. enterPage
  1536. <+U!!
  1537. Reader
  1538. statusbar
  1539. leavePage
  1540. yhelpText
  1541. statusBar
  1542. mouseEnter
  1543. Cancel
  1544. yhelpText
  1545. Help Text:
  1546. xxbuttonDoubleClick
  1547. Reader
  1548. statusBar 
  1549. statusbar
  1550. helpText 
  1551. xxbuttonDoubleClick
  1552. ("Help 
  1553. xCancel
  1554. helptext
  1555. U.I. - Status Bar
  1556. U.I. - Status Bar
  1557. A Status Bar that works at both reader and author levels has been added.
  1558. Display text in the Status Bar at reader level by setting its caption property.  (Move the mouse over the draw objects at left for an example.)
  1559. Individual components of the Status Bar can be shown or hidden.  Toggle the check boxes on this page to see how this works.s
  1560. stretchBitmap
  1561. Button
  1562. buttonUp
  1563. curObj
  1564. enterpage
  1565. -- hides 
  1566. shows portions 
  1567. the status bar
  1568. notifyafter 
  1569. objs 
  1570. curObj
  1571. StatusBar
  1572. stretchBitmap
  1573. StatusBar
  1574. StatusBox
  1575. stretchBitmap
  1576. StatusBox
  1577. StatusControls
  1578. stretchBitmap
  1579. StatusControls
  1580. StatusIndicators
  1581. stretchBitmap
  1582. StatusIndicators
  1583. A Diamond
  1584. helpText
  1585. This is a blue pie object
  1586. helpText
  1587. The Swan of Gibralter
  1588. helpText
  1589. enterpage
  1590. StatusBar
  1591. OpenScript
  1592. widgets
  1593. viewerDrag
  1594. toolpalette
  1595. leavepage
  1596. isopen 
  1597.         close 
  1598. ViewersObjects
  1599. Viewers
  1600. The buttons on this page show three different viewers used to create elements of Windows applications.  The pages displayed in these windows are located at the end of this book.
  1601. The next page features additional viewers uses...
  1602. borderStyle) can also be set through the Viewers  dialog box.indow (such as its borderStyle) can also be set through the Viewers  dialog box.
  1603. InstallClipartWIndow
  1604. Clipart.wbk
  1605. buttonUp
  1606. InstallClipartWIndow 
  1607. .wbk"
  1608. stretchBitmap
  1609. Tool Palette
  1610. .&+    +E
  1611. .&+    +E
  1612. Progress
  1613. thermo
  1614. percentage
  1615. buttonClick
  1616. progress cursor
  1617. buttonClick
  1618. vRef 
  1619. "Progress"
  1620.         -- initialize the thermometer
  1621. percentage 
  1622.         -- 
  1623.         -- 
  1624. currentPage 
  1625.     close 
  1626. stretchBitmap
  1627. Progress...
  1628. fPalette
  1629. sampleDialog
  1630. buttonUp
  1631. "sampleDialog" 
  1632. %modal
  1633. :    F    >Q
  1634. stretchBitmap
  1635. Dialog Box
  1636. showToolPal
  1637. toolPalette
  1638. buttonUp
  1639. stretchBitmap
  1640. Floating Palette
  1641. MoreOnFields
  1642. Auto_Script
  1643. Resources
  1644. Resource System
  1645. Resource System
  1646. A resource is read-only data that you put in a book once and re-use multiple times. (For example, many different graphic buttons could use the same icon.) 
  1647. The ToolBook resource system supports menubars, icons, cursors, color palettes, and bitmaps.  These resources are discussed on the pages that follow...
  1648. Resources
  1649. Send Mail && MRU
  1650. menuBars
  1651. Menubars
  1652. Menubarsssssssss
  1653. Menubar resources support full cascading menus with accelerator keys and statusbar help text.  The reader-level menubar for this book is a resource.  Menubar resources can be assigned to any viewer.
  1654. As with all the resource types, an editor is provided to create or modify the book's menubars.ItemSelected  message lets you handle all menu events from a single script.e script.events from a single script.
  1655.  Assignable to any viewer
  1656.  Accelerator KeysI
  1657.  Full Cascading Menus
  1658.  Automatic Help Text
  1659. Auto_Script
  1660. Auto-Scriptons
  1661. Auto-Script
  1662. The Auto-Script feature allows the user to assign pre-defined behavior to objects without scripting.
  1663. The Auto-Script dialog can be invoked from the script editor, the right-click menus, or the properties dialog.
  1664. You can write your own Auto-Script files for frequently used scripts, or for use by others...cript files for frequently used scripts, or for use by others.
  1665. Cursors
  1666. Cursors
  1667. Cursors
  1668. Cursor resources can be used with the sysCursor property and as graphics in buttons.  Cursors can be imported from standard Windows .CUR files.
  1669. Click the buttons at left for examples of using cursor resources...
  1670. Move the mouse over the numbered rectangles to see new built-in ToolBook cursors.
  1671. cursor
  1672. buttonUp
  1673. ChooseResource(cursor, 
  1674. xNULL
  1675. stretchBitmap
  1676. Choose Resource...
  1677. ,%H.%
  1678. .&+    +E
  1679. buttonUp
  1680. cursor ID (103 + j)
  1681. stretchBitmap
  1682. Progress...
  1683. .&+    +E
  1684. buttonUp
  1685. stretchBitmap
  1686. Reset
  1687. Cursors
  1688. ColorModel
  1689. Color Model
  1690. Color Model
  1691. .PAL files can be imported via the resource manager and used to control palette shifting.
  1692. Objects now support full solid colors (instead of dithering to 16-colors) if the book's solidColorsEnabled   property is set to true.
  1693. The useWindowsColors property for objects allows them to use the Windows desktop colors.raw objects and backgrounds  include useWindowsColors  and sysUseWindowsColors. 
  1694. JX provides full support for 16- and 24-bit video systems.
  1695.  Palette Resources
  1696.  Control Palette Shift
  1697.  Solid-Color Objects
  1698.  UseWindowsColorsWindows Colors
  1699.  24-Bit Support
  1700. GraphicButtons
  1701. Graphic Buttons
  1702. Graphic Buttons
  1703. Icon, cursor and bitmap resources can be applied to buttons.  A different graphic can be assigned to the button's normal, inverted, disabled and checked states.
  1704. The examples on this page show graphic push buttons, check boxes and radio buttons.  Try clicking them.s additional button enhancements.ge shows additional button enhancements.age shows additional button enhancements.
  1705. stretchBitmap
  1706. Status
  1707. stretchBitmap
  1708. Status
  1709. stretchBitmap
  1710. Optional
  1711. stretchBitmap
  1712. stretchBitmap
  1713. Answer A
  1714. stretchBitmap
  1715. Answer B
  1716. stretchBitmap
  1717. Answer C
  1718. bottomLine
  1719. topLine
  1720. out,none
  1721. ThreeDeeRect
  1722. GraphicButtons
  1723. DragDrop
  1724. TypedVariables
  1725. PopPedal
  1726. bottomLine
  1727. topLine
  1728. out,none
  1729. ThreeDeeRect
  1730. GraphicButtons
  1731. 0,0,0,0
  1732. clientOffset
  1733. Times New Roman
  1734. Arial
  1735. Times New Roman
  1736. Times New Roman
  1737. urier New
  1738. O!_#G}k
  1739. Times New Roman
  1740. Times New Roman
  1741. Arial
  1742. Times New Roman
  1743. Arial
  1744. Arial
  1745. Wingdings
  1746. Times New Roman
  1747. Arial
  1748. Times New Roman
  1749. Arial
  1750. Courier New
  1751. MS Sans Serif
  1752. okman Old Style
  1753. Arial
  1754. Times New Roman
  1755. System
  1756. MS Sans Serif
  1757. Arial
  1758. MS Sans Serif
  1759. Arial
  1760. Arial
  1761. Arial
  1762.  Sans Serif
  1763. Courier
  1764. MS Serif
  1765. Arial
  1766. MS Sans Serif
  1767. Arial
  1768. Times New Roman
  1769. Arial
  1770. MS Sans Serif
  1771. System
  1772. Arial
  1773. Arial
  1774. Arial
  1775. Arial
  1776. Arial
  1777. Times New Roman
  1778. Times New Roman
  1779. r)/2@
  1780. System
  1781. topicName
  1782. recordfield "topicName"
  1783. Author
  1784. topicShadow
  1785. enterPage
  1786. enterBook
  1787. reader
  1788. maybePage
  1789. menuItemSelected
  1790. Author 
  1791. isObject("
  1792. ""topicName""")
  1793. topicShadow 
  1794. 4 -- reset 
  1795. sysReaderRightClick 
  1796. -- Handle messages 
  1797. "Topics" 
  1798. menuItemSelected pName, pAlias
  1799. -- If 
  1800. aliased, 
  1801. Else, 
  1802. xNULL
  1803. maybePage 
  1804. If selected 
  1805. that 
  1806. Arial
  1807. Times New Roman
  1808. Arial Narrow
  1809. Arial Narrow
  1810. Times New Roman
  1811. Times New Roman
  1812. Times New Roman
  1813. MS Sans Serif
  1814. MS Sans Serif
  1815. Arial
  1816. MS Sans Serif
  1817. Times New Roman
  1818. Times New Roman
  1819. MS Sans Serif
  1820. eEnter
  1821. LXhotSpot
  1822. mouseLeave
  1823. topicName
  1824. recordfield "topicName"
  1825. Author
  1826. topicShadow
  1827. enterPage
  1828. enterBook
  1829. reader
  1830. maybePage
  1831. menuItemSelected
  1832. (hotSpot 
  1833. >= TRUE)
  1834. Author 
  1835. isObject("
  1836. ""topicName""")
  1837. topicShadow 
  1838. 4 -- reset 
  1839. sysReaderRightClick 
  1840. -- Handle messages 
  1841. "Topics" 
  1842. menuItemSelected pName, pAlias
  1843. -- If 
  1844. aliased, 
  1845. Else, 
  1846. xNULL
  1847. maybePage 
  1848. If selected 
  1849. that 
  1850. Page id 44
  1851. ToolBook Features Tour
  1852. toolPalette
  1853. page "widgets"
  1854. Progress
  1855. page "Progress"
  1856. Computing...
  1857. SplashScreen
  1858. page id 36
  1859. sampleDialog
  1860. page "sampleDialog"
  1861. Sample Dialog Box
  1862. Page id 46
  1863. Page"
  1864. PopPedal
  1865. Page "PopPedal"
  1866. TVpane
  1867. Page "HintText"
  1868. toolPalette
  1869. page "widgets"
  1870. DragButtons
  1871. rightSize
  1872. openWindow
  1873. openWindow
  1874.     rightSize = 
  1875. "DragButtons" 
  1876. ocurrentPage
  1877. ;) / (
  1878. sysPageUnitsPerPixel)
  1879. m) / (
  1880. ClientSize 
  1881. popuphelp
  1882. Page id 62
  1883. TitlePage
  1884. .&+    +E
  1885. reader
  1886. iris speed 1000
  1887. enterPage
  1888.         -- reset on 
  1889.         transition "iris speed 1000" 
  1890. stretchBitmap
  1891. Button
  1892. TitlePage
  1893. Progress
  1894. Viewers
  1895. GraphicsInFields
  1896. BetterButtons
  1897. Save_As_EXE
  1898. .&+    +E
  1899. enterPage
  1900. 1 -- (Was 
  1901. 4 on 
  1902. 10,14
  1903. selectChars
  1904. title
  1905. Features Tour Tour
  1906. title
  1907. Features Tour TourO
  1908. title
  1909. ToolBook 2.0)
  1910. title
  1911. ToolBook 2.0
  1912. This book demonstrates many of the enhancements and features in the new release of ToolBook.  Use the Next and Previous buttons to browse, or choose an item from the Topics menu..
  1913. nextPage
  1914. .&+    +E
  1915. .&+    +E
  1916. buttonClick
  1917. buttonClick
  1918. stretchBitmap
  1919. enterPage
  1920. false
  1921. viewerDrag
  1922. allowdrop
  1923. allowdrop
  1924. "viewerDrag"
  1925. nextPage
  1926. .&+    +E
  1927. .&+    +E
  1928. buttonClick
  1929. buttonClick
  1930. stretchBitmap
  1931. topicText
  1932. selfRef
  1933. enterpage
  1934. notifyBefore 
  1935. selfRef 
  1936. popupHelp
  1937. buttonClick
  1938. buttonClick
  1939. "popupHelp" 
  1940. %modal
  1941. stretchBitmap
  1942. .&+    +E
  1943. .&+    +E
  1944. buttonClick
  1945. buttonClick
  1946. stretchBitmap
  1947. false
  1948. viewerDrag
  1949. allowdrop
  1950. allowdrop
  1951. "viewerDrag"
  1952. topicShadow
  1953. topicName
  1954. allowdrop
  1955. allowdrop
  1956. enterpage
  1957. Performance
  1958. Performance
  1959. Performance
  1960. The new release of ToolBook features a faster, more efficient compiler and other elements of the OpenScript system that give dramatic improvements in execution speed.
  1961. The ToolBook imaging engine has been refined for improved display performance in many scenarios..imensional arrays.
  1962. Portions of the ToolBook imaging engine have been refined for improved performance.ne have been refined for improved performance.e.. performance.
  1963.  Optimizing Compilerrrrrrrr
  1964.  Faster InterpreterI
  1965.  Imager Improvementsssssss
  1966.  Typed Data
  1967. Performance
  1968. Status_bar
  1969. MemoryModel
  1970. Memory Model
  1971. Memory Model/
  1972. The new memory model gives full access to available Windows memory up to 16 megabytes, which eliminates "Out of Local Memory" errors.
  1973. Individual variables can be up to 64K in size, and stack space has been increased to support up to 1,024 nesting levels and to provide more memory for DLLs.
  1974.  16 MB Available Memoryyy
  1975.  64K Variable Sizee
  1976.  Expanded Stack Spacein
  1977. MemoryModel
  1978. Arrays
  1979. AuthoringUI
  1980. Authoring U.I.
  1981. Authoring U.I.3
  1982. The ToolBook user interface has been reworked extensively.  This includes updated floating palettes, a tear-off toolbar at author level, and enhanced script editor and debugger.
  1983. The command window now has a "history" recall list at the top that allows you to choose from recently used commands.
  1984. The pages that follow detail additional U.I. enhancements...
  1985.  More...
  1986.  Tear-off Toolbar
  1987.  Enhanced Debugger
  1988.  Script Editor Improvements
  1989.  Command Window Historyssssssssssssssssssssssssss
  1990. AuthoringUI
  1991. Comboboxes
  1992. rightClick
  1993. U.I. - Right Clickk
  1994. U.I. - Right Clickk
  1995. New right-click menus allow faster and easier access to properties and scripts.
  1996. Switch to author level and click the right mouse button on each of the objects shown here.
  1997. When right-clicking the page, hold down:
  1998. Ctrl -- for background menu
  1999. Shift -- for book menu
  2000. Shift+Ctrl -- for viewer menuur menu
  2001. stretchBitmap
  2002. Button
  2003. Field 1
  2004. rightClick
  2005. U.I. - Right Clickk
  2006. U.I. - Right Clickk
  2007. New right-click menus allow faster and easier access to properties and scripts.
  2008. Switch to author leve
  2009. System Functions
  2010. Window-Creation Functions
  2011. New 3.1 user functions
  2012. Bitmap Functions
  2013. Clipping Functions
  2014. Coordinate Functions
  2015. Device-Context Functions
  2016. Drawing-Attribute Functions
  2017. Drawing-Tool Functions
  2018. Ellipse and Polygon Functions
  2019. Font Functions
  2020. Line-Output Functions
  2021. Mapping Functions
  2022. Metafile Functions
  2023. Palette Functions
  2024. Printer-Control Functions
  2025. Rectangle Functions
  2026. Region Functions
  2027. Text Functions
  2028. TrueType Functions
  2029. PeIO      SYS
  2030. MSDOS   SYS
  2031. MS-DOS_6   (
  2032. DOS        
  2033. COMMAND COM
  2034. AUTOEXEC01  
  2035. CONFIG  OLD 
  2036. AUTOEXECOLD 
  2037. MY_BIN     
  2038. TEMP       
  2039. WINDOWS    
  2040. 386SPARTPAR&
  2041. wwwwwwwwwwwwwwwwwwwwwwwwwwwww{
  2042. wwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  2043. wwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  2044. wwwwwwwwwx
  2045. wwwwwwwwww
  2046. wwwwwwwwwx
  2047. wwwwwwwwww
  2048. wwwwwwwwwx
  2049. wwwwwwwwww
  2050. wwwwwwwwwx
  2051. wwwwwwwwww
  2052. wwwwwwwwwx
  2053. wwwwwwwwww
  2054. wwwwwwwx
  2055. wwwwwwwp
  2056. wwwwwwx
  2057. wwwwwwp
  2058. wwwwwx
  2059. wwwwwp
  2060. wwwwwx
  2061. wwwwwp
  2062. wwwwwwx
  2063. wwwwwwp
  2064. wwwwwwwx
  2065. wwwwwwwp
  2066. wwwwwwwwwx
  2067. wwwwwwwwww
  2068. wwwwwwwwwx
  2069. wwwwwwwwww
  2070. wwwwwwwwwx
  2071. wwwwwwwwww
  2072. wwwwwwwwwx
  2073. wwwwwwwwww
  2074. wwwwwwwwwx
  2075. wwwwwwwwww
  2076. wwwwwwwwww
  2077. wwwwwwwwww
  2078. wwwwwwwwww
  2079. wwwwwwwwww
  2080. wwwwwwwwww
  2081. wwwwwwwp
  2082. wwwwwwp
  2083. wwwwwp
  2084. wwwwwp
  2085. wwwwwwp
  2086. wwwwwwwp
  2087. wwwwwwwwww
  2088. wwwwwwwwww
  2089. wwwwwwwwww
  2090. wwwwwwwwww
  2091. wwwwwwwwww
  2092. wwwwwwwwwx
  2093. wwwwwwwwww
  2094. wwwwwwwwwx
  2095. wwwwwwwwww
  2096. wwwwwwwwwx
  2097. wwwwwwwwww
  2098. wwwwwwwwwx
  2099. wwwwwwwwww
  2100. wwwwwwwwwx
  2101. wwwwwwwwww
  2102. wwwwwwwx
  2103. wwwwwwwp
  2104. wwwwwwx
  2105. wwwwwwp
  2106. wwwwwx
  2107. wwwwwp
  2108. wwwwwx
  2109. wwwwwp
  2110. wwwwwwx
  2111. wwwwwwp
  2112. wwwwwwwx
  2113. wwwwwwwp
  2114. wwwwwwwwwx
  2115. wwwwwwwwww
  2116. wwwwwwwwwx
  2117. wwwwwwwwww
  2118. wwwwwwwwwx
  2119. wwwwwwwwww
  2120. wwwwwwwwwx
  2121. wwwwwwwwww
  2122. wwwwwwwwwx
  2123. wwwwwwwwww
  2124. wwwwwwwwwx
  2125. wwwwwwwwww
  2126. wwwwwwwwwx
  2127. wwwwwwwwww
  2128. wwwwwwwwwx
  2129. wwwwwwwwww
  2130. wwwwwwwwwx
  2131. wwwwwwwwww
  2132. wwwwwwwwwx
  2133. wwwwwwwwww
  2134. wwwwx
  2135. wwwwp
  2136. wwwwwx
  2137. wwwwwp
  2138. wwwwwwx
  2139. wwwwwwp
  2140. wwwwwwx
  2141. wwwwwwp
  2142. wwwwwx
  2143. wwwwwp
  2144. wwwwx
  2145. wwwwp
  2146. wwwwwwwwwx
  2147. wwwwwwwwww
  2148. wwwwwwwwwx
  2149. wwwwwwwwww
  2150. wwwwwwwwwx
  2151. wwwwwwwwww
  2152. wwwwwwwwwx
  2153. wwwwwwwwww
  2154. wwwwwwwwwx
  2155. wwwwwwwwww
  2156. wwwwwwwwwx
  2157. wwwwwwwwwx
  2158. wwwwwwwwwx
  2159. wwwwwwwwwx
  2160. wwwwwwwwwx
  2161. wwwwx
  2162. wwwwx
  2163. wwwwx
  2164. wwwwx
  2165. wwwwx
  2166. wwwwx
  2167. wwwwwwwwwx
  2168. wwwwwwwwwx
  2169. wwwwwwwwwx
  2170. wwwwwwwwwx
  2171. wwwwwwwwwx
  2172. wwwwwwwwwx
  2173. wwwwwwwwww
  2174. wwwwwwwwwx
  2175. wwwwwwwwww
  2176. wwwwwwwwwx
  2177. wwwwwwwwww
  2178. wwwwwwwwwx
  2179. wwwwwwwwww
  2180. wwwwwwwwwx
  2181. wwwwwwwwww
  2182. wwwwx
  2183. wwwwp
  2184. wwwwx
  2185. wwwwp
  2186. wwwwx
  2187. wwwww
  2188. wwwwx
  2189. wwwww
  2190. wwwwx
  2191. wwwwp
  2192. wwwwx
  2193. wwwwp
  2194. wwwwwwwwwx
  2195. wwwwwwwwww
  2196. wwwwwwwwwx
  2197. wwwwwwwwww
  2198. wwwwwwwwwx
  2199. wwwwwwwwww
  2200. wwwwwwwwwx
  2201. wwwwwwwwww
  2202. wwwwwwwwwx
  2203. wwwwwwwwww
  2204. wwwwwwwwwx
  2205. wwwwwwwwww
  2206. wwwwwwwwwx
  2207. wwwwwwwwww
  2208. wwwwwwwwwx
  2209. wwwwwwwwww
  2210. wwwwwwwwwx
  2211. wwwwwwwwww
  2212. wwwwwwwwwx
  2213. wwwwwwwwww
  2214. wwwwwwwwwx
  2215. wwwwwwwwww
  2216. wwwwwwwwwx
  2217. wwwwwwwwww
  2218. wwwwwwwwwx
  2219. wwwwwwwwww
  2220. wwwwwwwwwx
  2221. wwwwwwwwww
  2222. wwwwwwwwwx
  2223. wwwwwwwwww
  2224. wwwwwwwwwx
  2225. wwwwwwwwww
  2226. wwwwwwwwwx
  2227. wwwwwwwwww
  2228. wwwwwwwwwx
  2229. wwwwwwwwww
  2230. wwwwwwwwwx
  2231. wwwwwwwwww
  2232. wwwwwwwwwx
  2233. wwwwwwwwww
  2234. wwwwwwwwwx
  2235. wwwwwwwwww
  2236. wwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  2237. wwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  2238. wwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  2239. wwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  2240. wwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  2241. wwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  2242. wwwww
  2243. wwwww
  2244. wwwww
  2245. wwwww
  2246. wwxpwp
  2247. xwwpww
  2248. ExcelChart
  2249. Chart
  2250. Page &p
  2251. CTOOLBOOK
  2252. DDEDATA.XLS0
  2253. Helv1
  2254. Helv1
  2255. ALCB88CFFA
  2256. Sales
  2257. ALCB89CFFA
  2258. ALCB8ACFFA
  2259. Sales by country (in thousands)'
  2260. METAFILEPICT
  2261. "Helv
  2262. 5000l
  2263. 10000
  2264. 15000
  2265. 20000
  2266. 25000
  2267. "System
  2268. "Helv
  2269. Sales by country (in thousands)
  2270.