home *** CD-ROM | disk | FTP | other *** search
/ ToolBook 3.0 / ToolBook v3.0.iso / tb30 / samples / features.tbk (.txt) < prev    next >
Encoding:
Asymetrix ToolBook File  |  1994-05-19  |  289.6 KB  |  2,255 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. SSMARQUESCR 
  728. SSSTARS SCR 
  729. SSMYST  SCR 
  730. -- updates the graphics 
  731. searchReplace pm
  732. gref 
  733. bitmap "plus"
  734. minus"
  735. sofar 
  736. tchar 
  737. ~(pm,
  738. fs > 0
  739. -- expands/contracts 
  740. outline, 
  741. necessary
  742. t,tl,sh
  743. (selectedtextlines 
  744. a1Loc 
  745. ~(a1,tl)
  746.             -- 
  747. subheadings(outLineNumber(
  748. ,t)) 
  749. k& sh 
  750.             -- 
  751. curLevel 
  752. indentLevel(tl)
  753. keyenter
  754. mode, creates 
  755. shows you tabbed 
  756. operatingMode 
  757. value
  758. curmode 
  759. source 
  760. "off"
  761. o proper level
  762. notifybefore 
  763. operatingmode 
  764. notifyafter 
  765. -- returns 
  766. t,tl,retval
  767. n,i,headingLevel,testLevel,prevTestLevel,retlinecount
  768.         -- 
  769. textLineNumber(
  770. ,t)        
  771.         -- find out what 
  772.         -- point 
  773.         -- 
  774. y, so 
  775. outermost 
  776. headinglevel 
  777.     -- walk through 
  778. grabbing everything that 
  779.     --one 
  780. Mbelow current 
  781.         -- 
  782. results
  783. 9& tl & 
  784.         -- 
  785. a child 
  786. a "+" 
  787. tabs (ignoring "+" 
  788. "-") preceding a 
  789. counter 
  790. xansitoChar(1)
  791. numbers 
  792. form "1,3,2,1" etc
  793. -- based on a given 
  794. outlineNumber 
  795. , theText
  796. Zt,n,i,currentIndentLevel,retVal
  797. 1 -- 
  798. ?    only 
  799. L    list
  800.             -- found 
  801.             -- 
  802. elder sibling
  803.             -- 
  804. ''s descendant
  805. actual 
  806. -- corresponds 
  807. ZiLevel,n,iSibling,
  808. 1 -- 
  809. foundNextSibling 
  810. t) > 
  811. -1 -- 
  812. t) < 
  813. -1 -- 
  814. -- didn't 
  815. expected older 
  816. -- therefore 
  817. specified isn't 
  818. buttonClick
  819.     -- initialize arrays:
  820. docWords holds 
  821. document;
  822.     -- frequencyArray 
  823. &unique 
  824. ialong 
  825. fits corresponding 
  826. C[][],temp
  827. without punctuation (see function defined below)
  828. stripPunctuation(
  829. J"topicText")
  830.     -- fill 
  831. g] order
  832. sorting algorithm)
  833.     -- since 
  834.  are passed 
  835. Hreference, 
  836. handlers modify
  837. quickSort 
  838. each 
  839. uniqueCount 
  840. count 
  841. -- running counter
  842. limit 
  843. dimensions (
  844. )    -- 
  845. through 
  846. sorted 
  847. , keeping track
  848. adjacent duplicates 
  849. storing 
  850. results 
  851. wordCheck 
  852. ][1] 
  853. ][2] 
  854.     -- dump 
  855. [i][1] & 
  856. [i][2] & 
  857. -- strips 
  858. ZpuncList[5],loadPunc
  859. ".,;:?!" & 
  860. -- Standard recursive QuickSort
  861. mind that 
  862. Hvalue
  863. quicksort fArray[] 
  864. 4s_noSwap
  865. quicksrt 
  866. +, 1, 
  867. r > l 
  868. e, l, ((l+r) 
  869. (l+1) 
  870. i] < 
  871. s_noswap
  872. , l, 
  873. |+1,r
  874. notifybefore 
  875. j,sec"
  876. clocktime 
  877. -- updates the hands on 
  878.     -- test 
  879. Ihas changed
  880. oldTime 
  881. curTime 
  882. coords 
  883. !)/2,\
  884. radius 
  885. N) - (
  886. Z))/2
  887. hour 
  888. minutes 
  889. secs 
  890. hourAngle 
  891. g/12 + 
  892. [/60/12 + 
  893. O/60/60/12)
  894. handVertices(
  895. I,.6,
  896. minutesAngle 
  897. /60 + 
  898. /60/60) 
  899. Wctr,
  900. 4,.9,
  901. secsAngle 
  902. $,.95,
  903. -- returns 
  904.  based on 
  905. angle 
  906. length provided
  907. Uextends a 
  908. one direction,
  909. other
  910. + (.1 * 
  911. -.5) * (2 * PI) - (PI / 2))),\ 
  912. + (.1 * 
  913. -.5) * (2 * PI) - (PI / 2))),\
  914. * (2 * PI) - (PI / 2))), \
  915. + (len * 
  916. * (2 * PI) - (PI / 2)))
  917. obligatory 
  918. handler 
  919. -- keep 
  920.  circular 
  921. sized
  922. maxside 
  923. syssuspendmessages 
  924. setTicks
  925. -- redraw 
  926. H (called 
  927. Hare lines whose names 
  928. )/2,\
  929. ) - (
  930. < 1440/2
  931. -- believe 
  932. needed 
  933. performance
  934. (i/60) * (2 * PI) - (PI / 2)
  935. + ((1-sz) * 
  936. + ((1-sz) * 
  937. )), \
  938. -- Slider control 
  939. begins here
  940. -- NOTES ABOUT IDENTIFIERS
  941. -- s___ prefix     ->
  942. function 
  943. handler used only 
  944. txClassName 
  945. c"Thumb"
  946. ___setSliderLimits 
  947. 4s___v, s___min, s___max, s___p
  948. down\
  949. loc -- flag 
  950. prevent updating 
  951. mouse 
  952. xmoved
  953. "HSliderThumb"
  954. ___slidePos(
  955. "VSliderThumb"
  956. sliderPosition 
  957. ___snapSlider\
  958. (1 - 
  959. glide 
  960. width 
  961. height 
  962.  p, s1, s2
  963. b(0,(p - s1) /(s2 - s1))
  964. thumb 
  965.             -- Another 
  966.  may be 
  967. controlling 
  968. OldMin 
  969. OldMax 
  970. j(1,(
  971. b(0,p)))
  972. "vSliderThumb"
  973. pOffset 
  974. ) * (1-p)
  975. newPos 
  976. "hSliderThumb"
  977. ) * p
  978.             -- Restore state 
  979. detentList 
  980. detents
  981. catchRange 
  982. 0 <> 
  983. ends 
  984. -- handles changing the cursor
  985. (hotSpot 
  986. >= TRUE)
  987. -- 3D's 
  988. Author 
  989. isObject("
  990. ""topicName""")
  991. topicShadow 
  992.     -- reset 
  993. sizetoPage
  994. sysReaderRightClick 
  995. -- Handle messages 
  996. menuItemSelected pName, pAlias
  997.     -- If 
  998. aliased, 
  999. Else, 
  1000. xNULL
  1001. maybePage 
  1002. If selected 
  1003. that 
  1004. f4^4^4
  1005. 1,    "j
  1006. .&,    "
  1007. minus
  1008. searchReplace
  1009. /searchReplace
  1010. 0]outLineNumber
  1011. minus
  1012. indentLevel
  1013. curLevel
  1014. subheadings
  1015. buttondoubleclick
  1016. keydown
  1017. .&+    +
  1018. source
  1019. /searchReplace
  1020. curmode
  1021. subheadings
  1022. source
  1023. operatingMode
  1024. reader
  1025. JFoperatingmode
  1026. enterpage
  1027. JFoperatingmode
  1028. author
  1029. JFoperatingmode
  1030. reader
  1031. source
  1032. textLineNumber
  1033. indentLevel
  1034. subheadings
  1035. ,%H.%
  1036. counter
  1037. indentLevel
  1038. indentLevel
  1039. outlineNumber
  1040. false
  1041. indentLevel
  1042. foundNextSibling
  1043. textLineNumber
  1044. .&+    +E
  1045. .&+    +E
  1046. topicText
  1047. limit
  1048. wordCheck
  1049. frequency
  1050. quickSort
  1051. stripPunctuation
  1052. results
  1053. buttonClick
  1054. ,%H.%
  1055. .,;:?!
  1056. stripPunctuation
  1057. s_noSwap
  1058. quicksrt
  1059. quicksort
  1060. quicksrt
  1061. s_noSwap
  1062. quicksrt
  1063. clocktime
  1064. h,min,sec
  1065. 1,!J<Y
  1066. 1,!J<Y
  1067. 333333
  1068. ?ffffff
  1069. ?hourAngle
  1070. second
  1071. secsAngle
  1072. kDcurTime
  1073. oldTime
  1074. handVertices
  1075. jDcurTime
  1076. minutesAngle
  1077. coords
  1078. radius
  1079. minute
  1080. ?clocktime
  1081. handVertices
  1082. jDcurTime
  1083. clocktime
  1084. ^vsetTicks
  1085. sized
  1086. .&,    "
  1087. C333333
  1088. .&,    "
  1089. ,!J<Y
  1090. ,%H.%
  1091. coords
  1092. setTicks
  1093.  "___setSliderLimits
  1094. false
  1095. txClassName
  1096. Thumb
  1097. buttonDown
  1098. 1,"!#
  1099. s___p
  1100. false
  1101. s___v
  1102. HSliderThumb
  1103. ___slidePos
  1104. s___max
  1105. VSliderThumb
  1106. txClassName
  1107. s___min
  1108. buttonStillDown
  1109. s___v
  1110. false
  1111. s___p
  1112. HSliderThumb
  1113. ___slidePos
  1114. s___max
  1115. VSliderThumb
  1116. txClassName
  1117. s___min
  1118. i0___snapSlider
  1119. sliderPosition
  1120. buttonUp
  1121. s___v
  1122. HSliderThumb
  1123. s___max
  1124. VSliderThumb
  1125. txClassName
  1126. s___min
  1127. glide
  1128. ___setSliderLimits
  1129. ___slidePos
  1130. sliderPosition
  1131.  "___setSliderLimits
  1132. newPos
  1133. OldMax
  1134. hSliderThumb
  1135. pOffset
  1136. group
  1137. SliderThumb
  1138. s___max
  1139. OldMin
  1140. vSliderThumb
  1141. txClassName
  1142. s___min
  1143. thumb
  1144. sliderPosition
  1145. sliderPosition
  1146. detents
  1147. detentList
  1148. ___snapSlider
  1149. .&+    +E
  1150. LXhotSpot
  1151. mouseEnter
  1152. .&+    +E
  1153. LXhotSpot
  1154. mouseLeave
  1155. topicName
  1156. recordfield "topicName"
  1157. Author
  1158. topicShadow
  1159. enterPage
  1160. .&+    +E
  1161. enterBook
  1162. reader
  1163. .&+    +E
  1164. .&+    +E
  1165. reader
  1166. maybePage
  1167. menuItemSelected
  1168. NotifyHandlers
  1169. Notify Handlers
  1170. Notify Handlers
  1171. "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.
  1172. 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.
  1173. author
  1174. reader
  1175. notifyAfter 
  1176. notifyBefore 
  1177. false
  1178. vflag
  1179. Video Placeholder
  1180. false
  1181. vflag
  1182. clock
  1183. author
  1184. curTime
  1185. minute
  1186. second
  1187. reader
  1188. author
  1189. 8,59,32
  1190. reader
  1191. 8,59,33
  1192. NotifyHandlers
  1193. OpenScript
  1194. OpenScript
  1195. OpenScript+
  1196. New OpenScript features include an IsType()  and IsObject()  functions for data validation and a FlushMessageQueue()  function to clear extraneous mouse and keyboard input. 
  1197. 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.  
  1198.  TranslateWindowMessage
  1199.  IsObject()
  1200.  Financial Functions
  1201.  IsType()
  1202.  FlushMessageQueue()
  1203. TypedVariables
  1204. Typed Variables
  1205. Typed Variables
  1206. 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.
  1207. Arrays in ToolBook can also be declared as typed data.
  1208. to handle buttonUp
  1209.     local REAL lReal
  1210.     local INT lInt
  1211.     local DWORD aDword[20]
  1212.     system STRING sFoo
  1213.     system COLOR sColor
  1214. bottomLine
  1215. topLine
  1216. in,ms
  1217. ThreeDeeRect
  1218. CommonDialogs
  1219. Common Dialogs7
  1220. Common Dialogs[
  1221. 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..."
  1222. As..."
  1223. supported in TBKDLG.DLL...
  1224. Icon (*.ico),*.ico,toolBook (*.tbk),*.tbk
  1225. File selected:
  1226. tb30dlg.DLL
  1227. filterList
  1228. OpenFileDlg
  1229. openFileDlg
  1230. Choose next book...
  1231. User Canceled.
  1232. buttonUp
  1233.     linkDLL "tb30dlg.
  1234.         STRING openFileDlg (
  1235. , INT)
  1236. filterList 
  1237. "Icon (*.ico),*.
  1238. ,toolBook (*.tbk),*.
  1239. OpenFileDlg("Choose 
  1240. 8...", NULL, 
  1241. ^, 2)
  1242. "User Canceled."
  1243.  selected:" && 
  1244. stretchBitmap
  1245. Open File...
  1246. SaveAsDlg
  1247. File selected:
  1248. tb30dlg.dll
  1249. filterList
  1250. Text file (*.txt),*.txt,toolBook (*.tbk),*.tbk
  1251. SaveAsDlg
  1252. Save Data As
  1253. User Canceled.
  1254. buttonUp
  1255.     linkDLL "tb30dlg.dll"
  1256.         STRING SaveAsDlg (
  1257. , INT)
  1258. filterList 
  1259. "Text file (*.txt),*.
  1260. ,toolBook (*.tbk),*.
  1261. i Data As", NULL, 
  1262. V, 1)
  1263. "User Canceled."
  1264. "File selected:" && 
  1265. stretchBitmap
  1266. Save As...
  1267. colorPaletteDlg
  1268. tb30dlg.dll
  1269. colorPaletteDlg
  1270. colorSample
  1271. User Canceled.
  1272. buttonUp
  1273.     linkDLL "tb30dlg.dll"
  1274.         STRING colorPaletteDlg (BYTE, 
  1275. $(0, 0, 0)
  1276. xNUll
  1277. RGBFill 
  1278. "colorSample" 
  1279. "User Canceled."
  1280. stretchBitmap
  1281. Choose Color...
  1282. FchooseFontDlg
  1283. tb30dlg.dll
  1284. fontSample
  1285. qRGBtoHLS
  1286. TBKWIN.DLL
  1287. RGBtoHLS
  1288. regular
  1289. chooseFontDlg
  1290. User Canceled.
  1291. buttonUp
  1292.     linkDLL "tb30dlg.dll"
  1293.         STRING chooseFontDlg (
  1294. :TBKWIN.
  1295. RGBtoHLS(
  1296. G("","")
  1297. "User Canceled."
  1298. "fontSample" 
  1299.         -- Uses function 
  1300. TbkWin.
  1301.         -- Convert "regular" 
  1302. style 
  1303. (Item 6 
  1304. stretchBitmap
  1305. Choose Font...
  1306. colorSample
  1307. Color Sample
  1308. fontSample
  1309. Font Sample
  1310. CommonDialogs
  1311. ButtonClick
  1312. Pages on this background are displayed in window objects elsewhere in the book.
  1313. Font Sample
  1314. CommonDialogs
  1315. ButtonClick
  1316. STARTUP GRP 
  1317. SYSTEM  INI 
  1318. WININI  W31 
  1319. BetterButtons
  1320. Better Buttons .
  1321. Better Buttons ments
  1322. New CheckBox3D  and RadioButton3D  border styles have been added, as shown in the top two object groups on this page.
  1323. All buttons also now support an enabled property, mnemonic keys, and full Windows button behavior..showed "grayed" and receives no mouse messages.  
  1324. Toggle the red "Enabled" check box to see how disabled buttons are displayed.c
  1325. stretchBitmap
  1326. Search in T&itles
  1327. stretchBitmap
  1328. Search in &Descriptions
  1329. stretchBitmap
  1330. Search in &History Records
  1331. in,ms
  1332. ThreeDeeRect
  1333. bottomLine
  1334. topLine
  1335. stretchBitmap
  1336. This P&age Only
  1337. @    L    >Q
  1338. stretchBitmap
  1339. This &Background
  1340. stretchBitmap
  1341. This B&ook
  1342. buttonDown
  1343. stretchBitmap
  1344. stretchBitmap
  1345. Status
  1346. in,ms
  1347. ThreeDeeRect
  1348. bottomLine
  1349. topLine
  1350. buttonSamples
  1351. buttonClick
  1352. buttonClick    
  1353. enabled 
  1354. "buttonSamples" 
  1355. stretchBitmap
  1356. Enabled
  1357. buttonSamples
  1358. stretchBitmap
  1359. Button
  1360. stretchBitmap
  1361. Button
  1362. stretchBitmap
  1363. Button
  1364. LineEnds
  1365. Line Ends
  1366. Line Ends
  1367. Line and curve objects now support arrow-style line ends.  
  1368. The line ends palette shown at left is used to set the style and size.
  1369. penScript support is provided with two new object properties: lineEndStyle  and lineEndSize.  The defaults are controlled through sysLineEndStyle  and sysLineEndSize...
  1370. LineEnds
  1371. Comboboxes
  1372. Comboboxess
  1373. Comboboxess
  1374. Editable and non-editable comboboxes are now available on the ToolBook object palette.
  1375. Double-click the arrow portion of the combobox to enter items at author level.
  1376. The contents can be automatically sorted using the "Sort Items" property...
  1377. one item
  1378. one item
  1379. three
  1380. seven
  1381. Betaaon
  1382. Alpha
  1383. Gamma
  1384. Delta
  1385. Epsilon#
  1386. Editable:
  1387. Non-editable:
  1388. Drag_Drop
  1389. Drag & Drop
  1390. Drag & Drop
  1391. Drag & drop functionality allows you to create highly interactive applications.
  1392. The dragImage  can be a cursor, bitmap or icon.  Dragging works at both reader and author levels, and between windows.
  1393. 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.
  1394. sourceList
  1395. resetText
  1396. buttonClick
  1397. buttonClick    
  1398. sourceList 
  1399. resetText 
  1400. Reset
  1401. Field
  1402. objectDropped
  1403. objectDropped pTarget
  1404. ptarget 
  1405. B(selectedTextLines 
  1406. Wastebasket
  1407. in,ms
  1408. ThreeDeeRect
  1409. bottomLine
  1410. topLine
  1411. sourcelist
  1412. -1,-1
  1413. FALSE
  1414. allowDrag
  1415. allowDrag
  1416. asure edge was 
  1417. xclicked
  1418. x"-1,-1"
  1419. selectedTextLines 
  1420. FALSE
  1421. three
  1422. seven
  1423. eight
  1424. resetText
  1425. three
  1426. seven
  1427. eight
  1428. 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).
  1429. An OLE object can be activated from a script by setting its action property...........
  1430. Double-click to edit Excel chartt:A
  1431. embedded,ExcelChart,,Chart
  1432. SaveToExe
  1433. title
  1434. And More...
  1435. title
  1436. And More...
  1437. This book highlights the most significant features of this release, but there are many more.  For complete information, consult the Release Notes help file.
  1438. ..m the Topics menu..
  1439. .&+    +E
  1440. .&+    +E
  1441. buttonClick
  1442. buttonClick
  1443. stretchBitmap
  1444. RichTextFormat
  1445. bottomLine
  1446. Rich Text Format
  1447. Rich Text Format
  1448. To make it easier to convert existing documents into applications, ToolBook now supports Rich Text Format (RTF) for data exchange.
  1449. Click the word processor icon below
  1450.         to view the "RichText"
  1451.                 property of the field
  1452.                 shown here.......
  1453. RTFSample
  1454. buttonClick
  1455. buttonClick
  1456. richText 
  1457. "RTFSample"
  1458. hotspot
  1459. RTFSample
  1460. INSURANCES
  1461. Medical/Dental Insurance
  1462. 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.
  1463. Life Insurance
  1464. 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 
  1465. 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 
  1466. dependent children under this plan.  Booklets on these policies are available through Personnel.
  1467. Long Term Disability Insurance
  1468. 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).
  1469. erm Disability Insurance
  1470. A voluntary long term disability insurance is available to eligible employees.  This insurance allows you 
  1471. to purchase salary continuation protection and in the event you should become totally disabled and unable 
  1472. to work, would provide you with continuing income at approximately 60% of your regular wage, at the 
  1473. time you were disabled (subject to certain restrictions and other sources of income you may be entitled to 
  1474. receive).
  1475. topLine
  1476. in,ms
  1477. ThreeDeeRect
  1478. PolypointEditing
  1479. widgetspalette
  1480. PolypointEditing
  1481. U.I. - Polypoint Editing
  1482. U.I. - Polypoint Editing
  1483. The enhanced Reshape  command allows you to add and remove vertices from angled lines, curved lines, polygons, and irregular polygons.
  1484. To edit polypoint objects at author level, select the object, choose Reshape  from the draw menu, and then:
  1485. Shift-click on a reshape handle to add a point.
  1486. Ctrl-Shift-Click on a reshape handle to delete a point..
  1487. Switch to Author Level to Edit These Objects.
  1488. Save_As_EXE
  1489. Save As .EXE.EXE
  1490. Save As .EXEEEXEsEEEEEEEEEEEE
  1491. ToolBook applications may now be saved as a self-launching executable file.
  1492. The .EXE file contains the book icon as a resource so that the icon is available for use in the Program Manager.  
  1493. The ToolBook runtime files are still required...
  1494. in,sculpted
  1495. ThreeDeeRect
  1496. bottomLine
  1497. topLine
  1498. Arrays
  1499. Arrays!
  1500. Arrays=
  1501. OpenScript now supports both single and multi-dimensional arrays.  The Fill  command can easily load data into arrays from other sources. 
  1502. 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..
  1503. stretchBitmap
  1504. Count word frequency
  1505. in,ms
  1506. ThreeDeeRect
  1507. bottomLine
  1508. topLine
  1509. results
  1510. .&+    +E
  1511. .&+    +E
  1512. results
  1513. buttonup
  1514. "results"
  1515. stretchBitmap
  1516. Clear Field Text
  1517. Arrays!
  1518. Arrays=
  1519. OpenScript now supports both single and multi-dimensional arrays.  The Fill  command can easily load data into arrays from other sources. 
  1520. In general,CLOCK   INI 
  1521. MSACCESSINI 
  1522. WINHELP INI 
  1523. MSACCESSREG 
  1524. MSAFIN
  1525. rightClick
  1526. ColorModel
  1527. viewerDrag
  1528. groupEditor
  1529. U.I. - Group Editor
  1530. U.I. - Group Editor
  1531. The group editor allows direct selection and editing of grouped objects without ungrouping.
  1532. 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
  1533. Field 1
  1534. Field 2
  1535. groupEditor
  1536. HintText
  1537. Status_bar
  1538. Reader
  1539. statusBar
  1540. enterPage
  1541. <+U!!
  1542. Reader
  1543. statusbar
  1544. leavePage
  1545. yhelpText
  1546. statusBar
  1547. mouseEnter
  1548. Cancel
  1549. yhelpText
  1550. Help Text:
  1551. xxbuttonDoubleClick
  1552. Reader
  1553. statusBar 
  1554. statusbar
  1555. helpText 
  1556. xxbuttonDoubleClick
  1557. ("Help 
  1558. xCancel
  1559. helptext
  1560. U.I. - Status Bar
  1561. U.I. - Status Bar
  1562. A Status Bar that works at both reader and author levels has been added.
  1563. 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.)
  1564. Individual components of the Status Bar can be shown or hidden.  Toggle the check boxes on this page to see how this works.s
  1565. stretchBitmap
  1566. Button
  1567. buttonUp
  1568. curObj
  1569. enterpage
  1570. -- hides 
  1571. shows portions 
  1572. the status bar
  1573. notifyafter 
  1574. objs 
  1575. curObj
  1576. StatusBar
  1577. stretchBitmap
  1578. StatusBar
  1579. StatusBox
  1580. stretchBitmap
  1581. StatusBox
  1582. StatusControls
  1583. stretchBitmap
  1584. StatusControls
  1585. StatusIndicators
  1586. stretchBitmap
  1587. StatusIndicators
  1588. A Diamond
  1589. helpText
  1590. This is a blue pie object
  1591. helpText
  1592. The Swan of Gibralter
  1593. helpText
  1594. enterpage
  1595. StatusBar
  1596. OpenScript
  1597. widgets
  1598. viewerDrag
  1599. toolpalette
  1600. leavepage
  1601. isopen 
  1602.         close 
  1603. ViewersObjects
  1604. Viewers
  1605. 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.
  1606. The next page features additional viewers uses...
  1607. borderStyle) can also be set through the Viewers  dialog box.indow (such as its borderStyle) can also be set through the Viewers  dialog box.
  1608. InstallClipartWIndow
  1609. Clipart.wbk
  1610. buttonUp
  1611. InstallClipartWIndow 
  1612. .wbk"
  1613. stretchBitmap
  1614. Tool Palette
  1615. .&+    +E
  1616. .&+    +E
  1617. Progress
  1618. thermo
  1619. percentage
  1620. buttonClick
  1621. progress cursor
  1622. buttonClick
  1623. vRef 
  1624. "Progress"
  1625.         -- initialize the thermometer
  1626. percentage 
  1627.         -- 
  1628.         -- 
  1629. currentPage 
  1630.     close 
  1631. stretchBitmap
  1632. Progress...
  1633. fPalette
  1634. sampleDialog
  1635. buttonUp
  1636. "sampleDialog" 
  1637. %modal
  1638. :    F    >Q
  1639. stretchBitmap
  1640. Dialog Box
  1641. showToolPal
  1642. toolPalette
  1643. buttonUp
  1644. stretchBitmap
  1645. Floating Palette
  1646. MoreOnFields
  1647. Auto_Script
  1648. Resources
  1649. Resource System
  1650. Resource System
  1651. 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.) 
  1652. The ToolBook resource system supports menubars, icons, cursors, color palettes, and bitmaps.  These resources are discussed on the pages that follow...
  1653. in,sculpted
  1654. ThreeDeeRect
  1655. bottomLine
  1656. topLine
  1657. Resources
  1658. Send Mail && MRU
  1659. menuBars
  1660. Menubars
  1661. Menubarsssssssss
  1662. 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.
  1663. 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.
  1664.  Assignable to any viewer
  1665.  Accelerator KeysI
  1666.  Full Cascading Menus
  1667.  Automatic Help Text
  1668. Auto_Script
  1669. Auto-Scriptons
  1670. Auto-Script
  1671. The Auto-Script feature allows the user to assign pre-defined behavior to objects without scripting.
  1672. The Auto-Script dialog can be invoked from the script editor, the right-click menus, or the properties dialog.
  1673. 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.
  1674. Cursors
  1675. Cursors
  1676. Cursors
  1677. Cursor resources can be used with the sysCursor property and as graphics in buttons.  Cursors can be imported from standard Windows .CUR files.
  1678. Click the buttons at left for examples of using cursor resources...
  1679. Move the mouse over the numbered rectangles to see new built-in ToolBook cursors.
  1680. cursor
  1681. buttonUp
  1682. ChooseResource(cursor, 
  1683. xNULL
  1684. stretchBitmap
  1685. Choose Resource...
  1686. ,%H.%
  1687. .&+    +E
  1688. buttonUp
  1689. cursor ID (103 + j)
  1690. stretchBitmap
  1691. Progress...
  1692. .&+    +E
  1693. buttonUp
  1694. stretchBitmap
  1695. Reset
  1696. Cursors
  1697. ColorModel
  1698. Color Model
  1699. Color Model
  1700. .PAL files can be imported via the resource manager and used to control palette shifting.
  1701. Objects now support full solid colors (instead of dithering to 16-colors) if the book's solidColorsEnabled   property is set to true.
  1702. The useWindowsColors property for objects allows them to use the Windows desktop colors.raw objects and backgrounds  include useWindowsColors  and sysUseWindowsColors. 
  1703. JX provides full support for 16- and 24-bit video systems.
  1704.  Palette Resources
  1705.  Control Palette Shift
  1706.  Solid-Color Objects
  1707.  UseWindowsColorsWindows Colors
  1708.  24-Bit Support
  1709. GraphicButtons
  1710. Graphic Buttons
  1711. Graphic Buttons
  1712. 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.
  1713. 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.
  1714. stretchBitmap
  1715. Status
  1716. stretchBitmap
  1717. Status
  1718. stretchBitmap
  1719. Optional
  1720. stretchBitmap
  1721. stretchBitmap
  1722. Answer A
  1723. stretchBitmap
  1724. Answer B
  1725. stretchBitmap
  1726. Answer C
  1727. bottomLine
  1728. topLine
  1729. out,none
  1730. ThreeDeeRect
  1731. GraphicButtons
  1732. DragDrop
  1733. TypedVariables
  1734. PopPedal
  1735. Graphic Buttons
  1736. FEATURESTXT 
  1737. DDDDD   TBK 
  1738. TOOLS   LCZ 
  1739. TOOLS   TXT 
  1740. TOOLSCR TXT 
  1741. ADIAPFG    
  1742. 0,0,0,0
  1743. clientOffset
  1744. Times New Roman
  1745. Arial
  1746. Times New Roman
  1747. Times New Roman
  1748. urier New
  1749. O!_#G}k
  1750. Times New Roman
  1751. Times New Roman
  1752. Arial
  1753. Times New Roman
  1754. Arial
  1755. Arial
  1756. Wingdings
  1757. Times New Roman
  1758. Arial
  1759. Times New Roman
  1760. Arial
  1761. Courier New
  1762. MS Sans Serif
  1763. okman Old Style
  1764. Arial
  1765. Times New Roman
  1766. System
  1767. MS Sans Serif
  1768. Arial
  1769. MS Sans Serif
  1770. Arial
  1771. Arial
  1772. Arial
  1773.  Sans Serif
  1774. Courier
  1775. MS Serif
  1776. Arial
  1777. MS Sans Serif
  1778. Arial
  1779. Times New Roman
  1780. Arial
  1781. MS Sans Serif
  1782. System
  1783. Arial
  1784. Arial
  1785. Arial
  1786. Arial
  1787. Arial
  1788. Times New Roman
  1789. Times New Roman
  1790. r)/2@
  1791. System
  1792. topicName
  1793. recordfield "topicName"
  1794. Author
  1795. topicShadow
  1796. enterPage
  1797. enterBook
  1798. reader
  1799. maybePage
  1800. menuItemSelected
  1801. Author 
  1802. isObject("
  1803. ""topicName""")
  1804. topicShadow 
  1805. 4 -- reset 
  1806. sysReaderRightClick 
  1807. -- Handle messages 
  1808. "Topics" 
  1809. menuItemSelected pName, pAlias
  1810. -- If 
  1811. aliased, 
  1812. Else, 
  1813. xNULL
  1814. maybePage 
  1815. If selected 
  1816. that 
  1817. Arial
  1818. Times New Roman
  1819. Arial Narrow
  1820. Arial Narrow
  1821. Times New Roman
  1822. Times New Roman
  1823. Times New Roman
  1824. MS Sans Serif
  1825. MS Sans Serif
  1826. Arial
  1827. MS Sans Serif
  1828. Times New Roman
  1829. Times New Roman
  1830. MS Sans Serif
  1831. LXhotSpot
  1832. mouseEnter
  1833. LXhotSpot
  1834. mouseLeave
  1835. topicName
  1836. recordfield "topicName"
  1837. Author
  1838. topicShadow
  1839. enterPage
  1840. enterBook
  1841. reader
  1842. maybePage
  1843. menuItemSelected
  1844. (hotSpot 
  1845. >= TRUE)
  1846. Author 
  1847. isObject("
  1848. ""topicName""")
  1849. topicShadow 
  1850. 4 -- reset 
  1851. sysReaderRightClick 
  1852. -- Handle messages 
  1853. "Topics" 
  1854. menuItemSelected pName, pAlias
  1855. -- If 
  1856. aliased, 
  1857. Else, 
  1858. xNULL
  1859. maybePage 
  1860. If selected 
  1861. that 
  1862. Page id 44
  1863. ToolBook Features Tour
  1864. toolPalette
  1865. page "widgets"
  1866. Progress
  1867. page "Progress"
  1868. Computing...
  1869. SplashScreen
  1870. page id 36
  1871. sampleDialog
  1872. page "sampleDialog"
  1873. Sample Dialog Box
  1874. Page id 46
  1875. Page"
  1876. PopPedal
  1877. Page "PopPedal"
  1878. TVpane
  1879. Page "HintText"
  1880. toolPalette
  1881. page "widgets"
  1882. DragButtons
  1883. rightSize
  1884. openWindow
  1885. openWindow
  1886.     rightSize = 
  1887. "DragButtons" 
  1888. ocurrentPage
  1889. ;) / (
  1890. sysPageUnitsPerPixel)
  1891. m) / (
  1892. ClientSize 
  1893. popuphelp
  1894. Page id 62
  1895. TitlePage
  1896. .&+    +E
  1897. reader
  1898. iris speed 1000
  1899. enterPage
  1900.         -- reset on 
  1901.         transition "iris speed 1000" 
  1902. stretchBitmap
  1903. Button
  1904. TitlePage
  1905. Progress
  1906. Viewers
  1907. GraphicsInFields
  1908. BetterButtons
  1909. Save_As_EXE
  1910. .&+    +E
  1911. enterPage
  1912. 1 -- (Was 
  1913. 4 on 
  1914. 10,14
  1915. selectChars
  1916. title
  1917. Features Tour Tour
  1918. title
  1919. Features Tour TourO
  1920. title
  1921. ToolBook 2.0)
  1922. title
  1923. ToolBook 2.0
  1924. 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..
  1925. nextPage
  1926. .&+    +E
  1927. .&+    +E
  1928. buttonClick
  1929. buttonClick
  1930. stretchBitmap
  1931. enterPage
  1932. false
  1933. viewerDrag
  1934. allowdrop
  1935. allowdrop
  1936. "viewerDrag"
  1937. nextPage
  1938. .&+    +E
  1939. .&+    +E
  1940. buttonClick
  1941. buttonClick
  1942. stretchBitmap
  1943. topicText
  1944. selfRef
  1945. enterpage
  1946. notifyBefore 
  1947. selfRef 
  1948. popupHelp
  1949. buttonClick
  1950. buttonClick
  1951. "popupHelp" 
  1952. %modal
  1953. stretchBitmap
  1954. .&+    +E
  1955. .&+    +E
  1956. buttonClick
  1957. buttonClick
  1958. stretchBitmap
  1959. false
  1960. viewerDrag
  1961. allowdrop
  1962. allowdrop
  1963. "viewerDrag"
  1964. topicShadow
  1965. topicName
  1966. allowdrop
  1967. allowdrop
  1968. enterpage
  1969. Performance
  1970. Performance
  1971. Performance
  1972. 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.
  1973. The ToolBook imaging engine has been refined for improved display performance in many scenarios..imensional arrays.
  1974. Portions of the ToolBook imaging engine have been refined for improved performance.ne have been refined for improved performance.e.. performance.
  1975.  Optimizing Compilerrrrrrrr
  1976.  Faster InterpreterI
  1977.  Imager Improvementsssssss
  1978.  Typed Data
  1979. Performance
  1980. Status_bar
  1981. MemoryModel
  1982. Memory Model
  1983. Memory Model/
  1984. The new memory model gives full access to available Windows memory up to 16 megabytes, which eliminates "Out of Local Memory" errors.
  1985. 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.
  1986.  16 MB Available Memoryyy
  1987.  64K Variable Sizee
  1988.  Expanded Stack Spacein
  1989. MemoryModel
  1990. Arrays
  1991. AuthoringUI
  1992. Authoring U.I.
  1993. Authoring U.I.3
  1994. 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.
  1995. The command window now has a "history" recall list at the top that allows you to choose from recently used commands.
  1996. The pages that follow detail additional U.I. enhancements...
  1997.  More...
  1998.  Tear-off Toolbar
  1999.  Enhanced Debugger
  2000.  Script Editor Improvements
  2001.  Command Window Historyssssssssssssssssssssssssss
  2002. AuthoringUI
  2003. Comboboxes
  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 level and click the right mouse button on each of the objects shown here.
  2009. When right-clicking the page, hold down:
  2010. Ctrl -- for background menu
  2011. Shift -- for book menu
  2012. Shift+Ctrl -- for viewer menuur menu
  2013. stretchBitmap
  2014. Button
  2015. Field 1
  2016. rightClick
  2017. !"'(*+/00
  2018. TAG     BMP 
  2019. FN      TBK 
  2020. VANILLA    
  2021. DB2     MDB 
  2022. 386SPARTPAR 
  2023. AUTOEXEC01
  2024. wwwwwwwwwwwwwwwwwwwwwwwwwwwww{
  2025. wwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  2026. wwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  2027. wwwwwwwwwx
  2028. wwwwwwwwww
  2029. wwwwwwwwwx
  2030. wwwwwwwwww
  2031. wwwwwwwwwx
  2032. wwwwwwwwww
  2033. wwwwwwwwwx
  2034. wwwwwwwwww
  2035. wwwwwwwwwx
  2036. wwwwwwwwww
  2037. wwwwwwwx
  2038. wwwwwwwp
  2039. wwwwwwx
  2040. wwwwwwp
  2041. wwwwwx
  2042. wwwwwp
  2043. wwwwwx
  2044. wwwwwp
  2045. wwwwwwx
  2046. wwwwwwp
  2047. wwwwwwwx
  2048. wwwwwwwp
  2049. wwwwwwwwwx
  2050. wwwwwwwwww
  2051. wwwwwwwwwx
  2052. wwwwwwwwww
  2053. wwwwwwwwwx
  2054. wwwwwwwwww
  2055. wwwwwwwwwx
  2056. wwwwwwwwww
  2057. wwwwwwwwwx
  2058. wwwwwwwwww
  2059. wwwwwwwwww
  2060. wwwwwwwwww
  2061. wwwwwwwwww
  2062. wwwwwwwwww
  2063. wwwwwwwwww
  2064. wwwwwwwp
  2065. wwwwwwp
  2066. wwwwwp
  2067. wwwwwp
  2068. wwwwwwp
  2069. wwwwwwwp
  2070. wwwwwwwwww
  2071. wwwwwwwwww
  2072. wwwwwwwwww
  2073. wwwwwwwwww
  2074. wwwwwwwwww
  2075. wwwwwwwwwx
  2076. wwwwwwwwww
  2077. wwwwwwwwwx
  2078. wwwwwwwwww
  2079. wwwwwwwwwx
  2080. wwwwwwwwww
  2081. wwwwwwwwwx
  2082. wwwwwwwwww
  2083. wwwwwwwwwx
  2084. wwwwwwwwww
  2085. wwwwwwwx
  2086. wwwwwwwp
  2087. wwwwwwx
  2088. wwwwwwp
  2089. wwwwwx
  2090. wwwwwp
  2091. wwwwwx
  2092. wwwwwp
  2093. wwwwwwx
  2094. wwwwwwp
  2095. wwwwwwwx
  2096. wwwwwwwp
  2097. wwwwwwwwwx
  2098. wwwwwwwwww
  2099. wwwwwwwwwx
  2100. wwwwwwwwww
  2101. wwwwwwwwwx
  2102. wwwwwwwwww
  2103. wwwwwwwwwx
  2104. wwwwwwwwww
  2105. wwwwwwwwwx
  2106. wwwwwwwwww
  2107. wwwwwwwwwx
  2108. wwwwwwwwww
  2109. wwwwwwwwwx
  2110. wwwwwwwwww
  2111. wwwwwwwwwx
  2112. wwwwwwwwww
  2113. wwwwwwwwwx
  2114. wwwwwwwwww
  2115. wwwwwwwwwx
  2116. wwwwwwwwww
  2117. wwwwx
  2118. wwwwp
  2119. wwwwwx
  2120. wwwwwp
  2121. wwwwwwx
  2122. wwwwwwp
  2123. wwwwwwx
  2124. wwwwwwp
  2125. wwwwwx
  2126. wwwwwp
  2127. wwwwx
  2128. wwwwp
  2129. wwwwwwwwwx
  2130. wwwwwwwwww
  2131. wwwwwwwwwx
  2132. wwwwwwwwww
  2133. wwwwwwwwwx
  2134. wwwwwwwwww
  2135. wwwwwwwwwx
  2136. wwwwwwwwww
  2137. wwwwwwwwwx
  2138. wwwwwwwwww
  2139. wwwwwwwwwx
  2140. wwwwwwwwwx
  2141. wwwwwwwwwx
  2142. wwwwwwwwwx
  2143. wwwwwwwwwx
  2144. wwwwx
  2145. wwwwx
  2146. wwwwx
  2147. wwwwx
  2148. wwwwx
  2149. wwwwx
  2150. wwwwwwwwwx
  2151. wwwwwwwwwx
  2152. wwwwwwwwwx
  2153. wwwwwwwwwx
  2154. wwwwwwwwwx
  2155. wwwwwwwwwx
  2156. wwwwwwwwww
  2157. wwwwwwwwwx
  2158. wwwwwwwwww
  2159. wwwwwwwwwx
  2160. wwwwwwwwww
  2161. wwwwwwwwwx
  2162. wwwwwwwwww
  2163. wwwwwwwwwx
  2164. wwwwwwwwww
  2165. wwwwx
  2166. wwwwp
  2167. wwwwx
  2168. wwwwp
  2169. wwwwx
  2170. wwwww
  2171. wwwwx
  2172. wwwww
  2173. wwwwx
  2174. wwwwp
  2175. wwwwx
  2176. wwwwp
  2177. wwwwwwwwwx
  2178. wwwwwwwwww
  2179. wwwwwwwwwx
  2180. wwwwwwwwww
  2181. wwwwwwwwwx
  2182. wwwwwwwwww
  2183. wwwwwwwwwx
  2184. wwwwwwwwww
  2185. wwwwwwwwwx
  2186. wwwwwwwwww
  2187. wwwwwwwwwx
  2188. wwwwwwwwww
  2189. wwwwwwwwwx
  2190. wwwwwwwwww
  2191. wwwwwwwwwx
  2192. wwwwwwwwww
  2193. wwwwwwwwwx
  2194. wwwwwwwwww
  2195. wwwwwwwwwx
  2196. wwwwwwwwww
  2197. wwwwwwwwwx
  2198. wwwwwwwwww
  2199. wwwwwwwwwx
  2200. wwwwwwwwww
  2201. wwwwwwwwwx
  2202. wwwwwwwwww
  2203. wwwwwwwwwx
  2204. wwwwwwwwww
  2205. wwwwwwwwwx
  2206. wwwwwwwwww
  2207. wwwwwwwwwx
  2208. wwwwwwwwww
  2209. wwwwwwwwwx
  2210. wwwwwwwwww
  2211. wwwwwwwwwx
  2212. wwwwwwwwww
  2213. wwwwwwwwwx
  2214. wwwwwwwwww
  2215. wwwwwwwwwx
  2216. wwwwwwwwww
  2217. wwwwwwwwwx
  2218. wwwwwwwwww
  2219. wwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  2220. wwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  2221. wwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  2222. wwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  2223. wwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  2224. wwwwwwwwwwwwwwwwwwwwwwwwwwwwp
  2225. wwwww
  2226. wwwww
  2227. wwwww
  2228. wwwww
  2229. wwxpwp
  2230. xwwpww
  2231. ppwpw
  2232. ppwpw
  2233. ExcelChart
  2234. Chart
  2235. Page &p
  2236. CTOOLBOOK
  2237. DDEDATA.XLS0
  2238. Helv1
  2239. Helv1
  2240. ALCB88CFFA
  2241. Sales
  2242. ALCB89CFFA
  2243. ALCB8ACFFA
  2244. Sales by country (in thousands)'
  2245. METAFILEPICT
  2246. "Helv
  2247. 5000l
  2248. 10000
  2249. 15000
  2250. 20000
  2251. 25000
  2252. "System
  2253. "Helv
  2254. Sales by country (in thousands)
  2255.