home *** CD-ROM | disk | FTP | other *** search
/ Asymetrix Demo / Asymetrix.iso / prg / mtb30 / samples / widgets.tbk (.txt) < prev   
Encoding:
Asymetrix ToolBook File  |  1994-07-11  |  795.0 KB  |  13,070 lines

  1. Graph widgets
  2. 143,144,145,146
  3. widgetIDs
  4. Simple Bar Chart
  5. Graph widgets
  6. chapter
  7. chapterID
  8. FALSE
  9. visited
  10. Group id 14 of Page id 143,Line id 19 of Page id 143
  11. widgets
  12. Use this widget to show up to 6 values. The buttons on this page all exercise the widget by setting its properties to the desired values.
  13. Set plotValues  of the group to two numbers. The numbers will be automatically normalized to add up to 100%. The second number will be shown in the "exploded" slice.
  14. Example: set plotValues of group "Chart One" to "10000,2000"
  15. Note that the chart will still be plotted correctly even if it is not perfectly round. However, since the size of the pies is calculated by angle, not by surface, this can lead to a distorted view of the data.
  16. Set plotOrigin  of the group to a value in degrees which must be a number from 0 to 360, and a second number specifying the distance (in ToolBook units) by which to move the exploded slice. 
  17. Example: set plotOrigin of group "Chart One" to 45, 150
  18. Note: The chart gets redrawn with the current values when you change the plotOrigin.
  19. Set plotColors  of the group to HLS color values or color names for the two slices.
  20.  Example: set plotColors of group "Chart One" to "green, 78,56,35"
  21. plotValues
  22. chart one
  23. buttonUp
  24. plotValues 
  25. "chart one" 
  26. 1,2,3,4,5,6
  27. plotValues
  28. chart one
  29. buttonUp
  30. plotValues 
  31. "chart one" 
  32. plotValues
  33. chart one
  34. buttonUp
  35. plotValues 
  36. "chart one" 
  37. 2345, 1678, 1234
  38. plotColors
  39. blue,red,green,magenta,cyan,yellow
  40. chart one
  41. buttonUp
  42. plotColors 
  43. "chart one" 
  44. Color Scheme 1
  45. plotColors
  46. magenta,cyan,yellow,red,blue,green
  47. chart one
  48. buttonUp
  49. plotColors 
  50. "chart one" 
  51. Color Scheme 2
  52. .&+    +E
  53. .&+    +E
  54. plotValues
  55. plotValues
  56. chart one
  57. oldCursor
  58. plotValues
  59. tempVals
  60. chartObj
  61. buttonUp
  62. oldCursor 
  63.     -- This example recycles the current data 
  64. shown 
  65.     -- chart 
  66. {. In a real 
  67.  , you would 
  68.     -- some other 
  69.     -- Get 
  70. [bar height, store 
  71. display 
  72. minimum
  73.     chartObj = 
  74. yone"
  75.     plotValues = 
  76.     barCount = 
  77. tempVals 
  78.     -- Now 
  79. animation
  80.         v = 
  81. v < 0
  82.             incVal = -0.1
  83. Animate
  84. plotValues
  85. chart one
  86. buttonUp
  87. buttonDoubleClick
  88. plotValues 
  89. "chart one" 
  90. ZData
  91. (200) - 100 
  92. 100,-6,13,-60,-37,71
  93. plotValues
  94. chart one
  95. buttonUp
  96. plotValues 
  97. "chart one" 
  98. 0.1, 0.2, 0.3, 0.4, 0.5, 0.6
  99. plotValues
  100. chart one
  101. buttonUp
  102. plotValues 
  103. "chart one" 
  104. .1, -.5
  105. plotValues
  106. chart one
  107. buttonUp
  108. plotValues 
  109. "chart one" 
  110. 23.45, 16.78, 12.34
  111. Chart one
  112. 1,0.7155650319829424,0.5262260127931769
  113. defValues
  114. barWeight
  115. BarChart
  116. tbk_wid_name
  117. PlotValues
  118. PlotWeight
  119. PlotColors
  120. tbk_wid_props
  121. tbk_wid_values
  122. myPlotWeight
  123. magenta,cyan,yellow,red,blue,green
  124. myPlotColors
  125. plotWeight
  126. Chart one
  127. buttonUp
  128. plotWeight 
  129. "Chart one" 
  130. Bar Weight::
  131. enterPage
  132. author
  133. reader
  134. Simple Line Chart
  135. Graph widgets
  136. chapter
  137. chapterID
  138. FALSE
  139. visited
  140. Group id 23 of Page id 144
  141. widgets
  142. This widgets plots up to 6 series of up to 25 points each. Just set its plotValues property to the data you want. Other properties control appearance details.
  143. Set plotValues  of the chart to a string containing as many as 6 textlines containing up to 25 numbers each. Values should be floating point numbers between -1 and 1, or any number. If a value exceeds -1 or 1, the values in the series will be normalized so that the highest one is assumed to be as high as the chart will allow. You can use any number of values but at least 2 and no more than 25 in any textline of the data.
  144. Example: set plotValues of group "Chart One" to "100,200,400,200" & CRLF & "123,345,523,234"
  145.   Set plotWeight  of the group to a relative thickness for the lines. This should be a number between 1 and 100.
  146. Example: set plotWeigth of group "Chart One" to 60
  147. Note: The chart gets redrawn with the current values when you change the plotWeight.
  148.  Set plotColors  of the group to up to 6 HLS color values or color names.
  149.  Example: set plotColors of group "Chart One" to "green,magenta,red,blue, 34,56,75, 78,56,35"
  150. The line chart widget does not include marker lines. However, the bounds of the widget effectively define the plotting area, and the y = 0 line is a virtual horizontal line that goes exactly through the middle of the widget. The plotting area gets automatically hidden or shown when switching from reader to author level.....
  151. plotColors
  152. blue,red,green,magenta,cyan,yellow
  153. chart one
  154. buttonUp
  155. plotColors 
  156. "chart one" 
  157. Color Scheme 1
  158. plotColors
  159. magenta,cyan,yellow,red,blue,green
  160. chart one
  161. buttonUp
  162. plotColors 
  163. "chart one" 
  164. Color Scheme 2
  165. Plot random data
  166. plotValues
  167. chart one
  168. data set 1
  169. buttonClick
  170. buttonClick
  171. plotValues 
  172. "chart one" 
  173. "data 
  174. Plot data shown below
  175. ,%H.%
  176. plotValues
  177. Chart one
  178. buttonUp
  179. Zdata
  180. (i / 4) 
  181. plotValues 
  182. "Chart one" 
  183. Plot y = sin(x) 
  184. Data set 1
  185. SetRandomData
  186. SetRandomData
  187. data 
  188. numPoints 
  189. (24)+ 1
  190. numSets 
  191. i > 1
  192. CRLF 
  193. (200) - 100
  194. j > 1
  195.  43, 3, -39, -97, -81, -27
  196.  -70, -66, 98, -10, -76, -99
  197.  -98, -24, 7, 15, 21, 22
  198.  -66, 33, -9, -29, -88, 22
  199.  57, 61, 4, -39, 76, 46
  200.  92, 86, 8, -71, -7, -52 -90, 62, -66, -875, -11, 26, 42, -90, -42, -47, -18, 80, 43, 46
  201.  80, -21, -20, 81, -38, -22, 15, -29, 47, 50, 48, 48, -72, -59, -45, 37, 839, 25, 78, 88, -60, 56 -48, 79, -53, -70, -74, 87, -83, -908, 7
  202.  -41, -56, -80, -78, 42, 69, 35, 64, -98, -1, 21, 88, -41, 22, 50, 75, 83, 67, 22, -39
  203.  57, -69, 9, 38, -21, 99, -79, -17, -94, 38, -48, -66, -54, -62, 73, 53, -90, -3, -88, 93
  204. AsetRandomData
  205. data set 1
  206. plot random data
  207. buttonClick
  208. buttonClick
  209. setRandomData 
  210. "data 
  211. B"plot 
  212. Randomize the data
  213. plotWeight
  214. Chart one
  215. buttonUp
  216. plotWeight 
  217. "Chart one" 
  218. Chart one
  219. barWeight
  220.  43, 3, -39, -97, -81, -27
  221.  -70, -66, 98, -10, -76, -99
  222.  -98, -24, 7, 15, 21, 22
  223.  -66, 33, -9, -29, -88, 22
  224.  57, 61, 4, -39, 76, 46
  225.  92, 86, 8, -71, -7, -52
  226. defValues
  227. LineChart
  228. tbk_wid_name
  229. PlotValues
  230. PlotWeight
  231. PlotColors
  232. tbk_wid_props
  233. tbk_wid_values
  234. magenta,cyan,yellow,red,blue,green
  235. myPlotColors
  236. myPlotWeight
  237. Plot Weight:
  238. enterPage
  239. author
  240. reader
  241. Pie Chart
  242. Graph widgets
  243. chapter
  244. chapterID
  245. visited
  246. Group id 7 of Page id 145
  247. widgets
  248. This pie chart can plot up to 6 different values. The various buttons on this page change properties of the widget.
  249. Set plotValues  of the group to up to 6 numbers. The numbers will be automatically normalized to add up to 100%. You can use any number of values but at least 2 and no more than 6 (to show more values, see below.) 
  250. Example: set plotValues of group "Chart One" to "1000,2000,4000,2000"
  251. Note that the chart will still be plotted correctly even if it is not perfectly round. However, since the size of the pies is calculated by angle, not by surface, this can lead to a distorted view of the data.
  252.  Set plotOrigin  of the group to a value in degrees which must be a number from 0 to 360. 
  253. Example: set plotOrigin of group "Chart One" to 45
  254. Note: The chart gets redrawn with the current values when you change the plotOrigin.
  255. Set plotColors  of the group to up to 6 HLS color values or color names.
  256.  Example: set plotColors of group "Chart One" to "green,magenta,red,blue, 34,56,75, 78,56,35"
  257. To plot more than 6 values, select the group, double-click it to select one of the pie objects inside, and use the clipboard to copy and paste as many copies of the pie object as you need inside the group. Set the color of the pies as you go, or set the plotColors  property to your liking. Note that adding pies to this widget will slow it down..
  258. Chart One
  259. X    j    6
  260. Claude
  261. authorName
  262. startangle
  263. false
  264. fullpie
  265. zeroAngle
  266.  6083, 4186, 5092, 9511, 3934, 3375
  267. defValues
  268. 1540.5
  269. vRadius
  270. yCenter
  271. 2287.5
  272. xCenter
  273. PieChart
  274. tbk_wid_name
  275. PlotValues
  276. PlotOrigin
  277. PlotColors
  278. tbk_wid_props
  279. tbk_wid_values
  280. myPlotOrigin
  281. magenta,cyan,yellow,red,blue,green
  282. myPlotColors
  283. plotValues
  284. chart one
  285. buttonUp
  286. -$,    #>
  287. buttonDoubleClick
  288. plotValues 
  289. "chart one" 
  290. Zdata
  291. (5) + 1
  292.  6083, 4186, 5092, 9511, 3934, 3375
  293. plotValues
  294. chart one
  295. buttonUp
  296. buttonDoubleClick
  297. plotValues 
  298. "chart one" 
  299. Zdata
  300. (5) + 1
  301. (10) 
  302. 10,6,1,7,10
  303. plotValues
  304. chart one
  305. buttonUp
  306. buttonDoubleClick
  307. plotValues 
  308. "chart one" 
  309. Zdata
  310. (5) + 1
  311. (10) / 10
  312. %" 0.0"
  313.  0.9, 0.9, 0.5, 0.6, 0.8, 0.2
  314. chart one
  315. plotOrigin
  316. buttonUp
  317. plotOrigin 
  318. "chart one" 
  319. chart one
  320. plotOrigin
  321. buttonUp
  322. plotOrigin 
  323. "chart one" 
  324. chart one
  325. plotOrigin
  326. buttonUp
  327. plotOrigin 
  328. "chart one" 
  329. chart one
  330. plotOrigin
  331. buttonUp
  332. plotOrigin 
  333. "chart one" 
  334. chart one
  335. plotOrigin
  336. buttonUp
  337. plotOrigin 
  338. "chart one" 
  339. plotColors
  340. blue,red,green,magenta,cyan,yellow
  341. chart one
  342. buttonUp
  343. plotColors 
  344. "chart one" 
  345. Color Scheme 1
  346. plotColors
  347. magenta,cyan,yellow,red,blue,green
  348. chart one
  349. buttonUp
  350. plotColors 
  351. "chart one" 
  352. Color Scheme 2
  353. .&+    +E
  354. .&+    +E
  355. Chart One
  356. plotOrigin
  357. buttonUp
  358. plotOrigin 
  359. "Chart One" 
  360. FALSE
  361. Exploded pie chart
  362. Graph widgets
  363. chapter
  364. chapterID
  365. FALSE
  366. visited
  367. Group id 3 of Page id 146
  368. widgets
  369. This pie chart shows two values only. One of the values gets plotted as an "exploded" wedge. The animation examples simply set properties of the widget.
  370. Set plotValues  of the group to two numbers. The numbers will be automatically normalized to add up to 100%. The second number will be shown in the "exploded" slice.
  371. Example: set plotValues of group "Chart One" to "10000,2000"
  372. Note that the chart will still be plotted correctly even if it is not perfectly round. However, since the size of the pies is calculated by angle, not by surface, this can lead to a distorted view of the data.
  373. Set plotOrigin  of the group to a value in degrees which must be a number from 0 to 360, and a second number specifying the distance (in ToolBook units) by which to move the exploded slice. 
  374. Example: set plotOrigin of group "Chart One" to 45, 150
  375. Note: The chart gets redrawn with the current values when you change the plotOrigin.
  376. Set plotColors  of the group to HLS color values or color names for the two slices.
  377.  Example: set plotColors of group "Chart One" to "green, 78,56,35"
  378. Chart One
  379. explodeBy
  380. Claude
  381. authorName
  382. startangle
  383. false
  384. fullpie
  385. zeroAngle
  386. defValues
  387. 1540.5
  388. vRadius
  389. yCenter
  390. 2287.5
  391. xCenter
  392. ExplodedPieChart
  393. tbk_wid_name
  394. PlotValues
  395. PlotOrigin
  396. PlotColors
  397. tbk_wid_props
  398. tbk_wid_values
  399. blue,red,green,magenta,cyan,yellow
  400. myPlotColors
  401. plotValues
  402. chart one
  403. plotOrigin
  404. buttonUp
  405. plotValues 
  406. "chart one" 
  407. plotOrigin 
  408. 150,240
  409. plotValues
  410. chart one
  411. buttonUp
  412. plotValues 
  413. "chart one" 
  414. plotValues
  415. chart one
  416. buttonUp
  417. chart one
  418. plotOrigin
  419. buttonDoubleClick
  420. plotValues 
  421. "chart one" 
  422. Zdata
  423. (10) 
  424. plotOrigin 
  425. (360 - 1), 
  426. (180) + 120
  427. chart one
  428. plotOrigin
  429. buttonUp
  430. plotOrigin 
  431. "chart one" 
  432. chart one
  433. plotOrigin
  434. buttonUp
  435. plotOrigin 
  436. "chart one" 
  437. chart one
  438. plotOrigin
  439. buttonUp
  440. plotOrigin 
  441. "chart one" 
  442. chart one
  443. plotOrigin
  444. buttonUp
  445. plotOrigin 
  446. "chart one" 
  447. chart one
  448. plotOrigin
  449. buttonUp
  450. plotOrigin 
  451. "chart one" 
  452. plotColors
  453. blue,red,green,magenta,cyan,yellow
  454. chart one
  455. buttonUp
  456. plotColors 
  457. "chart one" 
  458. Color Scheme 1
  459. plotColors
  460. magenta,cyan,yellow,red,blue,green
  461. chart one
  462. buttonUp
  463. plotColors 
  464. "chart one" 
  465. Color Scheme 2
  466. .&+    +E
  467. .&+    +E
  468. Chart One
  469. plotOrigin
  470. buttonUp
  471. plotOrigin 
  472. "Chart One" 
  473. .&+    +E
  474. .&+    +E
  475. false
  476. Chart One
  477. plotOrigin
  478. buttonUp
  479. odone 
  480. plotOrigin 
  481. "Chart One" 
  482. i,i*2
  483. Animate
  484. .&+    +E
  485. .&+    +E
  486. explodeAngle
  487. false
  488. Chart One
  489. plotOrigin
  490. plotOrigin
  491. buttonUp
  492. odone 
  493. explodeAngle 
  494. plotOrigin 
  495. "Chart One"
  496. false
  497. Animate
  498. Select Topic
  499. Alpha Keyboard
  500. copyDialog
  501. copyDialog
  502. cBRef
  503. initDialog
  504. keyChar
  505. initDialog textString
  506. cBRef 
  507. comboBox "copyDialog" 
  508. dropDownItems 
  509. keyEnter
  510. buttonClick 
  511. B"OK" 
  512. FALSE
  513. visited
  514. Select Widget
  515. s_currentCopy
  516. copyDialog
  517. buttonClick
  518. keyChar
  519. buttonClick
  520. 4s_currentCopy
  521. comboBox "copyDialog"
  522.         close 
  523. keyEnter -- 
  524. enter 
  525. %alias 
  526. spacebar 
  527. buttonclick
  528. FALSE
  529. copyDialog
  530. Group "Date"ageName"tons"er"ns"ield Widgets
  531. Slider Widgets
  532. CBT Widgets
  533. Keyboards
  534. Miscellaneous3
  535. Group "Date"
  536. Group "Integer"
  537. Group "Time"
  538. Field "autoTime w/ timer"
  539. Field "LeaveField_Whitespace"
  540. der Widgetsdgets
  541. Cancel
  542. s_currentTopic
  543. copyDialog
  544. buttonClick
  545. buttonClick
  546. 4s_currentTopic
  547. "copyDialog"
  548.         close 
  549. Cancel
  550. copyDialog
  551. Useful Patterns
  552. Scale Slider
  553. Simple Bar Chart
  554. Calendar
  555. Data widgets
  556. chapter
  557. chapterID
  558. Group id 61 of Page id 80
  559. widgets
  560. FALSE
  561. visited
  562. A calendar that keeps itself current.
  563. This widget automatically shows the current date, and can be set to show any month in the years 1700 to 2100. Enough functionality is provided to make the scripts easily extensible.
  564. calendar
  565. calendar
  566. tbk_wid_name
  567. field "23"
  568. resetObj
  569. frame
  570. calYear
  571. HSbuildcal
  572. frame
  573. whatDate
  574. sCurrentMonth
  575. m d y
  576.     sCurrentYear
  577. selectChange
  578. selectChange whatText
  579. 4sCurrentMonth, sCurrentYear
  580. whatDate = 
  581. %"m d y"
  582. = TRUE
  583. buildcal 
  584. "frame"
  585. = FALSE
  586. 1994c
  587.     d    1700
  588. calMonth
  589. HSbuildcal
  590. frame
  591. whatDate
  592. sCurrentMonth
  593. m d y
  594.     sCurrentYear
  595. selectChange
  596. selectChange whatMonth
  597. 4sCurrentMonth, sCurrentYear
  598. whatDate = 
  599. %"m d y"
  600. = TRUE
  601. buildcal 
  602. "frame"
  603. = FALSE
  604. Junel            4    109
  605. January            1
  606. February            2
  607. March            3
  608. April            4
  609. May            5
  610. June            6
  611. July            7
  612. August            8
  613. September            9
  614. October            10
  615. November            11
  616. December            124
  617. today
  618. HSbuildcal
  619. m,d,y
  620. displayDate
  621. sCurrentDay
  622. sCurrentMonth
  623. mydate
  624.     sCurrentYear
  625. buttonClick
  626. buttonClick
  627. 4sCurrentMonth, sCurrentYear, sCurrentDay
  628. mydate = 
  629. %"m,d,y"
  630. = TRUE
  631. displayDate 
  632. buildcal 
  633. = FALSE
  634. Field id 83 of Page id 2
  635. lastObj
  636. strokcolor
  637. strokcolor
  638. enterPage
  639. FALSE
  640. Scale Slider
  641. Slider widgets
  642. chapter
  643. chapterID
  644. FALSE
  645. visited
  646. Field id 67 of Page id 81,Group id 66 of Page id 81
  647. widgets
  648. A sophisticated slider with a number of properties you can edit..
  649. The slider widget below sends the following messages:
  650. startSliderMove: sent when the user first clicks on the thumb
  651. sliderMove: sent constantly as the slider is being dragged
  652. endSliderMove: sent when the user releases the thumb.
  653. Each of these messages includes the current position of the slider thumb as its parameter.
  654. You can set or get the following properties of the slider.
  655. sliderMin: Minimum value for the slider
  656. sliderMax: Maximum value for the slider
  657. sliderPos: Position of the thumb
  658. numTics: Number of tic marks that appear on the scale (max 50)
  659. tallTicSpacing: Frequency of tall tics on the scale. Each tall tic has a label below it. (up to 10 labels)
  660. These properties are easily accessed through the property browser in the tools30.sbk. box.
  661. slider
  662. mySliderMin
  663. mySliderMax
  664. mysliderPos
  665. myNumTics
  666. scaledSlider
  667. tbk_wid_name
  668. numTics
  669. tallTicSpacing
  670. sliderMin
  671. sliderMax
  672. sliderPos
  673. tbk_wid_props
  674. tbk_wid_values
  675. myTallTicSpacing
  676. thumb
  677. hSliderThumb
  678. txClassName
  679. button id 103 of page id 15
  680. glide
  681. width
  682. false
  683. hilight
  684. myTrackPos
  685. Shuttle
  686. helptext
  687. Button
  688. 100066666666666673
  689. 200033333333333344
  690. 30000000000000001e-014
  691. 40006666666666669
  692. 50003333333333336
  693. 60000000000000001
  694. 10000
  695. emitter
  696. #00.00
  697. sliderMove
  698. notifyAfter sliderMove pos
  699. arbitrary precision, comment the 
  700. adjust 
  701. zeros 
  702. tpoint
  703. %"#00.00"
  704. integers
  705. scale_emitter
  706. tbk_wid_name
  707.  49.68569620253169
  708. The field below uses a notify handler to trap the sliderMove message.
  709. startSliderMove
  710. sliderMove
  711. endSliderMove
  712. sliderMove
  713. FALSE
  714. Printer Resolution
  715. FALSE
  716. visited
  717. Data widgets
  718. chapter
  719. chapterID
  720. Button id 0 of Page id 86
  721. widgets
  722. This widget can find out the resolution of the printer
  723. Windows allows us to learn about the way a device displays information by creating an "Information Context". We use the API calls "createIC" and "getDeviceCaps" with the name of the printer (retrieved from the win.ini). This method is capable of finding out just about anything you want to know about your printer or your display monitor.your display monitor.
  724. PrinterRes
  725. tbk_wid_name
  726. &Printer Resolution
  727. FALSE
  728. International time and date
  729. Data widgets
  730. chapter
  731. chapterID
  732. FALSE
  733. visited
  734. Field id 3 of Page id 141,Field id 2 of Page id 141
  735. widgets
  736. These fields display the current date and time in the current international format.
  737. These widgets are just like the previous "Auto Date" and "Auto Time" widgets except that they determine their formats by referring to the sysIDate and sysITime international system properties.
  738. autoDate
  739. myDate
  740. dd/mm/yy
  741. yy/mm/dd
  742. mm/dd/yy
  743. enterPage
  744. notifyBefore 
  745.     myDate = 
  746. sysIDate
  747. %"dd/mm/yy"
  748. %"yy/mm/dd"
  749. %"mm/dd/yy"
  750. autoDate
  751. tbk_wid_name
  752. format
  753. borderStyle
  754. tbk_wid_props
  755. list,none,rectangle,shadowed,inset,raised
  756. tbk_wid_values
  757. mm/dd/yy
  758. prop_format
  759. 20/06/9440, 1993
  760. autoTime
  761. SetTimer
  762. widTimerStart
  763. KillTimer
  764. widTimerEnd
  765. period
  766. hfwidTimerStart
  767. clockTick
  768. :timerID
  769. enterPage
  770. widTimerEnd
  771. :timerID
  772. leavePage
  773. hh24:min:sec
  774. clockTick
  775. h:min:sec
  776. :timerID
  777. clockTick
  778. notifyBefore 
  779.     linkDLL "user"
  780.         WORD widTimerStart=SetTimer(
  781. ,DWORD)
  782. +End = KillTimer(
  783.     translateWindowMessage 
  784. windowHandle 
  785.         on 0x0113 
  786. clockTick 
  787. otimerID 
  788. operiod * 1000, 0)
  789. notifyAfter 
  790. widTimerEnd(
  791.     unlinkDLL "
  792. hWnd, msg, 
  793. sysITime = 1
  794. %"hh24:
  795. j:sec"
  796. autoTime
  797. tbk_wid_name
  798. format
  799. borderStyle
  800. period
  801. tbk_wid_props
  802. list,none,rectangle,shadowed,inset,raised
  803. tbk_wid_values
  804. h:min:sec AMPM
  805. prop_format
  806. period
  807. timerID
  808. 16:23:09PMM
  809. International date:
  810. International time:
  811. enterPage
  812. leavePage
  813. FALSE
  814. <+U!8
  815. Use this command to edit a widget.
  816. Clear the check marks from the table of contents and all the topic pages.
  817. widgetSchmidget
  818. false
  819. Use this command to check the properties of a widget.
  820. Clear Chec&ks
  821. object
  822. E&dit Widget Properties...
  823. splash
  824. FALSE
  825. statusBar
  826. Contents
  827. checkWids
  828. s_widFirstFlag
  829. readerFix
  830. resetChecks
  831. :widHelp
  832. widgetHelp
  833. s_backMessageSent
  834. book outline
  835. C&heck Widget...
  836. enterApplication
  837. leaveApplication
  838. s_widFirstFlag
  839. .&,    "
  840. .&,    "
  841. contentBar
  842. Widget Label
  843. Bwidgets
  844. Bwidgets
  845. Widget:
  846. tbk_wid_name
  847. Widgets:
  848. enterPage
  849. checkWids
  850. reader
  851. newViewer
  852. widgetSchmidget
  853. FALSE
  854. author
  855. myPaste
  856. localWids
  857. Bwidgets
  858. CopyAll
  859. myCopy
  860. tbk_wid_name
  861. Object
  862. enterMenu
  863. Author
  864. previous
  865. nextBG
  866. stringResource
  867. previousBG
  868. ainitPage
  869. widgetHelp
  870. HelpIntro
  871. menuItemSelected
  872. s_backMessageSent
  873. leavePage
  874. s_backMessageSent
  875. You are all the way back.
  876. contentBar
  877. keyDown
  878. contentBar
  879. keyUp
  880. authorFix
  881. book outline
  882. author
  883. book outline
  884. readerFix
  885. reader
  886. statusBar
  887. initPage
  888. w,    #>
  889. ,%H.%
  890. w,    #>
  891. widObs
  892. You can paste it into another ToolBook application.
  893. initDialog
  894. contentBar
  895. s_currentCopy
  896. copyDialog
  897. stringResource
  898. Bwidgets
  899. The widget
  900. tbk_wid_name
  901. CopyWidget
  902. has been copied to the clipboard.
  903. myCopy
  904. .&+    +E
  905. .&+    +E
  906. BadPaste
  907. You must use the authoring version of ToolBook to paste in new widgets.
  908. stringResource
  909. widgetSchmidget
  910. ainitPage
  911. newWidget
  912. myPaste
  913. have been copied to the clipboard.
  914. You can paste them into another ToolBook application.
  915. Bwidgets
  916. The widgets of this page
  917. copyAll
  918. table Of Contents
  919. tableofcontents
  920. updatechecks
  921. tableOfContents
  922. .&+    +E
  923. w,    "V
  924. .&+    +E
  925. .&+    +E
  926. .&+    +E
  927. .&+    +E
  928. w,    "V
  929. .&+    +E
  930. cancel
  931. 7WrealName
  932. g)updateTopics
  933. widPage
  934. contentBar
  935. NeedHeading
  936. s_currentTopic
  937. book outline
  938. nameOfWidget
  939. y5chapter
  940. Topics
  941. ????????
  942. comboRef
  943. stringResource
  944. noName
  945. topics
  946. heading
  947. chapterID
  948. Select Topic
  949. newName
  950. select topic
  951. miscellaneous
  952. myPageList
  953. TooManyWidgets
  954. autoPageName
  955. widgetIDs
  956. newWidget
  957. splash
  958. about
  959. stringResource
  960. widgetHelp
  961. statusBar
  962. mouseEnter
  963. statusBar
  964. mouseLeave
  965. ,%H.%
  966. 8initDLG
  967. reader
  968. tempWid
  969. group
  970. initDialog
  971. locWids
  972. needWidgetToEdit
  973. s_currentCopy
  974. copyDialog
  975. widgetProperties
  976. stringResource
  977. Bwidgets
  978. Bwidgets
  979. ChooseWidgetToEdit
  980. untitled
  981. widgetSchmidget
  982. ,%H.%
  983. w,    #?
  984. w,    #?
  985. 1,    "Q
  986. 1,    "Q
  987. ,%H.%
  988. 1,    #>
  989. ,%H.%
  990. Cancel
  991. needWidget
  992. askTWName
  993. POtbk_wid_props
  994. wName
  995. rptbk_wid_values
  996. ChooseWidgetToCheck
  997. to set
  998. temp2
  999. group
  1000. s_currentCopy
  1001. learnProps
  1002. copyDialog
  1003. tabStops
  1004. setProps
  1005. Bwidgets
  1006. Bwidgets
  1007. noPubProp
  1008. initDialog
  1009. tbk_wid_name
  1010. tbk_wid_name
  1011. stringResource
  1012. convToSet
  1013. Any data accepted
  1014. checkWids
  1015. .&+    +E
  1016. ,%H.%
  1017. .&+    +E
  1018. FALSE
  1019. Cvisited
  1020. topics
  1021. Table of Contents
  1022. TableofContents
  1023. updateChecks
  1024. resetChecks
  1025.  9@darkBlue
  1026. Please enter a widget name for the object.
  1027. Please copy a widget to the clipboard before performing this operation.
  1028. No, don't do it
  1029. NeedHeading
  1030. about
  1031. Please either delete some of this topic's widgets or create a new topic.
  1032. You can set the properties of this widget in the left-hand column
  1033. Do you want to repage the book now, or wait until you are done adding and clearing widgets and topics?
  1034. Please either choose a topic or create a new one.
  1035. learnProps
  1036. If you want to use this page, paste the widget from author mode.
  1037. NoName
  1038. Please choose a widget in the outline field that you want to delete.
  1039. In Reader Mode:
  1040. ver. 1.01
  1041. What is the name of your widget?
  1042. NoDont
  1043. Sorry, this feature is not yet implemented.
  1044. What the clipboard contains is not a widget, it is probably text.
  1045. This topic already has the maximum allowable number of widgets (20).
  1046. MustCreatetopicName
  1047. Repage
  1048. Clearing the book will cause the irretrievable loss of data.
  1049. Topics are at the outer level of the outline and widgets are at
  1050. ChooseWidget
  1051. You need a widget to check. Navigate to the widget you want and try again.
  1052. askTWName
  1053. This object doesn't have it's tbk_wid_name property set.
  1054. button, or double click the chosen textline.
  1055. nameOftopic
  1056. Are you sure you want to do this?
  1057. clearTopic
  1058. to reset various structures in the book. You can also clear out the whole
  1059. To continue, please delete some of these topics.
  1060. Yes, I'm Sure
  1061. the structure of the book. You can add and delete topics and widgets.
  1062. YesSure
  1063. clearBookWarning
  1064. NotImplemented
  1065. No help yet for this item.
  1066. convToSet
  1067. This widget has no published properties
  1068. selectNotBGRF
  1069. needWidgetToEdit
  1070. the inner level. Choose a topic or a widget and click on the "Go"
  1071. NoHelp
  1072. HelpIntro
  1073. Use the outline to navigate to any topic or widget.
  1074. TopicToDelete
  1075. Intro to Widgets
  1076. wName
  1077. Error occurred in string fetch, unknown key word.
  1078. Please select an object not on the background and not a recordField.
  1079. BadPaste
  1080. can't create this widget.
  1081. noPubProp
  1082. To learn more about these user properties, see the widgets help in this book.
  1083. (tbk_wid_props and tbk_wid_values) associated with it.
  1084. Select a Widget To Copy
  1085. WidgetNotTopic
  1086. TooManyTopics
  1087. nameOfWidget
  1088. You can rearrange the outline by dragging textlines up and down.
  1089. to the type in the right-hand column:
  1090. What is the name of your new topic?
  1091. LastWidget
  1092. This book already has the maximum allowable number of topics (16).
  1093. repage
  1094. For best results, check the "Exclude Background Fields" in the default dialog box that will appear.
  1095. Please pick a widget to clear, not a topic.
  1096. setProps
  1097. Select a Widget to Check.
  1098. Cancel
  1099. needWidget
  1100. You need a widget to edit. Navigate to the widget you want and try again.
  1101. The Widgets Book
  1102. Select a Widget to Edit.
  1103. CopyWidget
  1104. ChooseWidgetToCheck
  1105. ChooseWidgetToEdit
  1106. Close
  1107. (You should repage before you try to navigate after adding or deleting widgets and topics. If you don't, errors may result.)
  1108. book in case you want to use this structure as a shell for your own book.
  1109. No name is associated with this widget,
  1110. You must create a topic name. Please start again.
  1111. PageOutlineHelp
  1112. The widget name of this object is
  1113. You will need to clear out the widgets belonging to this topic before you can delete the topic.
  1114. This is the last widget in this book, and can not be deleted.
  1115. This widget will need a topic heading.
  1116. In Author Mode:
  1117.  Asymetrix 1994
  1118. TooManyWidgets
  1119. Reader mode functionality is still available, but you can also edit 
  1120. Consider converting these "to set" handlers into published properties of this widget:
  1121. After editing, it is a good idea to click the "Repage" button in order
  1122. Please select a topic in the outline field to delete.
  1123. doRepage
  1124. stringResource
  1125. Last page of this background
  1126. nextPage
  1127. Create a new topic
  1128. Clear a widget
  1129. outlineHelp
  1130. help_text
  1131. clearBook
  1132. keyWord
  1133. yhelpText
  1134. clearTopic
  1135. lastPage
  1136. outline
  1137. repaginate
  1138. previousPage
  1139. topics
  1140. Go to heading page for current topic.
  1141. Previous page (w/ ctrl key = Previous page of this background)
  1142. clearWidget
  1143. createWidget
  1144. Repaginate the book and reset the check marks
  1145. First page of this background
  1146. Create a new Widget
  1147. tableOfContents
  1148. Next page (w/ ctrl key = Next page of this background)
  1149. [helpText not yet cached]
  1150. First page of this topic (w/ ctrl key = First page of this background)
  1151. Go to page topic table of contents.
  1152. Show outline viewer and book editor.
  1153. Clear a topic
  1154. firstPage
  1155. Clear all topics and widgets from the book
  1156. createTopic
  1157. Last page of this topic (w/ ctrl key = Last page of this background)
  1158. Error occurred while getting help text, unknown key word.
  1159. Help for using the outline viewer and book editor.
  1160. widgetHelp
  1161. widgetProperties
  1162. in,none
  1163. ThreeDeeRect
  1164. bottomLine
  1165. topLine
  1166. &Widget Name:
  1167. in,ms
  1168. ThreeDeeRect
  1169. bottomLine
  1170. topLine
  1171. widname
  1172. ExplodedPieChart
  1173. P&roperties:
  1174. bottomLine
  1175. topLine
  1176. proplist
  1177. PlotValues    text
  1178. PlotOrigin    text
  1179. PlotColors    text
  1180. allcontrols
  1181. &Method:
  1182. edittype
  1183. proplist
  1184. options
  1185. updateFromDB
  1186. custom
  1187. selectChange
  1188. selectChange
  1189. "custom"
  1190. mode 
  1191. "options" 
  1192. updateFromDB 
  1193. "proplist"
  1194. Fieldown List
  1195. Dropdown List
  1196. Field
  1197. Custom
  1198. Custom
  1199. options
  1200. dropdown list
  1201. field
  1202. custom
  1203. dropDown List
  1204. logical
  1205. mode 
  1206. value
  1207. "dropDown List"
  1208. "dropdown list" 
  1209. "logical"
  1210. "custom"
  1211. field
  1212. field
  1213. proplist
  1214. updateFromDB
  1215. selectchange
  1216. selectchange
  1217. updateFromDB 
  1218. "proplist"
  1219. Accept any datanly
  1220. Accept any data
  1221. Read onlybers only
  1222. Read only
  1223. Data Constraints:
  1224. dropdown list
  1225. .&+    +
  1226. proplist
  1227. updateFromDB
  1228. false
  1229. listItems
  1230. listitems
  1231. eupdateButtons
  1232. logical
  1233. @origVal
  1234. buttonclick
  1235. buttonclick
  1236. B"logical" 
  1237. enabled 
  1238. "list" 
  1239. "listitems" 
  1240. origVal 
  1241. "listItems"
  1242. selectedtextlines 
  1243. updateButtons 
  1244. updateFromDB 
  1245. "proplist"
  1246. buttonClick
  1247. logical
  1248. Lo&gical
  1249. &List of Values
  1250. in,ms
  1251. ThreeDeeRect
  1252. bottomLine
  1253. topLine
  1254. listitems
  1255. editVal
  1256. delVal
  1257. updateButtons
  1258. updateButtons
  1259. enabled 
  1260. B"editVal" 
  1261. B"delVal" 
  1262. false
  1263. newVal
  1264. cancel
  1265. updateFromDB
  1266. propList
  1267. listitems
  1268. eupdateButtons
  1269. Enter a new item:
  1270. @origval
  1271. buttonclick
  1272. buttonclick
  1273. ZnewProp
  1274. ("Enter a 
  1275. newprop
  1276.         fref = 
  1277. "listitems"
  1278.         t = 
  1279. origval 
  1280. updateButtons 
  1281. selectedTextLines 
  1282. updateFromDB 
  1283. "propList"
  1284. buttonClick
  1285. &New...
  1286. delVal
  1287. propList
  1288. updateFromDB
  1289. listitems
  1290. eupdateButtons
  1291. @origval
  1292. buttonclick
  1293. buttonclick
  1294.     fref = 
  1295. "listitems"
  1296.     stl = selectedTextLines 
  1297. updateFromDB 
  1298. "propList"
  1299. origval 
  1300. selectedTextlines 
  1301.         tlc = 
  1302. updateButtons 
  1303. &Delete
  1304. EditVal
  1305. Edit the Property Value
  1306. cancel
  1307. propVal
  1308. listitems
  1309. @origval
  1310. buttonClick
  1311. buttonClick
  1312.     fref = 
  1313. "listitems"
  1314.     stl = selectedTextLines 
  1315.         propVal = 
  1316. ("Edit the Property Value" 
  1317. origval 
  1318. &Edit...
  1319. custom
  1320. F&unction Name:
  1321. in,ms
  1322. ThreeDeeRect
  1323. bottomLine
  1324. topLine
  1325. custom
  1326. propList
  1327. updateFromDB
  1328. leaveField
  1329. updateFromDB 
  1330. "propList"
  1331. editWidget
  1332. values
  1333. Property Browser Editing:
  1334. cancel
  1335. propList
  1336. G[updateDB
  1337. Enter a new property name:
  1338. buttonclick
  1339. buttonclick
  1340. ZnewProp
  1341. ("Enter a 
  1342. qproperty 
  1343. newprop
  1344.         fref = 
  1345. "propList"
  1346.         t = 
  1347. selectedTextLines 
  1348. updateDB 
  1349. buttonClick
  1350. &New...
  1351. mainEdit
  1352. proplist
  1353. cancel
  1354. Edit the Propery Name.
  1355. propName
  1356. buttonClick
  1357. buttonClick
  1358.     fref = 
  1359. "proplist"
  1360.     stl = selectedTextLines 
  1361.         t = 
  1362.         tabloc = 
  1363. 9,t)-1
  1364.         propName= 
  1365. ("Edit the Propery 
  1366. Ed&it...
  1367. mainDelete
  1368. proplist
  1369. G[updateDB
  1370. buttonClick
  1371. buttonClick
  1372.     fref = 
  1373. "proplist"
  1374.     stl = selectedTextLines 
  1375. selectedTextlines 
  1376.         tlc = 
  1377. updateDB 
  1378. &Delete
  1379. updateWidget
  1380. buttonClick
  1381. buttonClick
  1382. updateWidget 
  1383. buttonclick
  1384. buttonclick
  1385.     close 
  1386. buttonClick
  1387. Cancel
  1388. widgetProperties
  1389. splash
  1390. stringResource
  1391. about
  1392. buttonDoubleClick
  1393. stringResource("about")
  1394. Widgets
  1395. Useful Stuff for 
  1396. ToolBook Authors
  1397.  1994 Asymetrix Corp.
  1398.                 ver. 1.01
  1399. buttonClick
  1400. Cancel
  1401. widgetProperties
  1402. splash
  1403. Can't touch this
  1404. Cant_Touch_This
  1405. enterPage
  1406. B"Cant_Touch_This" 
  1407. orig 
  1408. Miscellaneous
  1409. chapter
  1410. FALSE
  1411. visited
  1412. chapterID
  1413. Button id 0 of Page id 64
  1414. widgets
  1415. 3269,3928
  1416. The descendant of a practical joke, this widget suggests some possibilities for using ToolBook to create interactive games.
  1417. Cant_Touch_This
  1418. 1,$!2
  1419. mouseEnter
  1420. --    Tim Pearson, Asymetrix    1/94
  1421. Z    INT        xOld, yOld, xMin, yMin, xMax, yMax, x, y
  1422. /= "0,0"
  1423.         x = 
  1424. x >= 0 
  1425. xTRUE
  1426.         y = 
  1427. y >= 0 
  1428. Cant_Touch_This
  1429. tbk_wid_name
  1430. Can't Touch This
  1431. FALSE
  1432. Widget help
  1433. 66,67,68,69,70
  1434. widgetIDs
  1435. 66,67,68,69,70
  1436. Widget Help
  1437. Intro to widgets
  1438. Widget help
  1439. chapter
  1440. chapterID
  1441. FALSE
  1442. visited
  1443. Button id 0 of Page id 66
  1444. widgets
  1445. Click the button below to learn more  about widgets.
  1446. Widgets are stand-alone objects that  can be copied and pasted into your applications. In most cases they are designed to work without modification of any scripts. 
  1447. While ToolBook and OpenScript have no "widgetry" built into them, there are enough features available that, among the OpenScript programmers at Asymetrix, we have developed a convention and a protocol for making widgets.
  1448. Widget Talk
  1449. Widget Talk
  1450. tbk_wid_name
  1451. GROUPBOX Welcome,G23,Welcome to Widget Talk
  1452. BUTTON Basic Widgets,B18,TRUE
  1453. BUTTON Notify Messages,B19,TRUE
  1454. BUTTON Init and Cleanup,B20,TRUE
  1455. BUTTON Advanced Widgetry,B21,TRUE
  1456. BUTTON Close,B22,TRUE
  1457. WidgetHelpInit
  1458. 524480,6,25,25,172,93,,,Widget Help,8,MS Sans Serif,Welcome,14,2,150,55,23,1342177287,128,Welcome to Widget Talk,0,Basic Widgets,19,19,70,12,18,1342242816,128,&Basic Widgets,0,Notify Messages,19,36,70,13,19,1342242816,128,&Notify Messages,0,Init and Cleanup,91,19,70,13,20,1342242816,128,&Init and Cleanup,0,Advanced Widgetry,91,36,70,13,21,1342242816,128,&Advanced Widgetry,0,Close,67,64,43,14,22,1342242817,128,&Close,0
  1459. WidgetHelpBox
  1460. GROUPBOX Basic Widgets,G26,Basic Widgets
  1461. BUTTON More,B29,TRUE
  1462. BUTTON Back,B30,TRUE
  1463. BUTTON Cancel,B31,TRUE
  1464. STATIC Basic Text,S32,A widget has two basic properties:
  1465. 1) It can be copied and pasted and be completely functional without modification
  1466. 2) It has a user property "tbk_wid_name" set to some reasonable text value, and used for purposes of identification by tools30.sbk.
  1467. BITMAP baswid,p33,bitmap "baswid"
  1468. BasicWidgetInit
  1469. 524480,6,25,25,186,193,,,Basic Widgets,8,MS Sans Serif,Basic Widgets,11,5,167,149,26,1342177287,128,Basic Widgets,0,More,15,161,52,14,29,1342242816,128,&More,0,Back,69,161,51,14,30,1342242816,128,&Back,0,Cancel,123,161,50,14,31,1342242816,128,&Cancel,0,Basic Text,24,22,148,56,32,1342177280,130,Text,0,baswid,31,75,114,71,33,1342177280,TBKDLGBitmap,bitmap "baswid",0
  1470. BasicWidgetBox
  1471. GROUPBOX Notify Messages,G39,Notify Messages
  1472. BUTTON More,B35,TRUE
  1473. BUTTON Back,B36,TRUE
  1474. BUTTON Cancel,B37,TRUE
  1475. STATIC Notify Message,S38,Notify messages are useful for letting the widget know what is going on without modifying any scripts
  1476. BITMAP Notify,p43,bitmap "Notify"
  1477. NotifyMessagesInit
  1478. 524480,6,25,25,170,166,,,Notify Messages,8,MS Sans Serif,Notify Messages,9,4,153,125,39,1342177287,128,Notify Messages,0,More,17,136,47,14,35,1342242816,128,&More,0,Back,67,136,42,14,36,1342242816,128,&Back,0,Cancel,113,136,43,14,37,1342242816,128,&Cancel,0,Notify Message,16,15,141,28,38,1342177281,130,Text,0,Notify,17,45,141,78,43,1342177280,TBKDLGBitmap,bitmap "Notify",0
  1479. NotifyMessagesBox
  1480. GROUPBOX Init and Cleanup,G39,Initialization and Cleanup
  1481. BUTTON More,B35,TRUE
  1482. BUTTON Back,B36,TRUE
  1483. BUTTON Cancel,B37,TRUE
  1484. STATIC Init and cleanup,S38,We can use "notifyBefore copy" handlers to initialize the widget as it is being copied, and possibly to initialize the book it is being pasted into.
  1485. We can also use "notifyAfter paste" or "notifyAfter make" handlers to initialize and cleanup the new widget
  1486. InitandCleanupInit
  1487. 524480,5,25,25,169,127,,,Init and Cleanup,8,MS Sans Serif,Init and Cleanup,9,4,153,85,39,1342177287,128,Initialization and Cleanup,0,More,17,96,47,14,35,1342242816,128,&More,0,Back,67,96,42,14,36,1342242816,128,&Back,0,Cancel,112,96,43,14,37,1342242816,128,&Cancel,0,Init and cleanup,14,16,145,68,38,1342177280,130,Text,0
  1488. InitandCleanupBox
  1489. GROUPBOX Advanced Widgetry,G39,Advanced Widgetry
  1490. BUTTON More,B35,TRUE
  1491. BUTTON Back,B36,TRUE
  1492. BUTTON Cancel,B37,TRUE
  1493. STATIC Advanced,S38,Tools30.sbk knows quite a bit about widgets. It can tell if an object is a widget when that object has the user property "tbk_wid_name" set to some value. It also knows about two other properties:
  1494. 1) tbk_wid_props is a carriage-return line-feed delimited list of properties (user properties) that the widget has and that can be initialized and set according to the parameters of property # 2.
  1495. 2) tbk_wid_values is a CRLF list with the same number of textlines as tbk_wid_props. Textlines in the two properties correspond. The first item of each textline in tbk_wid_values declares what kind of values the property can take. This can be any of "custom,text,list,boolean,na." The next items in the list will be the legal values for that property.
  1496. AdvancedInit
  1497. 524480,5,25,25,237,189,,,Advanced Widgetry,8,MS Sans Serif,Advanced Widgetry,11,5,215,146,39,1342177287,128,Advanced Widgetry,0,More,46,157,47,14,35,1342242816,128,&More,0,Back,98,157,42,14,36,1342242816,128,&Back,0,Cancel,143,157,43,14,37,1342242816,128,&Cancel,0,Advanced,21,20,203,121,38,1342177280,130,Text,0
  1498. AdvancedBox
  1499. Book "C:\TBEA\SAMPLES\WIDGETS\WIDGT78B.TBK"
  1500. oldBook
  1501. GROUPBOX Basic Widgets,G26,Basic Widgets
  1502. BUTTON More,B29,TRUE
  1503. BUTTON Back,B30,TRUE
  1504. BUTTON Cancel,B31,TRUE
  1505. STATIC Basic Text,S32,A widget has two basic properties:
  1506. 1) It can be copied and pasted and be completely functional without modification
  1507. 2) It has a user property "tbk_wid_name" set to some reasonable text value, and used for purposes of identification by tools30.sbk.
  1508. BITMAP baswid,p33,
  1509. BasicWidgetsInit
  1510. 524480,6,25,25,186,193,,,Basic Widgets,8,MS Sans Serif,Basic Widgets,11,3,169,154,26,1342177287,128,Basic Widgets,0,More,15,164,53,14,29,1342242816,128,&More,0,Back,70,164,52,14,30,1342242816,128,&Back,0,Cancel,124,164,50,14,31,1342242816,128,&Cancel,0,Basic Text,24,22,149,57,32,1342177280,130,Text,0,baswid,31,76,115,72,33,1342177280,TBKDLGBitmap,,0
  1511. BasicWidgetsBox
  1512. Widget Talk
  1513. FALSE
  1514. Intro to Widgets
  1515. International time and date
  1516. Basic widgets
  1517. Widget help
  1518. chapter
  1519. chapterID
  1520. FALSE
  1521. visited
  1522. Here are a few pointers on how to make a widget.
  1523. You may want to develop your own style for creating widgets, but keep the pointers listed below in mind. Some techniques will work fine in one book, but can cause problems when the widget is pasted into another book.
  1524. Set tbk_wid_name of the widget to the name of the widget. This allows the widget to be recognized by tools30.sbk
  1525. Use notify handlers.
  1526. Try to link and unlink dlls to guarantee their availability. ToolBook increments a reference count every time a dll is linked, and decrements it when the dll is unlinked. ToolBook doesn't unload the library or any of its functions until the reference count goes to zero.
  1527. Use user properties and "to set" and "to get" handlers.
  1528. Restore the system. It will clobber everything!
  1529. Use common names like "s_myName" in your system variables. You may clobber or be clobbered. Try using names unlikely to be used elsewhere.
  1530. Use system variables at all. This is very safe. Try setting and getting user properties of the widget.
  1531. y setting and getting user properties of the widget.
  1532. Don'ts
  1533. Don't
  1534. FALSE
  1535. Basic Widgets
  1536. dgetsx
  1537. Notify messages
  1538. Widget help
  1539. chapter
  1540. chapterID
  1541. FALSE
  1542. visited
  1543. Field id 7 of Page id 68,Field id 6 of Page id 68,Field id 4 of Page id 68
  1544. widgets
  1545. Use notifyBefore and notifyAfter handlers to activate widgets when built-in ToolBook messages are sent.
  1546. The examples below use various messages to make sure they display the correct data. The first clock uses enterPage to set a timer, and leavePage to stop the timer. The second clock uses the idle message. 
  1547. The autoPageName example uses the enterPage message to determine the current page name. It is identical to the background field at the upper-left corner of this page.
  1548. Other useful messages to write notify handlers for include enterApplication, enterBook, enterBackground, other enter event messages and all of their corresponding leave event messages. It's also useful to write notify handlers for custom messages you design into your application.
  1549. autoTime w/ timer
  1550. autoTime
  1551. tbk_wid_name
  1552. format
  1553. borderStyle
  1554. period
  1555. tbk_wid_props
  1556. list,none,rectangle,shadowed,inset,raised
  1557. tbk_wid_values
  1558. h:min:sec AMPM
  1559. prop_format
  1560. period
  1561. timerID
  1562. 1:52:45 PMM
  1563. autoTime w/ idle
  1564. enterPage
  1565. h:min:sec AMPM
  1566. seconds
  1567. s__autoTimeWithIdle
  1568. h:min:sec AMPM
  1569. seconds
  1570. s__autoTimeWithIdle
  1571. s__autoTimeWithIdle
  1572. leavePage
  1573. notifyBefore 
  1574. notifyAfter 
  1575. 4s__autoTimeWithIdle
  1576. j:sec AMPM"
  1577. autoTimeWithIdle
  1578. tbk_wid_name
  1579. 1:52:46 PMM
  1580. autoPageName
  1581. 6Wrealname
  1582. enterPage
  1583. notifyBefore 
  1584. realname 
  1585. autoPageName
  1586. tbk_wid_name
  1587. tbk_wid_values
  1588. Notify messagessnd Cleanupters
  1589. autoTime with timer:
  1590. autoTime with idle:
  1591. autoPageName
  1592. autoPageName:
  1593. enterPage
  1594. leavePage
  1595. leavePage
  1596. FALSE
  1597. Initialization and cleanup
  1598. Widget help
  1599. chapter
  1600. chapterID
  1601. FALSE
  1602. visited
  1603. Field id 0 of Page id 69
  1604. widgets
  1605. You can use notify messages to prepare the widget or the book it is being copied to.
  1606. To prepare the widget to be copied, use the following:
  1607. notifyBefore copy
  1608. To prepare the book the widget is copied to and to clean up the widget, use the following:
  1609. notifyAfter make
  1610.     if target is self
  1611. testWidget
  1612. Toggle
  1613. testWidget
  1614. tbk_wid_name
  1615. Book "C:\TBEA\SAMPLES\WIDGETS\PROBLEM\WIDGT75E.TBK"
  1616. oldBook
  1617. This field has a graphic in it. 
  1618. Try clicking it. a graphic in it.
  1619. testWidget
  1620. buttonClick
  1621. buttonClick
  1622. "testWidget"
  1623. &View Script
  1624. To make sure we get all the graphic resources this field needs, we will need to copy them to the book we are going to paste the field into. We use the "notifyBefore copy" handler to find out the name of the book we are coming from, and "notifyAfter make" to copy the resources into the new book.
  1625. FALSE
  1626. Advanced widgetry
  1627. Widget help
  1628. chapter
  1629. chapterID
  1630. FALSE
  1631. visited
  1632. Group id 170 of Page id 70
  1633. widgets
  1634. Tools30.sbk recognizes certain properties as belonging to widgets. When you use these properties, tools30.sbk will enable you to edit the widget.
  1635. The tools30.sbk protocol:
  1636.     "tbk_wid_name" is the name of the widget.
  1637.     "tbk_wid_props" are properties of the widget.
  1638.     "tbk_wid_values" corresponds to tbk_wid_props. 
  1639. The first item in each textline of tbk_wid_values describes a type for the property, the rest of the line are the legal values for that property.
  1640. Tools30.sbk understands the following types of properties:
  1641.     text: anything can go in here
  1642.     boolean: true or false
  1643.     list: a list of possible values
  1644.     color: RGB or HLS value
  1645.     multiLine: text or richText
  1646.     font: text, name of font
  1647.     custom: message to send
  1648.     NA: not available to edit
  1649. You write handlers for the custom messages. Double clicking the line for the custom message in the property browser of tools30.sbk sends that message to the widget. 
  1650. All of these methods together provide a powerful scheme for giving the user access to the widget. Yet, the user is still constrained from making unreasonable choices.
  1651. One useful strategy is to have the custom message call a dialog (built with dialog.tbk, of course) that sets the various properties. 
  1652. The widget below, based on the MIDI keyboard, combines these ideas. In reader mode, the user goes directly to the dialog box from the Custom edit choice in the right-click tool bar. At Author level, by choosing Custom edit from the group's right click tool bar, the user goes to the tools30.sbk property browser. From there, the properties can be set individually, or the dialog can be set by doubleclicking the custom message.....goes to the tools30.sbk property browser. From there, the properties can be set individually, or the dialog can be set by doubleclicking the custom message.
  1653. om message. menu, at author it is in the "object" menu.
  1654. keyboard
  1655. custom,editWidget
  1656. boolean
  1657. boolean
  1658. list,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
  1659. list,0,1,2,3,4,5,6,7,8
  1660. list,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127
  1661. list,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127
  1662. tbk_wid_values
  1663. editWidget
  1664. sustain
  1665. gliss
  1666. device
  1667. channel
  1668. program
  1669. volume
  1670. tbk_wid_props
  1671. MIDI Keyboard
  1672. tbk_wid_name
  1673. dlgInit
  1674. 524480,14,25,25,138,134,,,Dialog,8,MS Sans Serif,,3,3,76,38,3596,1342177287,128,Keyboard Settings,0,,3,43,77,74,3599,1342177287,128,MIDI Settings,0,,8,55,37,10,3604,1342177280,130,Text,0,,8,70,37,10,3605,1342177280,130,Text,0,,8,86,37,10,3606,1342177280,130,Text,0,,8,101,37,10,3607,1342177280,130,Text,0,gliss,8,15,48,9,3602,1342242819,128,&Gliss,0,sustain,8,27,48,9,3603,1342242819,128,&Sustain,0,program,46,54,27,121,3608,1350631491,133,,0,volume,46,69,27,121,3609,1350631491,133,,0,channel,46,84,23,66,3610,1350631491,133,,0,device,46,99,23,44,3611,1350631491,133,,0,ok,85,8,47,13,1,1342242817,128,OK,0,cancel,85,24,47,13,2,1342242816,128,Cancel,0
  1675. dlgBox
  1676. gliss
  1677. sustain
  1678. program
  1679. volume
  1680. channel
  1681. device
  1682. You can also edit these properties using the "Edit Widget Properties" menu item. You can do a quick check of a widget with the "Check Widget" menu item. At reader these are in the "edit" menu, at author, the "object" menu. 
  1683. menu. 
  1684. customEdit
  1685. FALSE
  1686. Alpha keyboard
  1687. Keyboards
  1688. chapter
  1689. chapterID
  1690. FALSE
  1691. visited
  1692. Group id 27 of Page id 72
  1693. widgets
  1694. The group recognizes which button has been pressed.
  1695. Pressing a button causes the group to report to the user what button was pressed. The invert property of that button is set to true until the next button is pressed. When pasted into another book, the buttons are all reset and the group is prepared to work without any manual initialization.
  1696. alphabuttons
  1697. Button id 10 of Page id 72
  1698. buttonPressed
  1699. alphabuttons
  1700. tbk_wid_name
  1701. Button id 10 of Page id 72
  1702. invertedButton
  1703. FALSE
  1704. MIDI keyboard
  1705. Keyboards
  1706. chapter
  1707. chapterID
  1708. FALSE
  1709. visited
  1710. Group id 171 of Page id 76
  1711. widgets
  1712. This control sends MIDI messages to the MMSystem DLL, bypassing the MCI drivers. You must have a sound card to hear anything.
  1713. By sending messages directly to the DLL, the user is given much more precision. 
  1714. You can use the Ctrl key somewhat like the sustain pedal on a piano. Pressing Ctrl+Shift when you click a key acts as a MIDI "panic button" and shuts off any keys that might be ringing.
  1715. You can set parameters using the Custom edit button on the right-click tool bar for any of the keys or the group "keyboard."
  1716. If you are in author mode, you can set these same parameters from the tools30.sbk system book using the customEdit button in the rightClick menu or by selecting the keyboard group and choosing "Property Browser" from the Tools menu. 
  1717. Ctrl-Shift-Click is the "panic button"
  1718. keyboard
  1719. custom,editWidget
  1720. boolean
  1721. boolean
  1722. list,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
  1723. list,0,1,2,3,4,5,6,7,8
  1724. list,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127
  1725. list,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127
  1726. tbk_wid_values
  1727. editWidget
  1728. sustain
  1729. gliss
  1730. device
  1731. channel
  1732. program
  1733. volume
  1734. tbk_wid_props
  1735. MIDI Keyboard
  1736. tbk_wid_name
  1737. dlgInit
  1738. 524480,14,25,25,138,134,,,Dialog,8,MS Sans Serif,,3,3,76,38,3596,1342177287,128,Keyboard Settings,0,,3,43,77,74,3599,1342177287,128,MIDI Settings,0,,8,55,37,10,3604,1342177280,130,Text,0,,8,70,37,10,3605,1342177280,130,Text,0,,8,86,37,10,3606,1342177280,130,Text,0,,8,101,37,10,3607,1342177280,130,Text,0,gliss,8,15,48,9,3602,1342242819,128,&Gliss,0,sustain,8,27,48,9,3603,1342242819,128,&Sustain,0,program,46,54,27,121,3608,1350631491,133,,0,volume,46,69,27,121,3609,1350631491,133,,0,channel,46,84,23,66,3610,1350631491,133,,0,device,46,99,23,44,3611,1350631491,133,,0,ok,85,8,47,13,1,1342242817,128,OK,0,cancel,85,24,47,13,2,1342242816,128,Cancel,0
  1739. dlgBox
  1740. gliss
  1741. sustain
  1742. program
  1743. volume
  1744. channel
  1745. device
  1746. buttonup
  1747. customEdit
  1748. enterPage
  1749. reader
  1750. leavePage
  1751. author
  1752. FALSE
  1753. contentBar
  1754. autoDisable Navigation button
  1755. tbk_wid_name
  1756. level
  1757. direction
  1758. disablePage
  1759. tbk_wid_props
  1760. list,background,book
  1761. list,Next,Previous,First,Last
  1762. tbk_wid_values
  1763. background
  1764. prop_level
  1765. prop_disablePage
  1766. nextPage
  1767. help_text
  1768. Previous
  1769. autoDisable Navigation button
  1770. tbk_wid_name
  1771. level
  1772. direction
  1773. disablePage
  1774. tbk_wid_props
  1775. list,background,book
  1776. list,Next,Previous,First,Last
  1777. tbk_wid_values
  1778. background
  1779. prop_level
  1780. first
  1781. prop_disablePage
  1782. previousPage
  1783. help_text
  1784. First
  1785. autoDisable Navigation button
  1786. tbk_wid_name
  1787. level
  1788. direction
  1789. disablePage
  1790. tbk_wid_props
  1791. list,background,book
  1792. list,Next,Previous,First,Last
  1793. tbk_wid_values
  1794. background
  1795. prop_level
  1796. first
  1797. prop_disablePage
  1798. firstPage
  1799. help_text
  1800. autoDisable Navigation button
  1801. tbk_wid_name
  1802. level
  1803. direction
  1804. disablePage
  1805. tbk_wid_props
  1806. list,background,book
  1807. list,Next,Previous,First,Last
  1808. tbk_wid_values
  1809. background
  1810. prop_level
  1811. prop_disablePage
  1812. lastPage
  1813. help_text
  1814. enterPage
  1815. keyDown
  1816. keyUp
  1817. contentBar
  1818. Book Outline
  1819. FALSE
  1820. visited
  1821. sizeSample
  1822. Size Sample
  1823. sizeSample
  1824. book outline
  1825. buttonClick
  1826. keyChar
  1827. buttonClick
  1828. 8outline" 
  1829. keyEnter -- 
  1830. enter 
  1831. %alias 
  1832. spacebar 
  1833. buttonclick
  1834. FALSE
  1835. Cancel
  1836. book outline
  1837. buttonClick
  1838. buttonClick
  1839.     close 
  1840. 8outline"
  1841. Cancel
  1842. edit buttons
  1843. repage
  1844. stringResource
  1845. Repage
  1846. doRepage
  1847. doRepage
  1848. doRepage
  1849.     rP = stringResource("repage")
  1850. 'wait")
  1851. buttonClick 
  1852. New Widget
  1853. XdoRepage
  1854. newWidget
  1855. buttonClick
  1856. buttonClick
  1857. newWidget
  1858. doRepage
  1859. createWidget
  1860. helpText
  1861. New Widget
  1862. New Topic
  1863. createTopic
  1864. helpText
  1865. New Topic
  1866. Clear Widget
  1867. clearWidget
  1868. helpText
  1869. Clear Widget
  1870. Clear Topic
  1871. .&+    +E
  1872. .&+    +E
  1873. .&+    +E
  1874. .&+    +E
  1875. topicToDelete
  1876. g)updateTopics
  1877. clearTopic
  1878. contentBar
  1879. tPage
  1880. ainitPage
  1881. stringResource
  1882. topics
  1883. XdoRepage
  1884. ainitpage
  1885. widgetIDs
  1886. buttonClick
  1887. buttonClick 
  1888. stringResource("topicToDelete")
  1889. widgetIDs 
  1890. <> tl
  1891. tPage 
  1892. selectPage
  1893. initpage 
  1894. initPage 
  1895.         -- the 
  1896. Mwas 
  1897. = "contentBar"
  1898. clearTopic")
  1899. updateTopics -- handlers 
  1900. doRepage
  1901. clearTopic
  1902. helpText
  1903. Clear Topic
  1904. Repage
  1905. repage
  1906. buttonClick
  1907. buttonClick
  1908. repage TRUE
  1909. Repaginate
  1910. helpText
  1911. Repage
  1912. Clear Book
  1913. 4875,3060
  1914. lessBG
  1915. clearBook
  1916. helpText
  1917. Clear Book
  1918. stringResource
  1919. PageOutlineHelp
  1920. buttonClick
  1921. buttonClick
  1922. stringResource("PageOutlineHelp")
  1923. 5145,3570,6625,3900
  1924. authorBounds
  1925. 5145,1155,6625,1485
  1926. readerBounds
  1927. OutlineHelp
  1928. help_text
  1929. outline
  1930. Outline
  1931. marker
  1932. vertLoc
  1933. vertLoc b 
  1934. value
  1935.     ypix = 
  1936. syspageunitsperpixel
  1937. halfH 
  1938. B- 3*
  1939. book outline
  1940. source
  1941. Navigation widgets
  1942.     Auto page
  1943.     Auto buttons
  1944.     Tab widget
  1945.     Content buttons
  1946. Data widgets
  1947.     Validate on leaveField, numbers
  1948.     Validate on leaveField, text
  1949.     Validate on keystroke, numbers
  1950.     Validate on keystroke, text
  1951.     Useful patterns
  1952.     Spinners
  1953.     Add and remove
  1954.     Directories and files
  1955.     Time and date
  1956.     International time and date
  1957.     Calendar
  1958.     Printer Resolution
  1959.     Win version & DOS version
  1960.     Windows or WFW
  1961. Field widgets
  1962.     Insert/overstrike
  1963.     Outline
  1964.     Outline rearranger
  1965.     Max select field
  1966.     Ex Select field
  1967.     Self sorting field
  1968.     Searching field
  1969.     Auto-scrollbar field
  1970.     Bold, italic, and underline
  1971.     Drag a textline
  1972.     Drag and drop text
  1973.     Multiple OLE drag & drop
  1974.     Show off
  1975. Graph widgets
  1976.     Simple Bar Chart
  1977.     Simple Line Chart
  1978.     Pie Chart
  1979.     Exploded pie chart
  1980. Slider widgets
  1981.     Sliders
  1982.     Ratchet
  1983.     Scale Slider
  1984. CBT widgets
  1985.     True and false
  1986.     Multiple choice
  1987. Keyboards
  1988.     Alpha keyboard
  1989.     Qwerty keyboard
  1990.     Calculator
  1991.     MIDI keyboard
  1992. Miscellaneous
  1993.     Object effect
  1994.     Slow-motion
  1995.     Exit Windows
  1996.     Can't touch this
  1997. Widget help
  1998.     Intro to widgets
  1999.     Basic widgets
  2000.     Notify messages
  2001.     Initialization and cleanup
  2002.     Advanced widgetry
  2003. Select Topic
  2004. keyChar
  2005. keyEnter
  2006. buttonClick 
  2007. B"OK" 
  2008. FALSE
  2009. visited
  2010. s_currentTopic
  2011. Select Topic
  2012. buttonClick
  2013. keyChar
  2014. buttonClick
  2015. 4s_currentTopic
  2016. comboBox "Select 
  2017.         close 
  2018. keyEnter -- 
  2019. enter 
  2020. %alias 
  2021. spacebar 
  2022. buttonclick
  2023. FALSE
  2024. Select Topic
  2025. Topics
  2026. enterDropDown
  2027. enterDropDown
  2028. odropDownItems 
  2029. Topics 
  2030. Graph widgetsdgets42,77 Data
  2031. Field Widgets
  2032. Slider Widgets
  2033. CBT Widgets
  2034. Keyboards
  2035. Miscellaneous
  2036. CBT widgets
  2037. Data widgets
  2038. Field widgets
  2039. Graph widgets
  2040. Keyboards
  2041. Miscellaneous
  2042. Navigation widgets
  2043. Slider widgets
  2044. Widget help
  2045. Cancel
  2046. s_currentTopic
  2047. Select Topic
  2048. buttonClick
  2049. buttonClick
  2050. 4s_currentTopic
  2051. "Select 
  2052.         close 
  2053. Cancel
  2054. Select Topic
  2055. e and false
  2056.     Multiple choice
  2057. Keyboards
  2058.     Alpha keyboard
  2059.     Qwerty keyboard
  2060.     Calculator
  2061.     MIDI keyboard
  2062. Miscellaneous
  2063.     Object effect
  2064.     Slow-motion
  2065.     Exit Windows
  2066.     Can't touch this
  2067. Widget help
  2068.     Intro to widgets
  2069.     Basic widgets
  2070.     Notify messages
  2071.     Initialization and cleanup
  2072.     Advanced widgetry
  2073. Select Topic
  2074. Multiple choice
  2075. CBT widgets
  2076. chapter
  2077. FALSE
  2078. visited
  2079. chapterID
  2080. Group id 13 of Page id 37,Group id 6 of Page id 37
  2081. widgets
  2082. You can set these widgets for multiple choice questions.'
  2083. These widgets send a user-defined message. At Reader level you can right-click the group, then click the Custom edit button on the right-click tool bar to determine which button sends what message and to edit the buttons' captions. 
  2084. There is also a to set handler that will display the same editing dialog box. You need to set the editWidget property of the group to any value. For example, select the group (just the buttons, not the red border,) then type in the  Command window: set editWidget of selection to 1. This property can also be set from the object properties list given by tools30.sbk at Author level; just double-click on the editWidget line.
  2085. You can place the message handlers in the group script or edit the ones already there.
  2086. Most of the work is done in a script in an invisible field. You can get to the script of this field by selecting the appropriate group and executing the following command in the Command window: edit script of item 1 of objects of selection.
  2087. CBT Buttons
  2088. buttonDown
  2089. <ManswerMessage
  2090. buttonUp
  2091. editWidget
  2092. You chose
  2093. answer1
  2094. You chose
  2095. answer2
  2096. You chose
  2097. answer3
  2098. You chose
  2099. answer4
  2100. --    Tim Pearson, Asymetrix    1/94
  2101. = FALSE
  2102. >= TRUE
  2103. (answerMessage 
  2104. editWidget 
  2105. customEdit 
  2106. the handlers below 
  2107. suit your needs    --
  2108. answer1
  2109. "You chose" && 
  2110. answer2
  2111. answer3
  2112. answer4
  2113. CBT Buttons
  2114. tbk_wid_name
  2115. editWidget
  2116. tbk_wid_props
  2117. custom,editWidget
  2118. tbk_wid_values
  2119. widgetParent
  2120. answer1
  2121. answerMessage
  2122. Answer &1
  2123. answer2
  2124. answerMessage
  2125. Answer &2
  2126. answer3
  2127. answerMessage
  2128. Answer &3
  2129. answer4
  2130. answerMessage
  2131. Answer &4
  2132. CBT Radio Buttons
  2133. <ManswerMessage
  2134. buttonClick
  2135. editWidget
  2136. You chose
  2137. answer1
  2138. You chose
  2139. answer2
  2140. You chose
  2141. answer3
  2142. You chose
  2143. answer4
  2144. --    Tim Pearson, Asymetrix    1/94
  2145. buttonClick
  2146. (answerMessage 
  2147. editWidget 
  2148. customEdit 
  2149. the handlers below 
  2150. suit your needs    --
  2151. answer1
  2152. "You chose" && 
  2153. answer2
  2154. answer3
  2155. answer4
  2156. CBT Radio Buttons
  2157. tbk_wid_name
  2158. editWidget
  2159. tbk_wid_props
  2160. custom,editWidget
  2161. tbk_wid_values
  2162. widgetParent
  2163. answer1
  2164. answerMessage
  2165. Answer &1
  2166. answer2
  2167. answerMessage
  2168. Answer &2
  2169. answer3
  2170. answerMessage
  2171. Answer &3
  2172. answer4
  2173. answerMessage
  2174. Answer &4
  2175. customEdit
  2176. reader
  2177. enterPage
  2178. author
  2179. FALSE
  2180. -- Drag 
  2181. drop outline arrangement
  2182. -- Joseph Brick, November 93
  2183. -- This 
  2184. main dragAndDrop code:
  2185. ZstartLine,endLine,lineHeight,mybounds,xloc,mytext
  2186.     -- Find 
  2187. Bclicked on. 
  2188. qwill be 
  2189. ustarting 
  2190.     -- Break 
  2191. user 
  2192. G edge 
  2193. startline < 0
  2194. Uwe want 
  2195. n. we 
  2196. value
  2197.     -- later 
  2198. handler, 
  2199. we've 
  2200.  a heading:
  2201. endline 
  2202.     -- lineheight 
  2203. pageUnits 
  2204. (see 
  2205. V below):
  2206.     -- Cache commonly used values 
  2207. xpix 
  2208. sysPageUnitsPerPixel
  2209. ypix 
  2210. myBounds 
  2211. myText 
  2212. marker 
  2213. totalLineCount 
  2214.  we know 
  2215. be between 
  2216. sides 
  2217. xLoc 
  2218. + xPix
  2219.     -- The following section selects 
  2220. B(s):
  2221.     -- lineList 
  2222. a list corresponding 
  2223. selectedTextLines 
  2224.     -- we wish 
  2225. 9-- (We've 
  2226. count 
  2227.         -- Walk down 
  2228. Zwe hit another 
  2229.         -- incrementing 
  2230. needed:
  2231. oselectedTextlines 
  2232. moves 
  2233. arrow up 
  2234.     -- targetLine 
  2235. insertion point 
  2236. loop executes 
  2237. mousebutton 
  2238. released:
  2239. mouseLoc 
  2240.         -- 
  2241. above 
  2242.             -- calculate 
  2243. Ucurrently 
  2244.         -- 
  2245. - yPix
  2246. there's 
  2247. beyond 
  2248.             -- 
  2249. somewhere 
  2250.         -- 
  2251.             -- vertLoc 
  2252.             -- lineYloc returns 
  2253. `location 
  2254. a given 
  2255.         -- 
  2256.             -- 
  2257. inside 
  2258. U(s):
  2259. toward 
  2260. U(s) 
  2261. 1 place 
  2262.         -- 
  2263. that we 
  2264.         -- numLines 
  2265.         -- 
  2266. targetline > 
  2267. CRLF & 
  2268.         -- we 
  2269. asure 
  2270.     moved 
  2271.         -- 
  2272.         -- 
  2273. original 
  2274.         -- 
  2275. "," & 
  2276.  font:
  2277. occluded (
  2278. xhidden, but covered) 
  2279. "sizeSample" 
  2280. units 
  2281. lineNum,b,
  2282. 2 - 1 - 
  2283. -- adjusts 
  2284. . Called 
  2285. adjustSize n
  2286.  * n + 3*
  2287. v - 5*
  2288. 4ARRAY STRING itemArray[]
  2289. ZWORD itemNumber, stringLength
  2290. asure the array 
  2291. initialized
  2292. \1] = 
  2293.         sendNotifyBefore 
  2294. "index"
  2295. Zkey so 
  2296. placed 
  2297.     --lock 
  2298. screen 
  2299. speed 
  2300. closest match
  2301. = TRUE
  2302.     --cache 
  2303. so I don't have 
  2304. zso many property lookups.
  2305.     --store 
  2306. length 
  2307. current 
  2308. we are searching
  2309.     numberItems = dimensions(
  2310. there 
  2311. I want 
  2312. only one 
  2313. za binary 
  2314.         --begining 
  2315. lphabetic 
  2316. that letter
  2317. binarySearch(
  2318.             --
  2319. 8we found 
  2320. selectedTextlines 
  2321. more 
  2322. sequential 
  2323.             --
  2324. currently 
  2325. Uwhich 
  2326.             --
  2327. element 
  2328. less than 
  2329.             --
  2330. sequentially 
  2331. "down" 
  2332.             --
  2333. greater 
  2334. equal 
  2335. we reach 
  2336.  + 1] < 
  2337. we dropped out 
  2338. because 
  2339. strings 
  2340. zshould be incremented so 
  2341. hilighted 
  2342. above 
  2343.  + 1] = 
  2344.             --
  2345.             --
  2346. "up" 
  2347.             --
  2348. ] >= 
  2349.  > 1 
  2350.  - 1] >= 
  2351.             --
  2352. our "
  2353. = FALSE
  2354. upper 
  2355. lower 
  2356. starting point 
  2357.     currentPosition = (
  2358. DIV 2
  2359.     --keep narrowing 
  2360. Zeither a 
  2361. no elements
  2362. we throw 
  2363. <" half 
  2364.  below 
  2365. exact 
  2366.  was 
  2367. need 
  2368. further 
  2369. where 
  2370.     --we 
  2371. Y    we 
  2372. matches 
  2373.     --we find a 
  2374. "up" 
  2375. - 1] 
  2376. --    Tim Pearson, Asymetrix    1/94
  2377. customEdit
  2378. 4            s_answerMessages
  2379. Z            init, box, answers
  2380.     linkDLL sysToolBookDirectory & "tb30dlg.dll"
  2381.         STRING    DialogCallback        (WORD,
  2382. &SetValue            (
  2383. @     GetValue            (
  2384.         INT        AddListBoxItem        (
  2385. $DeletenListBoxItem    (
  2386. EEnableControl        (
  2387. GetControlText        (
  2388. GetDialogFocus        (
  2389. GetListBoxItems        (
  2390. GetListBoxSelection    (
  2391. GetnListBoxSelection(
  2392. SetControlText        (
  2393. SetDialogFocus        (
  2394. SetListBoxItems        (
  2395. SetnListBoxSelection(
  2396. endTBKDialog        (
  2397.  = ",G3597,Answers:
  2398. ,S3603,
  2399. Send When Chosen:
  2400. LISTBOX 
  2401. ,L3596,
  2402. BUTtoN 
  2403. ,B3600,NODISMISS
  2404. delete,B3601,
  2405. ,B3602,
  2406. #EDIT message,E3604,
  2407. Iok,B1,TRUE
  2408. J,B3606,FALSE"
  2409.     box = "524480,9,25,25,228,104,,,
  2410.  Multiple Choice,8,MS Sans Serif,,2,4,171,80,3597,1342177287,128,
  2411. ,0,,5,59,125,7,3603,1342177280,130,
  2412. ,5,17,124,39,3596,1352728577,131,,0,
  2413. ,133,17,37,12,3600,1342242816,128,&Add,0,
  2414. 133,31,37,12,3601,1342242816,128,&
  2415. ,133,45,37,12,3602,1342242816,128,&
  2416. ...,0,
  2417. 5,69,124,11,3604,1350631552,129,,0,ok,178,7,44,12,1,1342242817,128,OK,0,
  2418. J,178,22,44,12,3606,1342242816,128,Cancel,0"
  2419. Bi - 1 
  2420. i - 1 
  2421. "listBox 
  2422. (windowHandle 
  2423.     unlinkDLL 
  2424. y & "
  2425. TBKDialogInit    hDlg,ctrlId,hWnd,msg,ctrlName
  2426. , cnt
  2427. l"listbox 
  2428. U = textlineCount(
  2429. o <= 1
  2430. TBKDialogCommand    
  2431. {    thisLayer
  2432. Z            sel, foc, 
  2433. , newAnswer, cnt, answerCount, oldScript
  2434. msg = 1
  2435.  Caption:" 
  2436. r<> "
  2437. Bsel 
  2438.  = "Button 
  2439.         cnt = 
  2440. ) + 1
  2441.  &" & 
  2442. -1,0)
  2443.     " & 
  2444. ,     = 
  2445. <> NULL 
  2446. u    ",sel)
  2447. = cnt
  2448. - 1 <= 1
  2449.         foc    = 
  2450. r<> "
  2451.         lockScreen 
  2452. ) - 1
  2453.  < cnt
  2454. ) - 1 > 
  2455. " & (i - 1)
  2456. " & i
  2457.  &" & i
  2458.  = objLayer(
  2459. B" && QUOTE & "
  2460. " & i & 
  2461. " && 
  2462. {" & CRLF & \
  2463. TAB & "
  2464. }" & 
  2465. >" & 
  2466. editWidget" & 
  2467. }" & 
  2468.             tbk_wid_name 
  2469.             tbk_wid_props 
  2470.             tbk_wid_values 
  2471. = i - 1
  2472. Bi - 1 
  2473. i - 1 
  2474. i - 1 
  2475. i - 1 
  2476. 0) -- 0 = 
  2477. notifyBefore 
  2478. --    Tim Pearson, Asymetrix    1/94
  2479. customEdit
  2480. 4            s_answerMessages
  2481. Z            init, box, answers
  2482. Z    LONG    i
  2483.     linkDLL sysToolBookDirectory & "tb30dlg.dll"
  2484.         STRING    DialogCallback        (WORD,
  2485. &SetValue            (
  2486. @     GetValue            (
  2487.         INT        AddListBoxItem        (
  2488. $DeletenListBoxItem    (
  2489. EEnableControl        (
  2490. GetControlText        (
  2491. GetDialogFocus        (
  2492. GetListBoxItems        (
  2493. GetListBoxSelection    (
  2494. GetnListBoxSelection(
  2495. SetControlText        (
  2496. SetDialogFocus        (
  2497. SetListBoxItems        (
  2498. SetnListBoxSelection(
  2499.         INT     endTBKDialog        (
  2500.  = ",G3597,Answers:
  2501. ,S3603,
  2502. Send When Chosen:
  2503. LISTBOX 
  2504. ,L3596,
  2505. BUTtoN 
  2506. ,B3600,NODISMISS
  2507. delete,B3601,
  2508. ,B3602,
  2509. #EDIT message,E3604,
  2510. Iok,B1,TRUE
  2511. J,B3606,FALSE"
  2512.     box = "524480,9,25,25,228,104,,,
  2513.  Multiple Choice,8,MS Sans Serif,,2,4,171,80,3597,1342177287,128,
  2514. ,0,,5,59,125,7,3603,1342177280,130,
  2515. ,5,17,124,39,3596,1352728577,131,,0,
  2516. ,133,17,37,12,3600,1342242816,128,&Add,0,
  2517. 133,31,37,12,3601,1342242816,128,&
  2518. ,133,45,37,12,3602,1342242816,128,&
  2519. ...,0,
  2520. 5,69,124,11,3604,1350631552,129,,0,ok,178,7,44,12,1,1342242817,128,OK,0,
  2521. J,178,22,44,12,3606,1342242816,128,Cancel,0"
  2522. Bi - 1 
  2523. i - 1 
  2524. "listBox 
  2525. (windowHandle 
  2526.     unlinkDLL 
  2527. y & "
  2528. TBKDialogInit    hDlg,ctrlId,hWnd,msg,ctrlName
  2529. , cnt
  2530. l"listbox 
  2531. U = textlineCount(
  2532. o <= 1
  2533. TBKDialogCommand    
  2534. Z    OBJECT    thisLayer
  2535. Z            sel, foc, 
  2536. , newAnswer, cnt, answerCount, oldScript
  2537. msg = 1
  2538.  Caption:" 
  2539. r<> "
  2540. Bsel 
  2541.  = "Button 
  2542.         cnt = 
  2543. ) + 1
  2544.  &" & 
  2545. -1,0)
  2546.     " & 
  2547. 4     = 
  2548. <> NULL 
  2549. }    ",sel)
  2550. = cnt
  2551. - 1 <= 1
  2552.         foc    = 
  2553. r<> "
  2554.         lockScreen 
  2555. ) - 1
  2556.  < cnt
  2557. ) - 1 > 
  2558. " & (i - 1)
  2559. " & i
  2560.  &" & i
  2561.  = objLayer(
  2562. B" && QUOTE & "
  2563. " & i & 
  2564. " && 
  2565. buttonClick" & CRLF & \
  2566. TAB & "
  2567. >" & 
  2568. editWidget" & 
  2569. }" & 
  2570.             autoRadioButtons 
  2571.             tbk_wid_name 
  2572.             tbk_wid_props 
  2573.             tbk_wid_values 
  2574. = i - 1
  2575. Bi - 1 
  2576. i - 1 
  2577. i - 1 
  2578. i - 1 
  2579. 0) -- 0 = 
  2580. notifyBefore 
  2581. searchReplace pm
  2582. gref 
  2583. bitmap "plus"
  2584. minus"
  2585. sofar 
  2586. tchar 
  2587. ~(pm,
  2588. fs > 0
  2589. graphic 
  2590. t,tl,sh
  2591. (selectedtextlines 
  2592. a1Loc 
  2593. ~(a1,tl)
  2594. subheadings(outLineNumber(n,t)) 
  2595. k& sh 
  2596. initPage 
  2597. curLevel 
  2598. indentLevel(tl)
  2599. keyEnter
  2600. 2 > 32 
  2601. < < 41 -- pageUp 
  2602. other nav 
  2603. B"Go" 
  2604. B"Go" 
  2605. operatingMode 
  2606. value
  2607. curmode 
  2608. source 
  2609. "off"
  2610. t,tl,retval
  2611. n,i,headingLevel,testLevel,prevTestLevel,retlinecount
  2612.         -- 
  2613. textLineNumber(
  2614. ,t)        
  2615.         -- find out what level 
  2616.         -- point 
  2617.         -- 
  2618. y, so 
  2619. outermost 
  2620. headinglevel 
  2621.     -- walk through 
  2622. outline, grabbing everything that 
  2623.     --one 
  2624. below current 
  2625.         -- 
  2626. results
  2627. 9& tl & 
  2628.         -- 
  2629. a child 
  2630. a "+" 
  2631. tabs (ignoring "+" 
  2632. "-") preceding a 
  2633. counter 
  2634. -- returns numbers 
  2635. form "1,3,2,1" etc
  2636. -- based on a given 
  2637. outlineNumber 
  2638. , theText
  2639. Zt,n,i,currentIndentLevel,retVal
  2640. 1 -- 
  2641. only 
  2642.             -- found 
  2643.             -- 
  2644. elder sibling
  2645.             -- 
  2646. ''s descendant
  2647. actual 
  2648. -- corresponds 
  2649. ZiLevel,n,iSibling,
  2650. 1 -- 
  2651. foundNextSibling 
  2652. t) > 
  2653. -1 -- 
  2654. t) < 
  2655. -1 -- 
  2656. -- didn't 
  2657. expected older 
  2658. -- therefore 
  2659. specified isn't 
  2660. -- See "Drag 
  2661. drop 
  2662.  arrangement" 
  2663. widgets 
  2664. ZstartLine,endLine,lineHeight,mybounds,xloc,mytext
  2665.     -- we can 
  2666.     -- but, hey, no prob, 
  2667. a read 
  2668.     -- Find 
  2669. Bclicked on. This will be 
  2670. starting 
  2671.     -- Break 
  2672. user 
  2673. K edge 
  2674. startline < 0
  2675. Uwe want 
  2676. n. we 
  2677.     -- later 
  2678. handler, 
  2679. we've 
  2680. endline 
  2681.     -- lineheight 
  2682. pageUnits 
  2683. (see 
  2684.     -- Cache commonly used values 
  2685. xPix 
  2686. sysPageUnitsPerPixel
  2687. yPix 
  2688. myBounds 
  2689. myText 
  2690. marker 
  2691. totalLineCount 
  2692.  we know 
  2693. be between 
  2694. 6    sides 
  2695.     -- The following section selects 
  2696. B(s):
  2697.     -- lineList 
  2698.  corresponding 
  2699.     selectedTextLines 
  2700.     -- we wish 
  2701. 9-- (We've 
  2702.         -- Walk down 
  2703. Zwe hit another 
  2704.         -- incrementing 
  2705. needed:
  2706.         moveSecFlag = TRUE
  2707. oselectedTextlines 
  2708. moves 
  2709. arrow up 
  2710.     -- targetLine 
  2711. insertion 
  2712. loop executes 
  2713. mousebutton 
  2714. released:
  2715. mouseLoc 
  2716.         -- 
  2717. above 
  2718.             -- calculate 
  2719. Ucurrently 
  2720.         -- 
  2721. beyond 
  2722.             -- 
  2723. somewhere 
  2724.         -- 
  2725.             -- vertLoc 
  2726.             -- lineYloc 
  2727. `location 
  2728.         -- 
  2729.             -- 
  2730. inside 
  2731. U(s):
  2732. toward 
  2733. U(s) 
  2734.         -- 
  2735.         -- numLines 
  2736. X     - 
  2737. h     + 1
  2738.         -- 
  2739. room 
  2740.  -- don't 
  2741. we're moving a 
  2742.             movedWid = 
  2743.             -- 
  2744.             testLine = 
  2745. past original 
  2746.             newHeading = 
  2747. chapter 
  2748. wAdjust = 0 -- 
  2749. 1 -- old 
  2750. ;, take 
  2751. account
  2752. (widgetIDs 
  2753. > (20 + 
  2754. stringResource("TooManyWidgets")
  2755.             -- 
  2756. same 
  2757.             -- 
  2758.             -- 
  2759. we already tested 
  2760. , use those 
  2761. , faster
  2762. oldChapter 
  2763. mWID 
  2764. chapterID 
  2765. "," & 
  2766. -- clean 
  2767. pList 
  2768.         -- 
  2769. targetline > 
  2770.         -- we 
  2771. asure 
  2772.         -- 
  2773.         -- 
  2774.         -- 
  2775. "," & 
  2776. outlineText 
  2777.         -- 
  2778. we sync up 
  2779.         -- We're 
  2780.  sparse "map", inefficient 
  2781. a large 
  2782.         -- but 
  2783. should work ok 
  2784. our narrow purposes. 
  2785.         -- There 
  2786. N^2 slots 
  2787. N entries, 
  2788.         -- statements 
  2789. part 
  2790. speedy. It 
  2791.         -- 
  2792. 'two loops N + approx (
  2793. N* N)/2 times
  2794. ZoutlineMap[][] 
  2795.         fill 
  2796. ZtopicList,ToCList,myPageName,pageList
  2797.         -- 
  2798.         tLCoT = 
  2799.             -- 
  2800. beginning 
  2801. each "row" 
  2802. have 
  2803. <> TAB -- 
  2804. majorI 
  2805. minorI 
  2806.             -- 
  2807. spot 
  2808. i -- inner 
  2809. \] = 1
  2810.         -- 
  2811. i][1] = 1
  2812.  & "," 
  2813.  & CRLF 
  2814. i + 1 
  2815. i][j] = 1
  2816. tempName 
  2817. tempID 
  2818. & "," 
  2819. topicIDs 
  2820. repage 
  2821. = FALSE
  2822. font:
  2823. 's a hidden 
  2824. "sizeSample" 
  2825. units 
  2826.  - 1 - 
  2827. -- adjusts 
  2828. . Called 
  2829. adjustSize n
  2830.  * n + 3*
  2831. v - 5*
  2832. adjustLines
  2833. curField 
  2834. M"&i) 
  2835. curLine 
  2836. curfield
  2837. b + (
  2838. selectedChapter 
  2839. value
  2840. chapterRef 
  2841. )"&i) 
  2842. pageID 
  2843. middleGray()
  2844. lightGray
  2845. midspot 
  2846. b + (
  2847. m"joiner"-- 
  2848. topicTree(v) 
  2849.         -- you will probably want 
  2850. modify 
  2851. the following 
  2852.         -- error handling execpt "
  2853. FALSE
  2854. "Couldn't navigate 
  2855. " && 
  2856. topicCount 
  2857. textlineCount(
  2858. Nexist 
  2859. curtopicField 
  2860. M"&i) 
  2861. extractName(t)
  2862. M"&i) 
  2863. U"1" 
  2864. plast 
  2865. U"bracket" 
  2866. k2 = 0
  2867. p1 + (
  2868. y2 + 1) 
  2869. 240,63.5,2.1875
  2870. values 
  2871. table 
  2872. contents
  2873. -- e.g. "
  2874. @outline 
  2875. tableOfContents 
  2876. ZtopicList,curChapterField
  2877. chapterCount 
  2878. "&i) 
  2879. "chapter1" 
  2880. updateTopics
  2881. Ztemp,pageList,outlineList,chapterList
  2882. ZtopicList, ToCList
  2883.     -- cache references
  2884. bgMain 
  2885. /"main"
  2886. fBOL 
  2887. names
  2888.     -- build 
  2889. various lists
  2890. myPageName 
  2891. myPageID 
  2892. & "," 
  2893. G& CRLF 
  2894. chapterID 
  2895. tempName 
  2896. tempID 
  2897. TAB & 
  2898. %& "," 
  2899. widgetIDs 
  2900. outliner
  2901. source 
  2902. operatingMode 
  2903. "off"
  2904. topicIDs 
  2905. "tableofcontents" \
  2906. /"Table 
  2907. Contents" 
  2908. repage updateFlag
  2909. ZINT pageCounter
  2910. = TRUE
  2911.         pageHere = 
  2912. tList 
  2913. (tlist)
  2914. curTopic 
  2915. pList 
  2916. isObject("
  2917. " && 
  2918. tbk_wid_name 
  2919. widgets 
  2920. resetChecks
  2921. = FALSE
  2922. -- prepare 
  2923. a "close" 
  2924. buttonClick 
  2925. ><> "help"
  2926. "Book Outline" 
  2927. stringResource(Close)
  2928. authorFix
  2929. isOpen 
  2930. lockScreen 
  2931. operatingmode 
  2932. authorBounds 
  2933. buttons"
  2934. readerFix
  2935. readerBounds 
  2936. key, isShift, isCtrl
  2937. -- trying 
  2938. avoid a 
  2939. keyA 
  2940. saveAs 
  2941. keyEnter
  2942. searchReplace pm
  2943. gref 
  2944. bitmap "plus"
  2945. minus"
  2946. sofar 
  2947. tchar 
  2948. ~(pm,
  2949. fs > 0
  2950. graphic 
  2951. t,tl,sh
  2952. (selectedtextlines 
  2953. lockScreen 
  2954. a1Loc 
  2955. ~(a1,tl)
  2956. subheadings(outLineNumber(n,t)) 
  2957. k& sh 
  2958. curLevel 
  2959. indentLevel(tl)
  2960. FALSE
  2961. keyenter
  2962. operatingMode 
  2963. value
  2964. curmode 
  2965. source 
  2966. "off"
  2967. notifybefore 
  2968. operatingmode 
  2969. notifyafter 
  2970. subHeadings 
  2971. t,tl,retval
  2972. n,i,headingLevel,testLevel,prevTestLevel,retlinecount
  2973.         -- 
  2974. textLineNumber(
  2975. ,t)        
  2976.         -- find out what level 
  2977.         -- point 
  2978.         -- 
  2979. y, so 
  2980. outermost 
  2981. headinglevel 
  2982.     -- walk through 
  2983. outline, grabbing everything that 
  2984.     --one 
  2985. below current 
  2986.         -- 
  2987. results
  2988. 9& tl & 
  2989.         -- 
  2990. a child 
  2991. a "+" 
  2992. tabs (ignoring "+" 
  2993. "-") preceding a 
  2994. counter 
  2995. xansitoChar(1)
  2996. -- returns numbers 
  2997. form "1,3,2,1" etc
  2998. -- based on a given 
  2999. outlineNumber 
  3000. , theText
  3001. Zt,n,i,currentIndentLevel,retVal
  3002. 1 -- 
  3003. only 
  3004.             -- found 
  3005.             -- 
  3006. elder sibling
  3007.             -- 
  3008. ''s descendant
  3009. actual 
  3010. -- corresponds 
  3011. textlineNumber 
  3012. ZiLevel,n,iSibling,
  3013. 1 -- 
  3014. foundNextSibling 
  3015. t) > 
  3016. -1 -- 
  3017. t) < 
  3018. -1 -- 
  3019. -- didn't 
  3020. expected older 
  3021. -- therefore 
  3022. specified isn't 
  3023. notifyAfter 
  3024. oldBook 
  3025. eresource 
  3026. notifyBefore 
  3027. ogoes 
  3028. "Use 
  3029. o, on 
  3030. widget."
  3031. "You must 
  3032. 4copying 
  3033. f"Save" 
  3034. "Cancel"
  3035. saveAs
  3036. buttonClick
  3037. XSelect 
  3038. --The 
  3039. allows 
  3040. exclusive 
  3041. 3handler will 
  3042. --multiple selections 
  3043. a list box 
  3044. %the specified 
  3045. xselected.
  3046. --Once 
  3047. other lines 
  3048. --become unselected.
  3049. Sort 
  3050. a single-
  3051. uinside a 
  3052. This 
  3053. can be placed 
  3054. work 
  3055. fmore than one 
  3056. takes 
  3057. paramter:
  3058. --        XLine: Represents 
  3059. call 
  3060. Xselect 
  3061. following syntax:
  3062. ZLVsel
  3063. ("Which 
  3064. Ushould we exclude?"
  3065. omyNumber 
  3066. selectedTextlines 
  3067. (LVSel)
  3068. selectedTextLines 
  3069. value
  3070. isType(INT,
  3071. onum 
  3072. "Please 
  3073. a positive integer."
  3074. notifyBefore 
  3075. notifyAfter 
  3076. 4INT s_WM_DROPFILES
  3077. 0x0233
  3078.     linkDLL "SHELL"
  3079. 2DragAcceptFiles (WORD, 
  3080.      DragQueryCount = DragQueryFile (
  3081. v, DWORD, 
  3082. ? DragQueryValue = 
  3083. , POINTER, 
  3084. KERNEL"
  3085. | GlobalAlloc(
  3086. 5 GlobalLock(
  3087. GlobalUnlock(
  3088.  GlobalFree(
  3089. (sysClientHandle,1)
  3090.     translateWindowMessage 
  3091.         on 
  3092. filesDropped 
  3093. hwnd, wmsg, wp, lplo, lphi
  3094. ZhMem, pMem
  3095. = TRUE
  3096. cleanUp
  3097. l_count 
  3098. ( wp , -1 , 0, 0 )
  3099. objectFromPoint(
  3100. ) <> 
  3101. ) = "dropFiles"
  3102. 66,256)
  3103. (wp, 0, 
  3104. , 256 )
  3105. 1(0, 
  3106. (wp, i-1, 
  3107. , 256)
  3108. 1(0, 
  3109.  ) & 
  3110. GlobalUnLock(
  3111.         objs = 
  3112.         myCounter = 0
  3113. "OLE"
  3114. I* 200
  3115. b* 200
  3116. = False
  3117.     unTranslateWindowMessage 
  3118.     -- deal 
  3119. fdll refCount
  3120.     unlinkDLL "
  3121.     -- prevent E.S. 
  3122. xincluded
  3123. buttonClick
  3124.     linkDLL "gdi"
  3125.         INT setBKMode(WORD,
  3126.  CreateFontIndirect(POINTER)
  3127. ) Selectobject(
  3128. OTextout(
  3129. ^,STRING,
  3130. nDeleteObject(
  3131. user"
  3132.  GetDC(
  3133.  ReleaseDC(
  3134. kernel"
  3135.  GlobalAlloc(
  3136. DWORD)
  3137.  GlobalLock(
  3138.  GlobalUnlock(
  3139.  GlobalFree(
  3140. sysToolBookDirectory & "tb30win.dll"
  3141.  clientFromPage(
  3142.     -- create the font 
  3143. Windows
  3144. ZhLogFont,pLogFont, hFont, hPreviousFont, hDC, angle
  3145. 66, 64)
  3146.     -- see pg 307 
  3147. o SDK Programmer's Reference, vol. 3
  3148.     -- (
  3149. entry 
  3150. LOGFONT structure)
  3151. .(0, 
  3152. 0) -- 
  3153. Rheight, required -16 works 
  3154. but high resolution, large fonts.
  3155.     -- 2 
  3156. width, default 0
  3157.     -- 4 
  3158. escapement 
  3159. below
  3160.     -- 6 
  3161. ignored
  3162. .(8, 
  3163. 0) -- weight, 500 = medium, 0 = don't care
  3164.     -- 10 
  3165.     -- 11 
  3166.     -- 12 
  3167.     -- 13 
  3168. )(14, 
  3169. 2) -- output precision
  3170.     -- 15 
  3171. clip 
  3172.     -- 16 
  3173. quality
  3174. )(17, 
  3175. 0) -- pitch 
  3176. family, 32 
  3177. Swiss, 0 
  3178. 1(18, 
  3179. ) -- 
  3180. faces will 
  3181. . Here we use Arial, most other TrueType
  3182.     -- let 
  3183.  know who we are
  3184.     hDC = 
  3185. sysClientHandle)
  3186. setBkMode(
  3187.     -- force repaint
  3188. pageUnitsToClient(
  3189.     xPos = 
  3190.     yPos = 
  3191. 3600 
  3192. .( 4, 
  3193. , hDC)
  3194.     -- deal 
  3195. fdll refCount
  3196.     unlinkDLL "
  3197. y & "
  3198. notifyBefore 
  3199.     -- Slider control 
  3200. begins here
  3201. -- NOTES ABOUT IDENTIFIERS
  3202. -- s_slider prefix -> 
  3203. ZSTRING className
  3204.  = txClassName 
  3205. c"Thumb"
  3206. setSliderLimits 
  3207. 4s_sliderv, s_sliderMin, s_sliderMax, s_sliderPosition
  3208. loc -- flag 
  3209. prevent updating 
  3210. mouse 
  3211. xmoved
  3212. s_sliderV <> 
  3213. "HSliderThumb"
  3214. B)), 
  3215. sldrPosition 
  3216. slidePos(
  3217. "VSliderThumb"
  3218. snapSlider(
  3219. Q1 - 
  3220.         glide = 
  3221.         width = 
  3222. centered 
  3223.         height = 
  3224.  thumbPosition, 
  3225. b(0,(
  3226. j) /(
  3227. value
  3228.             -- Another 
  3229. may be 
  3230. controlling 
  3231. OldMin 
  3232. OldMax 
  3233. j(1,(
  3234. "vSliderThumb"
  3235. pOffset 
  3236. ) * (1-
  3237. newPos 
  3238. "hSliderThumb"
  3239.             -- Restore state 
  3240. ZSTACK detents
  3241.  = detentList 
  3242. catchRange 
  3243. M) < 0
  3244. -- Slider control 
  3245. begins here
  3246. -- NOTES ABOUT IDENTIFIERS
  3247. -- s_slider prefix     ->
  3248. ZSTRING className
  3249.  = txClassName 
  3250. FALSE
  3251. c"Thumb"
  3252. setSliderLimits 
  3253. 4s_sliderv, s_sliderMin, s_sliderMax, s_sliderPosition
  3254. A = loc --
  3255. & flag 
  3256. prevent updating 
  3257. mouse 
  3258. xmoved
  3259. s_sliderV <> 
  3260. "HSliderThumb"
  3261. B)), 
  3262. sldrPosition 
  3263. slidePos(
  3264. "VSliderThumb"
  3265. snapSlider(
  3266. Q1 - 
  3267. glide 
  3268. width 
  3269. height 
  3270.  thumbPosition, 
  3271. b(0,(
  3272. j) /(
  3273. value
  3274.             -- Another 
  3275. may be 
  3276. controlling 
  3277. OldMin 
  3278. OldMax 
  3279. j(1,(
  3280. "vSliderThumb"
  3281. pOffset 
  3282. ) * (1-
  3283. newPos 
  3284. "hSliderThumb"
  3285.             -- Restore state 
  3286. ZSTACK detents
  3287.  = detentList 
  3288. catchRange 
  3289. M) < 0
  3290. -- sets the thumb 
  3291. location specifed
  3292. sliderPos 
  3293. value
  3294. Zscale
  3295. sliderMin 
  3296. sliderMax 
  3297. mySliderPos 
  3298. xPix 
  3299. sysPageUnitsPerPixel
  3300. sliderBounds 
  3301. "bar" 
  3302. nearestPupp(
  3303. oldP 
  3304. nearestPUPP(
  3305. percentage 
  3306. newP 
  3307. x1 + (x2-x1-w)*
  3308. sliderMove 
  3309. -- renumbers 
  3310. labels 
  3311. , numTics, 
  3312. tallTicSpacing 
  3313. adjustNumbers
  3314. numFields 
  3315. w / ts
  3316. j) / 
  3317. 5),10)
  3318. curfield 
  3319. xCenter 
  3320. U(i*ts) 
  3321. ),10)+1 
  3322. -- centers 
  3323. {horizontally on 
  3324. maximum 
  3325.  && "
  3326. invalid."
  3327. mySliderMax 
  3328. minimum 
  3329.  && "
  3330. mySliderMin 
  3331. frequency 
  3332. tic marks on 
  3333. high 
  3334. U"0" 
  3335. U"0" 
  3336. FALSE
  3337. myTallTicSpacing 
  3338. tics on 
  3339.  > 50 
  3340.  must be a 
  3341.  between 1 
  3342. thumbWidth 
  3343. U"base" 
  3344. (x2 - x1) / 
  3345. leftMost 
  3346. curLine 
  3347. curline 
  3348. myNumTics 
  3349. gets 
  3350. above.
  3351. -- notify handlers 
  3352. Mthese messages aren't handled.
  3353. notifyBefore startSliderMove
  3354. *endSliderMove
  3355. -- returns 
  3356.  whole pixel, 
  3357. pageunits
  3358.  val,
  3359. Jprimary mouse 
  3360. primaryMouseButton
  3361.     linkDLL "user"
  3362. getSystemMetrics(
  3363. 23) > 0
  3364.     unlinkDLL "
  3365.     --Save the initial 
  3366. Bthat was pressed 
  3367. compare 
  3368. }handler 
  3369. --toggle 
  3370. Akeyboard so only one 
  3371. inverted.
  3372. 4initialButton, initialButtonClass
  3373. "input"
  3374. txClassName 
  3375. >= "ALPHA"
  3376. toggleInvert 
  3377. >, "NON-
  3378. --Check 
  3379. released over a 
  3380. different 
  3381. a buttonClick 
  3382. FToolBook will 
  3383. , invertedButton, invertedButtonClass
  3384. objectFromPoint(
  3385. 9s = "
  3386. Us = "
  3387. FALSE
  3388. nlabel 
  3389. sysPageUnitsPerPixel), -(
  3390. el * 5)
  3391. --As 
  3392. mouse 
  3393. drug around 
  3394. Bdown 
  3395. buttons 
  3396. cursor passes 
  3397. them.
  3398. Roff 
  3399. isChild(
  3400. l), -(
  3401. l * 5)
  3402. {so I always 
  3403. }pairs.
  3404. labelText 
  3405. = "Shift"
  3406. = "Ctrl"
  3407. = "Alt"
  3408. = "Caps Lock"
  3409. = "Tab"
  3410. , TRUE 
  3411. = "Enter"
  3412. keyEnter 
  3413. = "<-"
  3414. notifyAfter 
  3415. --This 
  3416. takes care 
  3417. popping up 
  3418. inverting 
  3419. targetObject.
  3420. toggleObject, class
  3421. l), -(
  3422. l * 5)
  3423. l * 5)
  3424. --returns 
  3425. objectInQuestion 
  3426. a child 
  3427. parentInQuestion
  3428. acting 
  3429. The enter 
  3430. special because 
  3431. --parts.
  3432. --Copyright 
  3433.  1991-1994
  3434. Asymetrix Corporation
  3435. gives you permission 
  3436. e, revise 
  3437. reuse the 
  3438. --individual 
  3439. scripts 
  3440. your own 
  3441. --applications.
  3442. You may 
  3443. x, however, 
  3444. Sentire 
  3445. --substantial part 
  3446. redistribution 
  3447. jproduct.
  3448. retains 
  3449. copyright on 
  3450. original elements 
  3451.  . Include 
  3452. notice "Portions 
  3453.  are 
  3454. they 
  3455. --contain 
  3456. copied 
  3457. --A note on language independence:
  3458. For ease 
  3459. translating 
  3460. strings 
  3461. readers that come 
  3462. functions located 
  3463. --The names 
  3464. these 
  3465. letters: "
  3466. toggleStatus
  3467. openWindow
  3468. 4memory, theStore, svNumFormat
  3469. = TRUE
  3470. [displays 
  3471. initialize 
  3472. up formats
  3473. B"clear_all"
  3474. l = 0
  3475. k = 0
  3476. "0" & sysDecimal & "00"
  3477. o= default
  3478. = FALSE
  3479. --controls 
  3480. numbers, checks 
  3481. overflow, multiple 
  3482. --points, sets 
  3483. Jkey value 
  3484. generic 
  3485. 4last_key
  3486. ") >= 16 
  3487. continued 0's
  3488. " = 0 
  3489. --replace 
  3490. " = 0 
  3491. "0." 
  3492. --append 
  3493. "0." 
  3494. keystroke
  3495. --This 
  3496.  performs calculations.
  3497. If no values had been entered 
  3498. --saved, 
  3499. 're repeatedly hitting 
  3500. same operator 
  3501. , no action
  3502. taken.
  3503. If one 
  3504. passed 
  3505. jno other 
  3506. If two 
  3507. calculated 
  3508. previously stored 
  3509. their 
  3510. --result 
  3511. displayed 
  3512. scrollable tape.
  3513. val1. 
  3514.  new_op 
  3515. op, savekey
  3516. --ignore 
  3517.  hits on 
  3518. "+-x/") 
  3519. "+-x/"))
  3520. --special 
  3521. equal sign 
  3522. x"mr" 
  3523. x"math"
  3524. have 
  3525. .out 
  3526. dividing 
  3527. --only 
  3528. operation
  3529. " = 0
  3530.  strNoZeroDivide()
  3531. under/
  3532. c strOverflow()
  3533. c strUnderflow()
  3534. handler intercepts 
  3535. strokes 
  3536. If a 
  3537. --calculator 
  3538. equivalent 
  3539. pressed, a 
  3540. Emessage 
  3541. sent 
  3542. corresponding 
  3543. ZSTRING keyAsChar
  3544. "0123456789+-*/="&
  3545. ("0") 
  3546. ("9")
  3547. ("0"))
  3548.  = "*"
  3549.  = "x"
  3550.  = "="
  3551. posNum num
  3552. isType(REAL, 
  3553.  >= 0
  3554. strDisplayNumber fValue
  3555. If there's no dec pt don't 
  3556. There's a 
  3557. "Can't divide 
  3558. buttonClick 
  3559. temp 
  3560. " && 
  3561. >& CRLF
  3562. "My gliss 
  3563. " && 
  3564. "My sustain 
  3565. " && 
  3566. "My program 
  3567. " && 
  3568. "My volume 
  3569. " && 
  3570. "My channel 
  3571. " && 
  3572. "My device 
  3573. " && 
  3574. "You can accept these values 
  3575. them." 
  3576. f"Accept" 
  3577. "Edit"
  3578. editWidget 
  3579.         -- 
  3580.         -- 
  3581.         -- 
  3582.         -- 
  3583. perfectly equivalent
  3584. notifyBefore customEdit obj
  3585. k" will always be 
  3586. 's there 
  3587. %part 
  3588. " syntax.
  3589. , init, retValue
  3590.     linkDLL sysToolBookDirectory & "tb30dlg.dll"
  3591.         STRING    Dialog
  3592. SetValue            (
  3593. 1     GetValue            (
  3594. "mmSystem.
  3595.         WORD    MidiOutGetNumDevs    ()
  3596. = TRUE
  3597. odlgInit,"
  3598. ","FALSE")
  3599. = i - 1
  3600. + 1) 
  3601. "comboBox 
  3602. = i - 1
  3603. + 1) 
  3604. = i - 1
  3605. + 1) 
  3606. 2 --fake 
  3607. z, should be derived 
  3608. = i - 1
  3609. + 1) 
  3610. odlgBox,
  3611. getValue(
  3612. Bok") = 
  3613. directly 
  3614. the "tools30.sbk" sysbook.
  3615.     unlinkDLL 
  3616. y & "
  3617. -- This 
  3618. N"' lives on the 
  3619. serves
  3620. table 
  3621. contents 
  3622. every chapter. Each 
  3623. -- has one 
  3624. a userProperty containing a 
  3625. -- list 
  3626. numbers 
  3627. BookOutline dialog box 
  3628. passed 
  3629. handler via
  3630. pageList parameter.
  3631. widgetIDs 
  3632. limited 
  3633. ZLONG maxtopics,listCount
  3634. ZLOGICAL vst,badPageFlag
  3635. ZSTACK objs
  3636. ZOBJECT currentCheck,currentField,currentGroup
  3637. ZcurPageID
  3638. isObject("
  3639. " && 
  3640.         -- debug: unnecessary test, I hope
  3641. FALSE
  3642. isn't there!
  3643. i -- 
  3644. shorter
  3645. upDatetopics 
  3646. 8outline"
  3647.         -- 
  3648.             -- find 
  3649. that 
  3650. been visited
  3651. ("g"&i) 
  3652.             -- update 
  3653. each 
  3654. Mbased on 
  3655. pgID 
  3656.             -- 
  3657. checkmark, 
  3658. appropriate
  3659. selected 
  3660. remaining tabs
  3661. ("g"&i) 
  3662. -- updates 
  3663. checkmarks. 
  3664. called instead 
  3665. coming 
  3666. -- since only 
  3667. need 
  3668. be updated
  3669. updateChecks 
  3670.         -- 
  3671. representing a "
  3672.         -- 
  3673. made up 
  3674. a checkbutton.
  3675. curtopic 
  3676. ("g"&i) 
  3677. fieldRef
  3678. checkRef
  3679. " && 
  3680. goPage
  3681.     -- turn on 
  3682. initPage 
  3683. -- highlights 
  3684. M"buttons" (they're really fields)
  3685. value
  3686. WHITE
  3687. LIGHTGRAY
  3688. darkBlue()
  3689. --    Charlie Hiestand & Tim Pearson, Asymetrix    1/94
  3690. Ctrl+Shift+Click 
  3691. used 
  3692. %the panic 
  3693. kill 
  3694. hung MIDI notes
  3695. /sustain pedal, which sustains a 
  3696. #roperty = 
  3697. does 
  3698. xunlink 
  3699. ~dlls except 
  3700. dialog box. 
  3701. {    loc, isShift, isCtrl
  3702. 4    s_channel, s_device, s_currentKey
  3703. ZSTACK objs
  3704. openMIDI
  3705. A <> 
  3706.         gli = 
  3707. ogliss
  3708. playMIDI 
  3709. ) = "down"
  3710. objectFromPoint(
  3711. xsus 
  3712. stopMIDI 
  3713.  = FALSE
  3714. = TRUE
  3715.  <> NULL
  3716. 4    s_hMidiOut, 
  3717. MidiOutShortMsg(
  3718. &packDword(192 + 
  3719. oprogram,0))
  3720. %44 + 
  3721. ovolume))
  3722. "Unable 
  3723. 28 + 
  3724. Z    pMem
  3725. X"KERNEL"
  3726.         WORD     GlobalAlloc            (
  3727. ,DWORD)
  3728.         POINTER    GlobalLock            (
  3729. 9Handle        (
  3730. J    GlobalUnlock        (
  3731. a    GlobalFree            (
  3732. linkDLL
  3733. X"mmsystem.dll"
  3734.     midiOutOpen            (
  3735.     MidiOutReset        (
  3736.     MidiOutClose        (
  3737.     MidiOutGetNumDevs    ()
  3738. closeMIDI
  3739. %() <= 0
  3740. devices found"
  3741.  = getWinPointer(32)
  3742. MidiOutOpen(
  3743. 0,0,0)
  3744. freeWinPointer(
  3745.  nSize
  3746.     hMem
  3747. Z            retValue
  3748. X = GlobalHandle(
  3749. packDWord a, b, c
  3750. a + (b * 256) + (c * 65536)
  3751. notifyAfter 
  3752. notifyBefore customEdit obj
  3753. oeditWidget = 
  3754. -- "val" will always be 
  3755. 's there 
  3756. %part 
  3757. " syntax.
  3758. init, 
  3759.  sysToolBookDirectory & "tb30dlg.
  3760.         STRING    Dialog
  3761. SetValue            (
  3762. 1     GetValue            (
  3763.  "mmSystem.
  3764. odlgInit,"
  3765. (    ","
  3766. I    ","
  3767.  = i - 1
  3768.  + 1) 
  3769. "comboBox 
  3770.  = i - 1
  3771.  + 1) 
  3772.      = i - 1
  3773.  + 1) 
  3774.  = i - 1
  3775.  + 1) 
  3776. odlgBox,
  3777. getValue(
  3778. Bok") = 
  3779.     -- You can also 
  3780. these directly 
  3781. "tools30.sbk" sysbook.
  3782.     unlinkDLL 
  3783. y & "
  3784. PlotValues 
  3785. MaxPies 
  3786. defValues 
  3787. NumPies 
  3788. vtotal 
  3789. FullPie 
  3790. vTotal > 1
  3791.         -- Normalize values so they 
  3792. 1 (100%)
  3793.         -- 
  3794. fill pieChart
  3795.     -- Now 
  3796. bnds 
  3797. xCenter 
  3798. yCenter 
  3799. vRadius 
  3800. e) / 2
  3801. oldLock 
  3802.         obj = 
  3803. (i <= 
  3804. CumulVal 
  3805. zeroAngle 
  3806. StartAngle 
  3807. PtStart 
  3808. ") * 
  3809. 6) * 
  3810. ptStart 
  3811. startAngle 
  3812. CumulAngle 
  3813. )) * 
  3814. A) * 
  3815. vVertices 
  3816. newVertices 
  3817. prevPie
  3818. plotValues
  3819. PlotOrigin 
  3820. isNumber(
  3821.  >= 0 
  3822.  <= 360
  3823.         myPlotOrigin 
  3824. / 180)
  3825. plotOrigin
  3826. PlotColors 
  3827.     myPlotColors 
  3828. H,L,S
  3829. plotColors
  3830. -- This 
  3831. could be considerably optimized 
  3832. ]arrays
  3833. typing the 
  3834. PlotValues 
  3835. oldCursor 
  3836. MaxLines 
  3837. >) - 1
  3838. MaxPoints 
  3839. >) / 2
  3840. cTextLineCount(
  3841. g) > 
  3842. defValues 
  3843. NumLines 
  3844. vMin 
  3845. vMax 
  3846. vValLine 
  3847. NumPoints 
  3848. bnds 
  3849. plotHeight 
  3850. &) / 2
  3851. < -1 
  3852.         -- Normalize values so they fit 
  3853. chart
  3854.     -- Now 
  3855.     -- Compute 
  3856. between 
  3857.  points
  3858. xIncrement 
  3859. ) / (
  3860. oldLock 
  3861.     -- Note: Object 1 
  3862. always a "
  3863. defining 
  3864. (i <= 
  3865. linObj 
  3866. linVertices 
  3867. maxPoints
  3868. j <= 
  3869. y - (
  3870. (j-1) * 2 + 1
  3871. plotValues
  3872. PlotWeight 
  3873. isNumber(
  3874.  >= 1 
  3875.  <= 100
  3876.         myPlotWeight 
  3877. j(8, 
  3878. b(1, 
  3879. y17))
  3880. plotWeight
  3881. PlotColors 
  3882.     myPlotColors 
  3883. H,L,S
  3884. -- Automatically 
  3885. "frame" used 
  3886. reference
  3887. showframe 
  3888. notifyBefore 
  3889. showFrame
  3890. PlotValues 
  3891. MaxBars 
  3892. >) - 1
  3893. !) > 
  3894. defValues 
  3895. NumBars 
  3896. vMin 
  3897. vMax 
  3898. bnds 
  3899. plotHeight 
  3900. .) / 2
  3901. < -1 
  3902.         -- Normalize values so they fit 
  3903. chart
  3904. normConst 
  3905.     -- Now 
  3906.     -- Compute bar width
  3907. barWeight 
  3908. / 100
  3909. barWidth 
  3910. b(30, 
  3911. blankWidth 
  3912. } - (
  3913. )) / (
  3914. oldLock 
  3915.     -- Note: Object 1 
  3916. always a "
  3917. defining 
  3918. (i <= 
  3919. x, y1, x + 
  3920. plotValues
  3921. PlotWeight 
  3922. isNumber(
  3923.  >= 1 
  3924.  <= 360
  3925.         myPlotWeight 
  3926. plotWeight
  3927. PlotColors 
  3928.     myPlotColors 
  3929. H,L,S
  3930. plotColors
  3931. -- Automatically 
  3932. the "frame" used 
  3933. reference
  3934. showframe 
  3935. notifyBefore 
  3936. showFrame
  3937. Multiple Choice
  3938. Initialization and Cleanup
  3939. Keyboards
  3940. Alpha Buttons,Qwerty Keyboard,Calculator,Midi Keyboard
  3941. myPageList
  3942. 72,58,59,76
  3943. widgetIDs
  3944. 72,58,59,76
  3945. Keyboards
  3946. Miscellaneous
  3947. Three
  3948. contentBar
  3949. enterPage
  3950. keyDown
  3951. keyUp
  3952. -- trap 
  3953. stop infinite loop 
  3954. navigation 
  3955. Bnotify handlers
  3956. out,true
  3957. ThreeDeeRect
  3958. bottomLine
  3959. topLine
  3960. heading
  3961. raisedField
  3962. tbk_wid_name
  3963. faceColor
  3964. highlightColor
  3965. shadowColor
  3966. tbk_wid_props
  3967. color,hls
  3968. color,hls
  3969. color,hls
  3970. tbk_wid_values
  3971. faceText
  3972. highlight
  3973. Table of contents
  3974. shadow
  3975. Table of contents
  3976. Table of contents
  3977. tableOfContents
  3978. tableOfContents
  3979. buttonClick
  3980. buttonClick
  3981. tableOfContents 
  3982. currentPage 
  3983. tableOfContents
  3984. help_text
  3985. Table of &contents
  3986. SectionLabel
  3987. Topic:n:
  3988. topics
  3989. topics
  3990. buttonclick
  3991. enterPage
  3992. buttonclick
  3993. currentPage 
  3994. notifyBefore 
  3995.     -- hard wired 
  3996. accomodate multiple backgrounds
  3997. "main"
  3998. oenabled 
  3999. FALSE
  4000. topics
  4001. help_text
  4002. &Topics
  4003. Outline
  4004. cancel
  4005. Cancel
  4006. book outline
  4007. Book Outline
  4008. buttonClick
  4009. buttonClick
  4010. 8outline" 
  4011. "Cancel"
  4012. "Book Outline"
  4013. outline
  4014. help_text
  4015. &Outline
  4016. enterPage
  4017. Qwerty Keyboard
  4018. Advanced Widgetry
  4019. Book Outline
  4020. Calculator
  4021. Keyboards
  4022. chapter
  4023. FALSE
  4024. visited
  4025. chapterID
  4026. Group id 28 of Page id 59
  4027. widgets
  4028. Ten-key style calculator with memory.
  4029. A regular old calculator, works great except that it's not solar powered.
  4030. Calculator
  4031. Calculator
  4032. tbk_wid_name
  4033. memory
  4034. buttonClick
  4035. buttonClick
  4036. 4memory
  4037. display
  4038. memory
  4039. last_key
  4040. buttonClick
  4041. buttonClick
  4042. 4last_key, memory
  4043. "display" --
  4044. display
  4045. last_key
  4046. memory
  4047. buttonClick
  4048. buttonClick
  4049. 4memory, last_key
  4050. "display"
  4051. "mr" 
  4052. display
  4053. memory
  4054. last_key
  4055. buttonClick
  4056. buttonClick
  4057. 4last_key, memory
  4058. "display" --subtract 
  4059. calculate
  4060. buttonClick
  4061. buttonClick
  4062. calculate (
  4063. LBdisplay
  4064. buttonClick
  4065. buttonClick
  4066. display (
  4067. decimal
  4068. clear
  4069. display
  4070. last_key
  4071. buttonClick
  4072. theStore
  4073. buttonDoubleClick
  4074. buttonClick
  4075. 4last_key
  4076. "display" 
  4077. Jkeystroke
  4078. 4theStore, op
  4079. --initialize 
  4080. temp value
  4081. operator
  4082. plusminusbtn
  4083. display
  4084. buttonup
  4085. "display" 
  4086. * (-1)
  4087. display
  4088. buttonClick
  4089. buttonDoubleClick
  4090. buttonClick
  4091. 10011997480157360e+036
  4092. FALSE
  4093. hotword
  4094. month
  4095. buttonup
  4096. .%,    #?
  4097. decrement
  4098. daysInMonth
  4099. is outside range 1 to
  4100. increment
  4101. decrement
  4102. month
  4103. increment
  4104. month
  4105. out of range 1 to 12
  4106. month
  4107. month
  4108. month
  4109. decrement
  4110. increment
  4111. out of range 00 to 99
  4112. month
  4113. mm / dd / yy
  4114. newHotwordID
  4115. initialize
  4116. 31,28,31,30,31,30,31,31,30,31,30,31
  4117. month
  4118. daysInMonth
  4119. hotword
  4120. newHotwordID
  4121. V,    #>
  4122. mouseLoc
  4123. marker
  4124. count
  4125. lineHeight
  4126. targetLine
  4127. lineList
  4128. tlines
  4129. llineYloc
  4130. tline
  4131. IvertLoc
  4132. buttonDown
  4133. lineHeight
  4134. sizeSample
  4135. lineHeight
  4136. lineYloc
  4137. marker
  4138. lineHeight
  4139. adjustSize
  4140. kGetValue
  4141. button ok
  4142. tb30dlg.dll
  4143. vSetValue
  4144. FALSE
  4145. EDIT message,E3604,
  4146. BUTtoN ok,B1,TRUE
  4147. BUTtoN cancel,B3606,FALSE
  4148. listBox answers
  4149. 524480,6,25,25,186,74,,,Edit True or False,8,MS Sans Serif,,2,3,130,55,3607,1342177287,128,Answers:,0,,5,32,125,7,3603,1342177280,130,Text,0,answers,5,13,49,21,3596,1352728577,131,,0,message,5,42,124,11,3604,1350631552,129,,0,ok,136,7,44,12,1,1342242817,128,OK,0,cancel,136,22,44,12,3606,1342242816,128,Cancel,0
  4150. <ManswerMessage
  4151. vADialogCallback
  4152. =ManswerMessage
  4153. 2    s_answerMessages
  4154. DialogCallback
  4155. GetValue
  4156. SetValue
  4157. GetnListBoxSelection
  4158. GetControlText
  4159. SetControlText
  4160. SetnListBoxSelection
  4161. endTBKDialog
  4162. ,G3607,Answers:
  4163. ,S3603,Message to Send When Chosen:
  4164. LISTBOX answers,L3596,TRUE
  4165. customEdit
  4166. SetnListBoxSelection
  4167. listBox answers
  4168. TBKDialogInit
  4169. LISTBOX answers
  4170. GetnListBoxSelection
  4171. SetControlText
  4172. Button ok
  4173. GetControlText
  4174. endTBKDialog
  4175. EDIT message
  4176. listBox answers
  4177. Button cancel
  4178. edit message
  4179. 2    s_answerMessages
  4180. TBKDialogCommand
  4181. reader
  4182. customEdit
  4183. reader
  4184. enterPage
  4185. author
  4186. tb30dlg.dll
  4187. vSetValue
  4188. DialogCallback
  4189. SetValue
  4190. GetValue
  4191. AddListBoxItem
  4192. DeletenListBoxItem
  4193. EnableControl
  4194. GetControlText
  4195. GetDialogFocus
  4196. GetListBoxItems
  4197. GetListBoxSelection
  4198. GetnListBoxSelection
  4199. SetControlText
  4200. SetDialogFocus
  4201. SetListBoxItems
  4202. SetnListBoxSelection
  4203. endTBKDialog
  4204. listBox answers
  4205. 524480,9,25,25,228,104,,,Edit Multiple Choice,8,MS Sans Serif,,2,4,171,80,3597,1342177287,128,Answers:,0,,5,59,125,7,3603,1342177280,130,Text,0,answers,5,17,124,39,3596,1352728577,131,,0,add,133,17,37,12,3600,1342242816,128,&Add,0,delete,133,31,37,12,3601,1342242816,128,&Delete,0,edit,133,45,37,12,3602,1342242816,128,&Edit...,0,message,5,69,124,11,3604,1350631552,129,,0,ok,178,7,44,12,1,1342242817,128,OK,0,cancel,178,22,44,12,3606,1342242816,128,Cancel,0
  4206. <ManswerMessage
  4207. ,G3597,Answers:
  4208. ,S3603,Message to Send When Chosen:
  4209. LISTBOX answers,L3596,
  4210. BUTtoN add,B3600,NODISMISS
  4211. BUTtoN delete,B3601,NODISMISS
  4212. BUTtoN edit,B3602,NODISMISS
  4213. EDIT message,E3604,
  4214. BUTtoN ok,B1,TRUE
  4215. BUTtoN cancel,B3606,FALSE
  4216. vADialogCallback
  4217. 2    s_answerMessages
  4218. customEdit
  4219. SetControlText
  4220. listbox answers
  4221. SetnListBoxSelection
  4222. listBox answers
  4223. button delete
  4224. edit message
  4225. jGetListBoxSelection
  4226. AEnableControl
  4227. GetListBoxItems
  4228. TBKDialogInit
  4229. 1+4!7
  4230. V,    #>
  4231. .%,    #>
  4232. .%,    #>
  4233. .%,    #>
  4234. listBox answers
  4235. QOtbk_wid_props
  4236. invert of target = TRUE
  4237. LISTBOX answers
  4238. Button add
  4239. Button ok
  4240. button
  4241. lGetDialogFocus
  4242. to handle buttonDown
  4243. Button edit
  4244. edit message
  4245. listbox answers
  4246. to handle buttonUp
  4247. Answer Caption:
  4248. 4DeletenListBoxItem
  4249. newAnswer
  4250. endTBKDialog
  4251. editWidget
  4252. GetControlText
  4253. =ManswerMessage
  4254. AEnableControl
  4255. send (answerMessage of target) to target
  4256. GetListBoxItems
  4257. to set editWidget
  4258. send customEdit to item 1 of my objects
  4259. Cancel
  4260. wAddListBoxItem
  4261. gobjLayer
  4262. GetnListBoxSelection
  4263. SetControlText
  4264. GvSetDialogFocus
  4265. BUTtoN cancel
  4266. button delete
  4267. SetnListBoxSelection
  4268. Multiple Choice
  4269. Answer &
  4270. answer
  4271. Button delete
  4272. EDIT message
  4273. SetListBoxItems
  4274. jGetListBoxSelection
  4275. sptbk_wid_values
  4276. tbk_wid_name
  4277. my invert = FALSE
  4278. 2    s_answerMessages
  4279. custom,editWidget
  4280. TBKDialogCommand
  4281. page,background
  4282. objLayer
  4283. reader
  4284. customEdit
  4285. reader
  4286. enterPage
  4287. author
  4288. tb30dlg.dll
  4289. vSetValue
  4290. DialogCallback
  4291. SetValue
  4292. GetValue
  4293. AddListBoxItem
  4294. DeletenListBoxItem
  4295. EnableControl
  4296. GetControlText
  4297. GetDialogFocus
  4298. GetListBoxItems
  4299. GetListBoxSelection
  4300. GetnListBoxSelection
  4301. SetControlText
  4302. SetDialogFocus
  4303. SetListBoxItems
  4304. SetnListBoxSelection
  4305. endTBKDialog
  4306. listBox answers
  4307. 524480,9,25,25,228,104,,,Edit Multiple Choice,8,MS Sans Serif,,2,4,171,80,3597,1342177287,128,Answers:,0,,5,59,125,7,3603,1342177280,130,Text,0,answers,5,17,124,39,3596,1352728577,131,,0,add,133,17,37,12,3600,1342242816,128,&Add,0,delete,133,31,37,12,3601,1342242816,128,&Delete,0,edit,133,45,37,12,3602,1342242816,128,&Edit...,0,message,5,69,124,11,3604,1350631552,129,,0,ok,178,7,44,12,1,1342242817,128,OK,0,cancel,178,22,44,12,3606,1342242816,128,Cancel,0
  4308. <ManswerMessage
  4309. ,G3597,Answers:
  4310. ,S3603,Message to Send When Chosen:
  4311. LISTBOX answers,L3596,
  4312. BUTtoN add,B3600,NODISMISS
  4313. BUTtoN delete,B3601,NODISMISS
  4314. BUTtoN edit,B3602,NODISMISS
  4315. EDIT message,E3604,
  4316. BUTtoN ok,B1,TRUE
  4317. BUTtoN cancel,B3606,FALSE
  4318. vADialogCallback
  4319. 2    s_answerMessages
  4320. customEdit
  4321. SetControlText
  4322. listbox answers
  4323. SetnListBoxSelection
  4324. listBox answers
  4325. button delete
  4326. edit message
  4327. jGetListBoxSelection
  4328. AEnableControl
  4329. GetListBoxItems
  4330. TBKDialogInit
  4331. 1+4!7
  4332. V,    #>
  4333. .%,    #>
  4334. .%,    #>
  4335. .%,    #>
  4336. Cancel
  4337. QOtbk_wid_props
  4338. wAddListBoxItem
  4339. custom,editWidget
  4340. LISTBOX answers
  4341. button
  4342. gobjLayer
  4343. GetnListBoxSelection
  4344. Button add
  4345. SetControlText
  4346. GvSetDialogFocus
  4347. listbox answers
  4348. Button delete
  4349. send (answerMessage of target) to target
  4350. SetnListBoxSelection
  4351. endTBKDialog
  4352. newAnswer
  4353. GetControlText
  4354. lGetDialogFocus
  4355. answer
  4356. Multiple Choice
  4357. Button edit
  4358. EDIT message
  4359. listBox answers
  4360. send customEdit to item 1 of my objects
  4361. Answer &
  4362. button delete
  4363. Answer Caption:
  4364. 4DeletenListBoxItem
  4365. Button ok
  4366. editWidget
  4367. edit message
  4368. Button cancel
  4369. SetListBoxItems
  4370. =ManswerMessage
  4371. jGetListBoxSelection
  4372. sptbk_wid_values
  4373. tbk_wid_name
  4374. AEnableControl
  4375. to handle buttonClick
  4376. 2    s_answerMessages
  4377. GetListBoxItems
  4378. to set editWidget
  4379. TBKDialogCommand
  4380. page,background
  4381. objLayer
  4382. reader
  4383. customEdit
  4384. reader
  4385. enterPage
  4386. author
  4387. 1,    "j
  4388. .&,    "
  4389. minus
  4390. searchReplace
  4391. /searchReplace
  4392. 0]outLineNumber
  4393. minus
  4394. indentLevel
  4395. curLevel
  4396. subheadings
  4397. buttonDoubleClick
  4398. keyDown
  4399. .&+    +
  4400. source
  4401. /searchReplace
  4402. curmode
  4403. subheadings
  4404. source
  4405. operatingMode
  4406. reader
  4407. JFoperatingmode
  4408. enterPage
  4409. JFoperatingmode
  4410. author
  4411. JFoperatingmode
  4412. reader
  4413. source
  4414. textLineNumber
  4415. indentLevel
  4416. subHeadings
  4417. ,%H.%
  4418. counter
  4419. indentLevel
  4420. indentLevel
  4421. outlineNumber
  4422. false
  4423. indentLevel
  4424. foundNextSibling
  4425. textlineNumber
  4426. A7oldBook
  4427. minus
  4428. Use copy, not cut, on this widget.
  4429. Cancel
  4430. B7oldBook
  4431. You must save this book before copying this widget.
  4432. FALSE
  4433. txClassName
  4434. Thumb
  4435. setSliderLimits
  4436. buttonDown
  4437. 1,"!#
  4438. false
  4439. s_sliderPosition
  4440. HSliderThumb
  4441. s_sliderv
  4442. VSliderThumb
  4443. txClassName
  4444. s_sliderMin
  4445. s_sliderMax
  4446. oslidePos
  4447. 9sldrPosition
  4448. buttonStillDown
  4449. s_sliderV
  4450. false
  4451. snapSlider
  4452. s_sliderPosition
  4453. HSliderThumb
  4454. VSliderThumb
  4455. txClassName
  4456. s_sliderMin
  4457. s_sliderMax
  4458. oslidePos
  4459. sliderPosition
  4460. buttonUp
  4461. s_sliderV
  4462. HSliderThumb
  4463. VSliderThumb
  4464. txClassName
  4465. s_sliderMin
  4466. s_sliderMax
  4467. glide
  4468. setSliderLimits
  4469. slidePos
  4470. 9sldrPosition
  4471. sliderPosition
  4472. newPos
  4473. OldMax
  4474. hSliderThumb
  4475. pOffset
  4476. group
  4477. SliderThumb
  4478. OldMin
  4479. vSliderThumb
  4480. txClassName
  4481. s_sliderMin
  4482. s_sliderMax
  4483. thumb
  4484. setSliderLimits
  4485. sliderPosition
  4486. 9sldrPosition
  4487. sliderPosition
  4488. detentList
  4489. snapSlider
  4490. sliderMove
  4491. sliderMax
  4492. sliderMin
  4493. sliderMax
  4494. sliderBounds
  4495. sliderMin
  4496. nearestPupp
  4497. thumb
  4498. mySliderPos
  4499. nearestPUPP
  4500. sliderPos
  4501. sliderMax
  4502. curfield
  4503. numTics
  4504. mtallTicSpacing
  4505. sliderMin
  4506. DxCenter
  4507. LnumTics
  4508. adjustNumbers
  4509. xCenter
  4510. mySliderMax
  4511. sliderMin
  4512. W\adjustNumbers
  4513. is invalid.
  4514. sliderMin
  4515. sliderMax
  4516. sliderMax
  4517. sliderMax
  4518. mySliderMin
  4519. W\adjustNumbers
  4520. is invalid.
  4521. sliderMin
  4522. ,%H.%
  4523. myTallTicSpacing
  4524. W\adjustNumbers
  4525. tallTicSpacing
  4526. curLine
  4527. sliderMax
  4528. sliderMin
  4529. thumb
  4530. sliderMax
  4531. sliderBounds
  4532. W\adjustNumbers
  4533. sliderMin
  4534. numTics must be a value between 1 and 50.
  4535. myNumTics
  4536. nearestPupp
  4537. nearestPUPP
  4538. leftMost
  4539. numTics
  4540. myTallTicSpacing
  4541. tallTicSpacing
  4542. mySliderMin
  4543. sliderMin
  4544. myNumTics
  4545. numTics
  4546. mySliderMax
  4547. sliderMax
  4548. mySliderPos
  4549. sliderPos
  4550. startSliderMove
  4551. sliderMove
  4552. endSliderMove
  4553. nearestPUPP
  4554. getSystemMetrics
  4555. getSystemMetrics
  4556. primaryMouseButton
  4557. NON-ALPHA
  4558. ,toggleInvert
  4559. ALPHA
  4560. txClassName
  4561. input
  4562. initialButton
  4563. initialButtonClass
  4564. buttonDown
  4565. invertedButton
  4566. NON-ALPHA
  4567. invertedButtonClass
  4568. ALPHA
  4569. initialButton
  4570. initialButtonClass
  4571. label
  4572. buttonUp
  4573. invertedButton
  4574. .isChild
  4575. NON-ALPHA
  4576. ,toggleInvert
  4577. invertedButtonClass
  4578. ALPHA
  4579. txClassName
  4580. label
  4581. buttonStillDown
  4582. buttonDoubleClick
  4583. FALSE
  4584. Enter
  4585. labelText
  4586. Shift
  4587. Caps Lock
  4588. input
  4589. buttonClick
  4590. input
  4591. enterPage
  4592. 1,"!"
  4593. invertedButton
  4594. NON-ALPHA
  4595. invertedButtonClass
  4596. ALPHA
  4597. label
  4598. toggleInvert
  4599. FALSE
  4600. group
  4601. isChild
  4602. label
  4603. field
  4604. ALPHA
  4605. txClassName
  4606. labelText
  4607. Miscellaneous
  4608. Slow-Motion,Object Effect,Exit Windows,Can't Touch This
  4609. myPageList
  4610. 62,61,63,64
  4611. widgetIDs
  4612. 62,61,63,64
  4613. Slow-motion
  4614. Miscellaneous
  4615. chapter
  4616. FALSE
  4617. visited
  4618. chapterID
  4619. Button id 5 of Page id 61
  4620. widgets
  4621. This widget is useful if you need to let the user slow down a process, such as an animation. 
  4622. This checkbox slows ToolBook down by a particular factor set in the script. 
  4623. in,true
  4624. ThreeDeeRect
  4625. bottomLine
  4626. topLine
  4627. Slow-Mo
  4628. nplastTime
  4629. oplastTime
  4630. newTime
  4631. timeGetTime
  4632. enterPage
  4633. mmsystem
  4634. leavePage
  4635. timeGetTime
  4636. oplastTime
  4637. timeGetTime
  4638. mmsystem
  4639. notifyBefore 
  4640. lastTime 
  4641. newTime 
  4642. timeGetTime()
  4643. - lt >= 100
  4644.     unlinkDLL "mmsystem"
  4645. notifyAfter 
  4646.         DWORD 
  4647. lastTime
  4648. Slow-Mo
  4649. tbk_wid_name
  4650. Slow-Mo
  4651. ,%H.%
  4652. rainbowCount
  4653. buttonStillDown
  4654. notifyBefore Idle
  4655. 4rainbowCount
  4656. NULL)
  4657. k10 = 0)
  4658. sObj 
  4659. saveCol 
  4660. Ri + 1 
  4661.     sendNotifyBefore 
  4662. A Rainbow
  4663. enterPage
  4664. leavePage
  4665. buttonStillDown
  4666. FALSE
  4667. Object effect
  4668. Miscellaneous
  4669. chapter
  4670. chapterID
  4671. Button id 1 of Page id 62,Button id 0 of Page id 62
  4672. widgets
  4673. FALSE
  4674. visited
  4675. Applies page navigation effects to individual objects.
  4676. This effect works because of a subtle difference between ToolBook's sysLockScreen property and the Windows API function LockWindowUpdate.
  4677. You can use these widgets as is for random effects, or alter the scripts to hardwire them to your favorite objects.S
  4678. Single
  4679. single_object_effect
  4680. tbk_wid_name
  4681. Single Object
  4682. Multiple
  4683. multiple_object_effect
  4684. tbk_wid_name
  4685. Multiple Objects
  4686. FALSE
  4687. Exit Windows
  4688. Miscellaneous
  4689. chapter
  4690. FALSE
  4691. visited
  4692. chapterID
  4693. Button id 1 of Page id 63
  4694. widgets
  4695. Demonstrates three methods for exiting Windows.
  4696. Note: This button has been disabled to prevent accidents.
  4697. This widget links to the Windows API call for exiting Windows. It then prompts the user for the manner in which it should make the exit. One way is to exit Windows to DOS. Another is to exit Windows and restart it. The third is to reboot the machine. 
  4698. There is an alternative interface embedded in the comments of the script.
  4699. Exit_Windows
  4700. Exit_Windows
  4701. tbk_wid_name
  4702. Exit Windows
  4703. FALSE
  4704. Miscellaneous
  4705. chapter
  4706. FALSE
  4707. visited
  4708. chapterID
  4709. Button id 1 of Page id 63
  4710. widgets
  4711. Demonstrates three methods for eSEARCHERTBK 
  4712. DROP    CUR 
  4713. FLAND   WAV 
  4714. Drag and Drop Text
  4715. Multiple OLE drag & drop
  4716. 06cleanUp
  4717. leavePage
  4718. ,%H.%
  4719. dropFiles
  4720. cleanUp
  4721. cleanUp
  4722.     objs = 
  4723. c"OLE"
  4724. "dropFiles"
  4725. Field widgets
  4726. chapter
  4727. chapterID
  4728. FALSE
  4729. visited
  4730. Field id 0 of Page id 30
  4731. widgets
  4732. Drag files from the File Manager into the field below.      
  4733. This field extends ToolBook's OLE capabilities by accepting multiple objects simultaneously, and by displaying the file names of the OLE objects. 
  4734. Just before each drop and at the leavePage message, the OLE objects already on the page are deleted and the text of the field is cleared. This is a function of the page, not the widget.
  4735. dropFiles
  4736. OLE Drop field
  4737. tbk_wid_name
  4738. enterPage
  4739. leavepage
  4740. cleanUp
  4741. reader
  4742. FALSE
  4743. w,    #?
  4744. disablePage
  4745. level
  4746. page of this
  4747. enterPage
  4748. w,    #?
  4749. go to
  4750. level
  4751. page of this
  4752. buttonClick
  4753. prop_level
  4754. invalid level for widget:
  4755. background, book
  4756. must be "background" or "book"
  4757. level
  4758. prop_level
  4759. level
  4760. First
  4761. must be "Next", "Previous", "First", or "Last"
  4762. invalid direction for widget:
  4763. Next,Previous,First,Last
  4764. disablePage
  4765. direction
  4766. direction
  4767. prop_disablePage
  4768. invalid disablePage:
  4769. First, last
  4770. must be "First" or "Last"
  4771. disablePage
  4772. prop_disablePage
  4773. disablePage
  4774. w,    #?
  4775. disablePage
  4776. level
  4777. page of this
  4778. enterPage
  4779. w,    #?
  4780. go to
  4781. level
  4782. page of this
  4783. buttonClick
  4784. prop_level
  4785. invalid level for widget:
  4786. background, book
  4787. must be "background" or "book"
  4788. level
  4789. prop_level
  4790. level
  4791. First
  4792. must be "Next", "Previous", "First", or "Last"
  4793. invalid direction for widget:
  4794. Next,Previous,First,Last
  4795. disablePage
  4796. direction
  4797. direction
  4798. prop_disablePage
  4799. invalid disablePage:
  4800. First, last
  4801. must be "First" or "Last"
  4802. disablePage
  4803. prop_disablePage
  4804. disablePage
  4805. w,    #?
  4806. disablePage
  4807. level
  4808. page of this
  4809. enterPage
  4810. w,    #?
  4811. go to
  4812. level
  4813. page of this
  4814. buttonClick
  4815. prop_level
  4816. invalid level for widget:
  4817. background, book
  4818. must be "background" or "book"
  4819. level
  4820. prop_level
  4821. level
  4822. First
  4823. must be "Next", "Previous", "First", or "Last"
  4824. invalid direction for widget:
  4825. Next,Previous,First,Last
  4826. disablePage
  4827. direction
  4828. direction
  4829. prop_disablePage
  4830. invalid disablePage:
  4831. First, last
  4832. must be "First" or "Last"
  4833. disablePage
  4834. prop_disablePage
  4835. disablePage
  4836. w,    #?
  4837. disablePage
  4838. level
  4839. page of this
  4840. enterPage
  4841. w,    #?
  4842. go to
  4843. level
  4844. page of this
  4845. buttonClick
  4846. prop_level
  4847. invalid level for widget:
  4848. background, book
  4849. must be "background" or "book"
  4850. level
  4851. prop_level
  4852. level
  4853. First
  4854. must be "Next", "Previous", "First", or "Last"
  4855. invalid direction for widget:
  4856. Next,Previous,First,Last
  4857. disablePage
  4858. direction
  4859. direction
  4860. prop_disablePage
  4861. invalid disablePage:
  4862. First, last
  4863. must be "First" or "Last"
  4864. disablePage
  4865. prop_disablePage
  4866. disablePage
  4867. .&+    +E
  4868. quickSort
  4869. default
  4870. sortSelf
  4871. s_noSwap
  4872. quickSrt
  4873. quickSort
  4874. quicksrt
  4875. s_noSwap
  4876. quickSrt
  4877. d_insertLineAux
  4878. insertLine
  4879. middleLine
  4880. insertLineAux
  4881. propList
  4882. POtbk_wid_props
  4883. rptbk_wid_values
  4884. curval
  4885. &getPropListFromHandlers
  4886. widname
  4887. curProp
  4888. tbk_wid_name
  4889. props
  4890. initDLG
  4891. .&+    +
  4892. proplist
  4893. propList
  4894. G[updateDB
  4895. enterPage
  4896. ,%H.%
  4897. curline
  4898. getPropListFromHandlers
  4899. propList
  4900. QOtbk_wid_props
  4901. curLine
  4902. Uh-oh. Nothing is selected.
  4903. sptbk_wid_values
  4904. widname
  4905. You must name the widget before you can save its properties.
  4906. tbk_wid_name
  4907. updateWidget
  4908. cancel
  4909. kGetValue
  4910. button ok
  4911. tb30dlg.dll
  4912. vSetValue
  4913. FALSE
  4914. EDIT message,E3604,
  4915. BUTtoN ok,B1,TRUE
  4916. BUTtoN cancel,B3606,FALSE
  4917. listBox answers
  4918. 524480,6,25,25,186,74,,,Edit True or False,8,MS Sans Serif,,2,3,130,55,3607,1342177287,128,Answers:,0,,5,32,125,7,3603,1342177280,130,Text,0,answers,5,13,49,21,3596,1352728577,131,,0,message,5,42,124,11,3604,1350631552,129,,0,ok,136,7,44,12,1,1342242817,128,OK,0,cancel,136,22,44,12,3606,1342242816,128,Cancel,0
  4919. <ManswerMessage
  4920. vADialogCallback
  4921. =ManswerMessage
  4922. 2    s_answerMessages
  4923. DialogCallback
  4924. GetValue
  4925. SetValue
  4926. GetnListBoxSelection
  4927. GetControlText
  4928. SetControlText
  4929. SetnListBoxSelection
  4930. endTBKDialog
  4931. ,G3607,Answers:
  4932. ,S3603,Message to Send When Chosen:
  4933. LISTBOX answers,L3596,TRUE
  4934. customEdit
  4935. SetnListBoxSelection
  4936. listBox answers
  4937. TBKDialogInit
  4938. LISTBOX answers
  4939. GetnListBoxSelection
  4940. SetControlText
  4941. Button ok
  4942. GetControlText
  4943. endTBKDialog
  4944. EDIT message
  4945. listBox answers
  4946. Button cancel
  4947. edit message
  4948. 2    s_answerMessages
  4949. TBKDialogCommand
  4950. reader
  4951. customEdit
  4952. reader
  4953. enterPage
  4954. author
  4955. 1,    "j
  4956. .&,    "
  4957. minus
  4958. searchReplace
  4959. .&+    +E
  4960. .&,    "
  4961. .&+    +E
  4962. /searchReplace
  4963. ainitPage
  4964. 0]outLineNumber
  4965. minus
  4966. indentLevel
  4967. curLevel
  4968. subheadings
  4969. buttonDoubleClick
  4970. ,!J)"
  4971. keyDown
  4972. .&+    +
  4973. source
  4974. /searchReplace
  4975. curmode
  4976. subheadings
  4977. source
  4978. operatingMode
  4979. source
  4980. textLineNumber
  4981. indentLevel
  4982. subheadings
  4983. ,%H.%
  4984. counter
  4985. indentLevel
  4986. indentLevel
  4987. outlineNumber
  4988. false
  4989. indentLevel
  4990. foundNextSibling
  4991. textLineNumber
  4992. w,    "V
  4993. ,%H.%
  4994. V,    #>
  4995. mouseLoc
  4996. moveSecFlag
  4997. reader
  4998. newHeading
  4999. marker
  5000. count
  5001. movedWid
  5002. ltopicIDs
  5003. oldChapter
  5004. pList
  5005. outlineText
  5006. minorI
  5007. lineHeight
  5008. tPage
  5009. targetLine
  5010. topics
  5011. tempID
  5012. lineList
  5013. tlines
  5014. llineYloc
  5015. x5chapter
  5016. repage
  5017. widgetIDs
  5018. chapterID
  5019. stringResource
  5020. TooManyWidgets
  5021. y5chapter
  5022. tline
  5023. widgetIDs
  5024. source
  5025. tempName
  5026. IvertLoc
  5027. buttonDown
  5028. lineHeight
  5029. sizeSample
  5030. lineHeight
  5031. lineYloc
  5032. marker
  5033. lineHeight
  5034. adjustSize
  5035. enterPage
  5036. .&+    +E
  5037. .&+    +E
  5038. contentBar
  5039. ainitPage
  5040. buttonClick
  5041. page id
  5042. tempPageList
  5043. x5chapter
  5044. widgetIDs
  5045. topics
  5046. table Of Contents
  5047. keyDown
  5048. topics
  5049. table Of Contents
  5050. keyUp
  5051. outline
  5052. false
  5053. goPage
  5054. Zselected
  5055. ainitPage
  5056. buttonDown
  5057. [darkBlue
  5058. selected
  5059. checkref
  5060. widgetIds
  5061. Cvisited
  5062. subPages
  5063. FALSE
  5064. curPageID
  5065. page id
  5066. myPageID
  5067. value
  5068. updateChecks
  5069. ,%H.%
  5070. curLine
  5071. curField
  5072. topic
  5073. adjustLines
  5074. ,%H.%
  5075. chapterRef
  5076. pageID
  5077. Chapter
  5078. selectedChapter
  5079. middleGray
  5080. selected
  5081. joiner
  5082. false
  5083. topics
  5084. Zselected
  5085. topicTree
  5086. topics
  5087. midspot
  5088. chapter
  5089. topic
  5090. Couldn't navigate to page
  5091. buttonDown
  5092. .&,    "
  5093. extractName
  5094. plast
  5095. bracket
  5096. curtopicField
  5097. midspot
  5098. joiner
  5099. topic
  5100. No topics exist for this chapter.
  5101. topicTree
  5102. O@middleGray
  5103. V,    #>
  5104. ,%H.%
  5105. topics
  5106. chapter1
  5107. chapter
  5108. outline
  5109. extractName
  5110. ,%H.%
  5111. ,%H.%
  5112. ltopicIDs
  5113. source
  5114. book outline
  5115. topics
  5116. Topics
  5117. tempID
  5118. JFoperatingMode
  5119. Table of Contents
  5120. Ioutline
  5121. x5chapter
  5122. tableofcontents
  5123. widgetIDs
  5124. chapterID
  5125. bgMain
  5126. myPageID
  5127. tempName
  5128. myPageName
  5129. updateTopics
  5130. .&+    +E
  5131. ,%H.%
  5132. .&+    +E
  5133. g)updateTopics
  5134. ltopicIDs
  5135. book outline
  5136. page id
  5137. Table of Contents
  5138. widgetIDs
  5139. Bwidgets
  5140. resetChecks
  5141. tList
  5142. tbk_wid_name
  5143. pageHere
  5144. pList
  5145. repage
  5146. cancel
  5147. button
  5148. Close
  5149. stringResource
  5150. Book Outline
  5151. buttonClick
  5152. cancel
  5153. book outline
  5154. Close
  5155. field
  5156. stringResource
  5157. Book Outline
  5158. buttonDoubleClick
  5159. edit buttons
  5160. 1authorBounds
  5161. book outline
  5162. JFoperatingmode
  5163. authorFix
  5164. edit buttons
  5165. book outline
  5166. JFoperatingmode
  5167. readerBounds
  5168. readerFix
  5169. keyDown
  5170. keyChar
  5171. l7parseFileName
  5172. keyChar
  5173. .&+    +E
  5174. getCurrentDrive
  5175. fileExists
  5176. FALSE
  5177. setCurrentDirectory
  5178. acceptFile
  5179. checkLinks
  5180. drive
  5181. vgetCurrentDirectory
  5182. seperatePath
  5183. selectFile
  5184. uncheckLinks
  5185. setCurrentDrive
  5186. default
  5187. update
  5188. parseFileName
  5189. vgetCurrentDirectory
  5190. setCurrentDirectory
  5191. jupdateFileInfo
  5192. zeupdateDirectoryInfo
  5193. update
  5194. l7parseFileName
  5195. selectFile
  5196. checkLinks
  5197. uncheckLinks
  5198. getFileAttributes
  5199. seperatePath
  5200. tb30dos.dll
  5201. fileExists
  5202. getFileAttributes
  5203. getCurrentDrive
  5204. getCurrentDirectory
  5205. setCurrentDirectory
  5206. setCurrentDrive
  5207. checkLinks
  5208. tb30dos.dll
  5209. uncheckLinks
  5210. acceptFile
  5211. updateFileInfo
  5212. updateDirectoryInfo
  5213. resetObj
  5214. wrkday
  5215. daysInMonth
  5216. field
  5217. 9lresetObj
  5218. 8weekDay
  5219. counter
  5220. :lresetObj
  5221. buildcal
  5222. calMonth
  5223. calYear
  5224. displayDate
  5225. 034025036146
  5226. isLeapYear
  5227. 144025036146
  5228. leapyear
  5229. weekDay
  5230. 31,28,31,30,31,30,31,31,30,31,30,31
  5231. leapyear
  5232. daysInMonth
  5233. 0,31,59,90,120,151,181,212,243,273,304,334
  5234. m,d,y
  5235. isLeapYear
  5236. Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday
  5237. m/d/y
  5238. dayOfWeek
  5239. ,!JdY
  5240. FALSE
  5241. isLeapYear
  5242. enterPage
  5243. today
  5244. 1,    "Q
  5245. textBuff
  5246. chrOffset
  5247. buttonDown
  5248. 1,    "Q
  5249. chOff
  5250. textBuff
  5251. chrOffset
  5252. buttonStillDown
  5253. textBuff
  5254. chrOffset
  5255. default
  5256. buttonUp
  5257. .&+    +E
  5258. default
  5259. mouseEnter
  5260. default
  5261. mouseLeave
  5262. field
  5263. theSelectedText
  5264. endDrag
  5265. theSelectedText
  5266. beginDrag
  5267. enterPage
  5268. DragAcceptFiles
  5269. DragQueryFile
  5270. DragQueryCount
  5271. DragQueryFile
  5272. DragQueryValue
  5273. KERNEL
  5274. SHELL
  5275. filesDropped
  5276. s_WM_DROPFILES
  5277. DragAcceptFiles
  5278. GlobalAlloc
  5279. GlobalLock
  5280. GlobalUnlock
  5281. GlobalFree
  5282. .&+    +E
  5283. ,%H.%
  5284. .&+    +E
  5285. GlobalAlloc
  5286. DragQueryCount
  5287. filesDropped
  5288. GlobalFree
  5289. GlobalLock
  5290. DragQueryValue
  5291. GlobalUnLock
  5292. dropFiles
  5293. l_count
  5294. 06cleanUp
  5295. filesDropped
  5296. DragAcceptFiles
  5297. reader
  5298. KERNEL
  5299. SHELL
  5300. s_WM_DROPFILES
  5301. leavepage
  5302. cleanUp
  5303. .&+    +E
  5304. .&+    +E
  5305. Selectobject
  5306. setBKMode
  5307. CreateFontIndirect
  5308. Selectobject
  5309. Textout
  5310. DeleteObject
  5311. DeleteObject
  5312. GlobalAlloc
  5313. GlobalLock
  5314. GlobalUnlock
  5315. GlobalFree
  5316. GlobalAlloc
  5317. tb30win.dll
  5318. GlobalUnlock
  5319. clientFromPage
  5320.  CreateFontIndirect
  5321. }ReleaseDC
  5322. GetDC
  5323. ReleaseDC
  5324. GlobalFree
  5325. GlobalLock
  5326. GetDC
  5327. kernel
  5328. dcTextout
  5329. setBkMode
  5330. buttonClick
  5331. leavePage
  5332. txClassName
  5333. Thumb
  5334. setSliderLimits
  5335. buttonDown
  5336. 1,"!#
  5337. s_sliderPosition
  5338. HSliderThumb
  5339. s_sliderv
  5340. VSliderThumb
  5341. txClassName
  5342. s_sliderMin
  5343. s_sliderMax
  5344. oslidePos
  5345. 9sldrPosition
  5346. buttonStillDown
  5347. s_sliderV
  5348. snapSlider
  5349. s_sliderPosition
  5350. HSliderThumb
  5351. VSliderThumb
  5352. txClassName
  5353. s_sliderMin
  5354. s_sliderMax
  5355. oslidePos
  5356. sliderPosition
  5357. buttonUp
  5358. s_sliderV
  5359. }[centered
  5360. HSliderThumb
  5361. height
  5362. VSliderThumb
  5363. txClassName
  5364. s_sliderMin
  5365. s_sliderMax
  5366. width
  5367. glide
  5368. setSliderLimits
  5369. slidePos
  5370. 9sldrPosition
  5371. sliderPosition
  5372. newPos
  5373. OldMax
  5374. hSliderThumb
  5375. pOffset
  5376. group
  5377. SliderThumb
  5378. OldMin
  5379. vSliderThumb
  5380. txClassName
  5381. s_sliderMin
  5382. s_sliderMax
  5383. thumb
  5384. setSliderLimits
  5385. sliderPosition
  5386. 9sldrPosition
  5387. sliderPosition
  5388. detentList
  5389. snapSlider
  5390. author
  5391. toggleStatus
  5392. <+U!!
  5393. statusbox
  5394. reader
  5395. <+U!8
  5396. statusbox
  5397. author
  5398. .&+    +E
  5399. theStore
  5400. decimal
  5401. default
  5402. svNumFormat
  5403. memory
  5404. clear_all
  5405. openWindow
  5406. number
  5407. display
  5408. last_key
  5409. display
  5410. w,    "@
  5411. w,    "@
  5412. theStore
  5413. savekey
  5414. number
  5415. ?strUnderflow
  5416. display
  5417. strNoZeroDivide
  5418. strOverflow
  5419. clear_all
  5420. last_key
  5421. calculate
  5422. .&,    "
  5423. calculate
  5424. LBdisplay
  5425. 0123456789+-*/=
  5426. keyChar
  5427. FALSE
  5428. posNum
  5429. svNumFormat
  5430. strDisplayNumber
  5431. Can't divide by 0.
  5432. strNoZeroDivide
  5433. Overflow
  5434. strOverflow
  5435. Underflow
  5436. strUnderflow
  5437. w,    #b
  5438. w,    #b
  5439. w,    #?
  5440. w,    #?
  5441. w,    #?
  5442. w,    #?
  5443. editWidget
  5444. volume
  5445. <)channel
  5446. Accept
  5447. ECprogram
  5448. You can accept these values or edit them.
  5449. device
  5450. My program is
  5451. My volume is
  5452. My sustain is set to
  5453. My gliss is set to
  5454. My channel is
  5455. rPsustain
  5456. My name is
  5457. My device is
  5458. gliss
  5459. buttonClick
  5460. reader
  5461. editWidget
  5462. customEdit
  5463. .&+    +E
  5464. ,%H.%
  5465. ,%H.%
  5466. ,%H.%
  5467. ,%H.%
  5468. .&+    +E
  5469. dlgBox
  5470. comboBox device
  5471. volume
  5472. MidiOutGetNumDevs
  5473. FALSE
  5474. <)channel
  5475. tb30dlg.dll
  5476. Dialog
  5477. SetValue
  5478. GetValue
  5479. vSetValue
  5480. button sustain
  5481. 8dlgInit
  5482. sPsustain
  5483. button ok
  5484. ECprogram
  5485. =)channel
  5486. device
  5487. gliss
  5488. FCprogram
  5489. comboBox program
  5490. rPsustain
  5491. device
  5492. mmSystem.dll
  5493. comboBox volume
  5494. kgetValue
  5495. volume
  5496. button gliss
  5497. gliss
  5498. Dialog
  5499. comboBox channel
  5500. editWidget
  5501. (=FullPie
  5502. PtStart
  5503. false
  5504. StartAngle
  5505. defValues
  5506. prevPie
  5507. vVertices
  5508. zeroAngle
  5509. defValues
  5510. newVertices
  5511. PlotValues
  5512. defValues
  5513. plotValues
  5514. plotValues
  5515. risNumber
  5516. zeroAngle
  5517. <myPlotOrigin
  5518. PlotOrigin
  5519. <myPlotOrigin
  5520. plotOrigin
  5521. ,%H.%
  5522. risNumber
  5523. eEmyPlotColors
  5524. PlotColors
  5525. dEmyPlotColors
  5526. plotColors
  5527. isNumber
  5528. (=FullPie
  5529. PtStart
  5530. false
  5531. explodeBy
  5532. StartAngle
  5533. defValues
  5534. prevPie
  5535. vVertices
  5536. explodeBy
  5537. zeroAngle
  5538. defValues
  5539. newVertices
  5540. PlotValues
  5541. defValues
  5542. plotValues
  5543. result
  5544. explodeBy
  5545. zeroAngle
  5546. PlotOrigin
  5547. plotValues
  5548. risNumber
  5549. explodeBy
  5550. zeroAngle
  5551. PlotOrigin
  5552. ,%H.%
  5553. risNumber
  5554. eEmyPlotColors
  5555. PlotColors
  5556. dEmyPlotColors
  5557. plotColors
  5558. isNumber
  5559. ,!JdY
  5560. 1,!EL
  5561. barWeight
  5562. defValues
  5563. defValues
  5564. PlotValues
  5565. defValues
  5566. plotValues
  5567. Y=myPlotWeight
  5568. plotValues
  5569. risNumber
  5570. barWeight
  5571. PlotWeight
  5572. X=myPlotWeight
  5573. plotWeight
  5574. ,%H.%
  5575. risNumber
  5576. eEmyPlotColors
  5577. PlotColors
  5578. dEmyPlotColors
  5579. plotColors
  5580. isNumber
  5581. false
  5582. showframe
  5583. author
  5584. showFrame
  5585. enterPage
  5586. showFrame
  5587. author
  5588. false
  5589. showFrame
  5590. reader
  5591. Multiple OLE Drag & Drop
  5592. Drag a textline
  5593. Field widgets
  5594. chapter
  5595. FALSE
  5596. visited
  5597. chapterID
  5598. Field id 3 of Page id 31
  5599. widgets
  5600. You can drag any textline to a new position in the field below.
  5601. This field allows you to drag a textline up or down and displays the results as you drag.
  5602. DragTextline
  5603. dragTextLine
  5604. beginDrag
  5605. +",!"
  5606. +",H4
  5607. +",!J
  5608. +",H4
  5609. 2,    #>
  5610. +",H4
  5611. dragTextLine
  5612. stillOverDrop
  5613. beginDrag
  5614. dragTextLine
  5615. oselectedTextLines = 
  5616. stillOverDrop pObject, loc
  5617. currentTextLine
  5618.         currentTextline = 
  5619. &CRLF 
  5620.  + 1 
  5621.         dragTextline = 
  5622. DragTextline
  5623. tbk_wid_name
  5624. smith
  5625. FALSE
  5626. Drag a Textline
  5627. bvxcsawqw
  5628. Slider widgets
  5629. Sliders,Ratchet
  5630. myPageList
  5631. 33,34,81
  5632. widgetIDs
  5633. 33,34,81
  5634. Slider Widgets
  5635. Can't Touch This
  5636. Calendar
  5637. Sliders
  5638. Slider widgets
  5639. chapter
  5640. FALSE
  5641. visited
  5642. chapterID
  5643. Group id 7 of Page id 33,Group id 3 of Page id 33
  5644. widgets
  5645. These widgets demonstrate how to make graphical sliders.
  5646. The baseball slider uses a resource of the book; the pointer slider uses a line end. 
  5647. horizSlider
  5648. sldrPosition
  5649. horizSlider
  5650. tbk_wid_name
  5651. centered
  5652. HSliderThumb
  5653. txClassName
  5654. vertSlider
  5655. sldrPosition
  5656. vertSlider
  5657. tbk_wid_name
  5658. VSliderThumb
  5659. txClassName
  5660. Slider with graphic button
  5661. Slider with line endbutton
  5662. FALSE
  5663. Sliders
  5664. Snoopy
  5665. Ratchet
  5666. Slider widgets
  5667. chapter
  5668. FALSE
  5669. visited
  5670. chapterID
  5671. Group id 123 of Page id 34,Group id 39 of Page id 34
  5672. widgets
  5673. These ratchet sliders constrain the user's choices to certain values.
  5674. Each widget allows itself to be set only at the hash marks. The user doesn't have intermediate values available, and this fact is reinforced by the visual feedback. The widget on the right also reports what mark it has been set to.
  5675. slider
  5676. slider
  5677. tbk_wid_name
  5678. ,%H.%
  5679. 1,!JRY
  5680. ,%H.%
  5681. slider
  5682. buttonDown
  5683. -- This handler jumps the slider 
  5684. each tick mark 
  5685. mouse 
  5686. moved
  5687. Zarray x[5], pin[4]
  5688. i] = (((
  5689. U(i+1))-(
  5690. Ui))/2 )+(
  5691.         x[i] = (
  5692. Ui)-82
  5693.         pos = 
  5694. " = x[1]
  5695. " = x[2]
  5696. " = x[3]
  5697.             When 
  5698. " = x[4]
  5699. " = x[5]
  5700. slider
  5701. emitting_Slider
  5702. emitting_Slider
  5703. tbk_wid_name
  5704. slider@
  5705. ,%H.%
  5706. 1,!JRY
  5707. ,%H.%
  5708. slider
  5709. buttonDown
  5710. -- This handler jumps the slider 
  5711. each tick mark 
  5712. mouse 
  5713. moved
  5714. Zarray x[5], pin[4]
  5715. i] = (((
  5716. U(i+1))-(
  5717. Ui))/2 )+(
  5718.         x[i] = (
  5719. Ui)-82
  5720.         pos = 
  5721. " = x[1]
  5722. " = x[2]
  5723. " = x[3]
  5724.             When 
  5725. " = x[4]
  5726. " = x[5]
  5727. slider2
  5728. track
  5729. FALSE
  5730. Ratchet
  5731. Book Outline
  5732. Navigation widgets
  5733. CBT widgets
  5734. True and False,Multiple Choice
  5735. myPageList
  5736. 36,37
  5737. widgetIDs
  5738. 36,37
  5739. True and false
  5740. CBT widgets
  5741. chapter
  5742. FALSE
  5743. visited
  5744. chapterID
  5745. Group id 9 of Page id 36,Group id 4 of Page id 36
  5746. widgets
  5747. These widgets can be set for true and false questions.
  5748. These widgets send a user-defined message. At Reader level you can right-click the group, then click the Custom edit button on the right-click tool bar to determine which button sends what message. 
  5749. There is also a to set handler that will display the same editing dialog box. You need to set the editWidget property of the group to any value. For example, select the group (just the buttons, not the red border,) then type in the  Command window: set editWidget of selection to 1. This property can also be set from the object properties list given by tools30.sbk at Author level; just double-click on the editWidget line.
  5750. You can place the message handlers in the group script or edit the ones already there.
  5751. Most of the work is done in a script in an invisible field. You can get to the script of this field by selecting the appropriate group and executing the following command in the Command window: edit script of item 1 of objects of selection.
  5752. T/F Buttons
  5753. buttonDown
  5754. <ManswerMessage
  5755. buttonUp
  5756. editWidget
  5757. You chose
  5758. answerTrue
  5759. You chose
  5760. answerFalse
  5761. --    Tim Pearson, Asymetrix    1/94
  5762. = FALSE
  5763. >= TRUE
  5764. (answerMessage 
  5765. editWidget 
  5766. customEdit 
  5767. the handlers below 
  5768. suit your needs    --
  5769. answerTrue
  5770. "You chose" && 
  5771. answerFalse
  5772. T/F Buttons
  5773. tbk_wid_name
  5774. editWidget
  5775. tbk_wid_props
  5776. custom,editWidget
  5777. tbk_wid_values
  5778. widgetParent
  5779. answerTrue
  5780. answerMessage
  5781. &TRUE
  5782. false
  5783. answerFalse
  5784. answerMessage
  5785. &FALSE
  5786. T/F Radio Buttons
  5787. <ManswerMessage
  5788. buttonClick
  5789. editWidget
  5790. You chose
  5791. answerTrue
  5792. You chose
  5793. answerFalse
  5794. --    Tim Pearson, Asymetrix    1/94
  5795. buttonClick
  5796. (answerMessage 
  5797. editWidget 
  5798. customEdit 
  5799. the handlers below 
  5800. suit your needs    --
  5801. answerTrue
  5802. "You chose" && 
  5803. answerFalse
  5804. T/F Radio Buttons
  5805. tbk_wid_name
  5806. editWidget
  5807. tbk_wid_props
  5808. custom,editWidget
  5809. tbk_wid_values
  5810. widgetParent
  5811. answerTrue
  5812. answerMessage
  5813. &TRUE
  5814. false
  5815. answerFalse
  5816. answerMessage
  5817. &FALSE
  5818. customEdit
  5819. reader
  5820. enterPage
  5821. author
  5822. FALSE
  5823. CBT widgets
  5824. chapter
  5825. FALSE
  5826. visited
  5827. chapterID
  5828. GrX          
  5829. CLIPART    
  5830. SETUP      
  5831. OSPY    EXE 
  5832. FINAL      
  5833. GETHOOK BAT 
  5834. Windows or WFW
  5835. Data widgets
  5836. chapter
  5837. chapterID
  5838. FALSE
  5839. visited
  5840. Button id 0 of Page id 17
  5841. widgets
  5842. This widget distinguishes between Windows 3.1 and Windows for Workgroups.
  5843. This widget checks to see if a driver necessary for Windows for Workgroups is loaded (wfwnet.drv), in order to determine which version of Windows is running.
  5844. Windows_WFW
  5845. getModuleHandle
  5846. getModuleHandle
  5847. wfwnet.drv
  5848. Running Windows
  5849. kernel
  5850. Running Windows for Workgroups
  5851. buttonClick
  5852. buttonClick
  5853.     linkDLL "kernel"
  5854.         WORD    getModuleHandle    (STRING)
  5855. ("wfwnet.drv") 
  5856. "Running Windows"
  5857. Workgroups"
  5858.     unlinkDLL "
  5859. Windows_WFW
  5860. tbk_wid_name
  5861. Windows or WFW
  5862. FALSE
  5863. Field widgets
  5864. Insert/Overstrike,Self Sorting Field,Auto-scrollbar Field,Searching Field,Bold; Italic; and Underline,Drag and Drop Text,Drag a Textline,Max Select Field,XSelect Field,Outline
  5865. myPageList
  5866. 19,22,20,21,23,25,27,26,28,31,29,30,24
  5867. widgetIDs
  5868. FALSE
  5869. visited
  5870. Insert/overstrike
  5871. Field widgets
  5872. chapter
  5873. FALSE
  5874. visited
  5875. chapterID
  5876. Field id 4 of Page id 19,Field id 0 of Page id 19
  5877. widgets
  5878. This field is capable of typical "overstrike" behavior.
  5879. ToolBook does not support overstrike in any of its text fields. But with this handy widget, you can have overstrike behavior in your application. For example, at Reader level, toggle the insert key and type in the field below.
  5880. Insert_Overstrike
  5881. overWriteFlag
  5882. keyDown
  5883. overWriteFlag
  5884. keyChar
  5885. 4LOGICAL overWriteFlag
  5886. 4logical 
  5887. ` <> 
  5888. Insert_Overstrike
  5889. tbk_wid_name
  5890. Now is the time for all good men to come the aid of their quick brown fox.............te
  5891.     endNow is the time for all good men to come the aid of their quick brown fox.
  5892. Toggle
  5893. overWriteFlag
  5894. keyDown
  5895. overWriteFlag
  5896. enterPage
  5897. notifyAfter 
  5898. 4LOGICAL overWriteFlag
  5899. Insert_Overstrike_Toggle
  5900. tbk_wid_name
  5901. keyDown
  5902. enterPage
  5903. FALSE
  5904. Insert/Overstrike
  5905. Bold, Italic, and Underline
  5906. Object Effect
  5907. Outline rearranger
  5908. Field widgets
  5909. chapter
  5910. chapterID
  5911. FALSE
  5912. visited
  5913. Group id 5 of Page id 20
  5914. widgets
  5915. You can move individual textlines or whole sections, by dragging the textlines in the field.
  5916. Tabbed textlines can be dragged up or down, and whole sections can be moved by dragging the textline at the head of a section. The indicator is an obscured line with a line end on it.  There is a field covered by the main field, and we use the bounds of a hotword in the hidden field to find the height of a line of text.
  5917. Outline_Rearranger
  5918. lineheight
  5919. hotfield
  5920. outfield
  5921. outline_rearranger
  5922. sizeSample
  5923. adjustsize
  5924. sized
  5925. enterpage
  5926. reader
  5927. -- initialize the 
  5928. sized
  5929. hotfield 
  5930. "sizeSample" 
  5931. outfield 
  5932. "outline_rearranger" 
  5933. ypix 
  5934. sysPageUnitsPerPixel
  5935. syssuspendmessages 
  5936. adjustsize 
  5937. ylineheight 
  5938. o,3) 
  5939. notifybefore 
  5940. notifyAfter 
  5941. Outline_Rearranger
  5942. tbk_wid_name
  5943. sizeSample
  5944. \    R    Y    
  5945. sizeSample
  5946. outline_rearranger
  5947. Frame Animation
  5948.     Introduction to Frame Animation
  5949.     Page Flipping
  5950.     Hiding and Showing objects
  5951. Moving Objects
  5952.     Move By
  5953.     Move To
  5954.     The Position Property
  5955. Useful Scripts
  5956.     Simulating Gravity
  5957.     Timing Animation
  5958.     Animating with Resources
  5959.     Simulating a Good 5 Cent Cigarood 5 Cent CigarGood 5 Cent Cigar To
  5960.     The Position Property
  5961.     Simulating Gravity
  5962.     Timing Animation
  5963.     Simulating a Good 5 Cent Cigary
  5964.     Timing Animation    The Position Property
  5965. Moving Objects
  5966.     Move To
  5967.     Move By
  5968. marker
  5969. vertLoc
  5970. vertLoc b 
  5971. value
  5972.     ypix = 
  5973. syspageunitsperpixel
  5974. halfH 
  5975. B- 3*
  5976. enterpage
  5977. reader
  5978. FALSE
  5979. Max select field
  5980. Field widgets
  5981. chapter
  5982. FALSE
  5983. visited
  5984. chapterID
  5985. Field id 0 of Page id 21
  5986. widgets
  5987. This handler limits the number of selectable lines in a multi-select list box.  
  5988. This handler can be placed in a system book or in the book or page script so it will work with more than one multi-select list box.  It takes one parameter, Num, which represents the maximum number of selections allowed.
  5989. To call the maxSelection handler use the following syntax:
  5990. to handle buttonClick        
  5991.     send MaxSelection 3
  5992. end buttonClick
  5993. MaxSelect
  5994. MaxSelect
  5995. tbk_wid_name
  5996. One One One
  5997. Two Two Two
  5998. Three Three Three
  5999. Four Four Four
  6000. Five Five Five
  6001. FALSE
  6002. Max Select Field
  6003. Windows or WFW
  6004. Printer Resolution
  6005. wertwert
  6006. d    \    \    4
  6007. Outline
  6008. Field widgets
  6009. chapter
  6010. FALSE
  6011. visited
  6012. chapterID
  6013. Field id 7 of Page id 22
  6014. widgets
  6015. Use this widget to create a field you can use as an outline at Reader level. 
  6016. At Author level, you can set the level of the text in the outline by typing Ctrl+Tab. When the outline field is copied and pasted into another book, it retrieves the resources for the plus and minus bitmaps from the first book.
  6017. outline
  6018.     Big green dogs
  6019.         Great Dane
  6020.             So-so Danes
  6021.             Lesser Danes
  6022.         Collie
  6023.         Doberman
  6024.     Small dogs
  6025.         Sheltie
  6026.         Wiener dog
  6027.     Froo froo dogs
  6028.         Chow
  6029.         Chihuahua
  6030.         Poodle
  6031.             Lap poodle
  6032.             Yappy poodle
  6033.             Snapping poodle
  6034.         Shitzu
  6035.     Cartoon Cats
  6036.         Hobbes
  6037.         Bill
  6038.         Fritz
  6039.     Presidential Cats
  6040.         Socks
  6041.         Bill
  6042. source
  6043. outline
  6044. tbk_wid_name
  6045. Book "C:\TBEA\SAMPLES\WIDGETS\WIDGT78B.TBK"
  6046. oldBook
  6047.     Dogs
  6048.     Cats
  6049.     Presidential Catsntial Catstial Catsential CatsPresidential Cats
  6050.             Bills
  6051.             Bill    Catsfroo dogs
  6052.     Cats
  6053.     Froo froo dogs
  6054.     Catsfroo dogs
  6055.     Cats        Poodle
  6056.             Lap poodle
  6057.             Yappy poodle
  6058.             Snapping poodle
  6059.         Shitzu
  6060.     Cartoon Cats
  6061.         Hobbes
  6062.         Bill
  6063.         Fritz
  6064.     Presidential Cats
  6065.         Socks
  6066.         Bill
  6067. enterPage
  6068. author
  6069. reader
  6070. Ex Select field
  6071. Field widgets
  6072. chapter
  6073. FALSE
  6074. visited
  6075. chapterID
  6076. Field id 1 of Page id 23
  6077. widgets
  6078. The Ex Select widget allows for an exclusive selection, acting like a single-select list box inside a multi-select list box.  
  6079. The XSelect handler allows multiple selections in a list box as long as the specified line is not selected. Once the specified line is selected, all other lines in the list box are unselected. 
  6080. This handler can be placed in a system book or in the book or page script, so it will work with more than one multi-select list box.
  6081. The handler takes one parameter, "XLine", which represents the line to make exclusive.
  6082. To call the Xselect handler use the following syntax:
  6083. to handle buttonClick        
  6084.     send Xselect 5
  6085. end buttonClick
  6086. XLine
  6087. Ex Select
  6088. tbk_wid_name
  6089. One One One
  6090. Two Two Two
  6091. Three Three Three
  6092. Four Four Four
  6093. FiveFiveFive
  6094. FALSE
  6095. Show off
  6096. Field widgets
  6097. chapter
  6098. chapterID
  6099. FALSE
  6100. visited
  6101. Field id 0 of Page id 24
  6102. widgets
  6103. This widget is a good example of using Windows directly from ToolBook to do something that is otherwise not possible in ToolBook.
  6104. While it isn't usually necessary, you can link directly to Windows from ToolBook. This example takes advantage of a Windows capability not built into ToolBook. 
  6105. RotateText
  6106. RotateText
  6107. tbk_wid_name
  6108. Click me and watch me rotate
  6109. leavePage
  6110. FALSE
  6111. Self sorting field
  6112. Field widgets
  6113. chapter
  6114. FALSE
  6115. visited
  6116. chapterID
  6117. Group id 10 of Page id 25
  6118. widgets
  6119. This self-sorting field has scripts for sorting any text placed in it, and for inserting any textline in sorted order.-
  6120. To sort text in this widget field, set the text of the field to the text you want sorted, then send the field the message sortSelf. The "set text & sort" button uses the following script:
  6121. set text of field "sort" to text of field "data"
  6122. send sortSelf to field "sort"
  6123. To insert a new line into the text, send the field the message insertLine with the text of the new line as a parameter. The "insert a textline" button has this script:
  6124. clear sysError
  6125. ask "Please supply a textline to insert."
  6126. if sysError <> "cancel"
  6127.     set newLine to it
  6128.     send insertLine newLine to field "sort"
  6129. Field to Sort
  6130. Self Sorting Field
  6131. tbk_wid_name
  6132. OKI9.DRV
  6133. EGA.3GR
  6134. TIMESBI.TTF
  6135. PACKAGER.EXE
  6136. MSD.EXE
  6137. KBDNE.DLL
  6138. VGALOGO.RLE
  6139. TRIUMPH1.WPD
  6140. SSFLYWIN.SCR
  6141. DISKB
  6142. VDDHERC.386
  6143. SL.HLP
  6144. NCM80519.WPD
  6145. HPPLOT.DRV
  6146. AB.DLL
  6147. CLIPBRD.EXE
  6148. KBDUS.DLL
  6149. DECCOLOR.WPD
  6150. DISK6
  6151. XLAT850.BIN
  6152. MMSOUND.DRV
  6153. COURBD.FOT
  6154. 40291730.WPD
  6155. 8514FIX.FON
  6156. L300_471.WPD
  6157. NETDDE.EXE
  6158. OLESVR.DLL
  6159. PENDIS.DOS
  6160. PIFEDIT.HLP
  6161. REGEDITV.HLP
  6162. MMTLHI.DRV
  6163. KBDNO.DLL
  6164. CARDFILE.EXE
  6165. PLASMA.3GR
  6166. TESTPS.TXT
  6167. TIMESB.FON
  6168. NDIS39XR.DOS
  6169. HPPCL.DRV
  6170. VGA30.3GR
  6171. SND.CPL
  6172. WINGDING.TTF
  6173. VTDAPI.386
  6174. NETWATCH.EXE
  6175. DEC2250.WPD
  6176. MOUSE.SYS
  6177. EMM386.EXE
  6178. VDDTLI4.386
  6179. EGALOGO.LGO
  6180. TERMINAL.EXE
  6181. V7VDD.386
  6182. XMSMMGR.EXE
  6183. ZIGZAG.BMP
  6184. PMSPL.DLL
  6185. LANGFRN.DLL
  6186. HERC850.FON
  6187. HPLANB.DOS
  6188. USREDIBM.SHH
  6189. ARGYLE.BMP
  6190. L200230&.WPD
  6191. CLIPBRD.HLP
  6192. SCHEDMSG.DLL
  6193. CANYON.MID
  6194. 8514.DRV
  6195. VREDIR.386
  6196. PACKAGER.HLP
  6197. SERIFF.FON
  6198. USER.EXE
  6199. MSHEARTS.HLP
  6200. EGACOLOR.2GR
  6201. SSERIFE.FON
  6202. MPLAYER.EXE
  6203. MORICONS.DLL
  6204. WINDOWS.LOD
  6205. SSERIFF.FON
  6206. CONTROL.EXE
  6207. PE2NDIS.EXE
  6208. L530_52&.WPD
  6209. SOL.HLP
  6210. OLIBW.DRV
  6211. KBDSW.DLL
  6212. DEPCA.DOS
  6213. EGYPT.BMP
  6214. MAILSPL.EXE
  6215. TIMESBD.FOT
  6216. STORE.DLL
  6217. KBDIC.DLL
  6218. DISK8
  6219. REDBRICK.BMP
  6220. MSMAIL.EXE
  6221. CARS.BMP
  6222. SETUP.INI
  6223. N2290520.WPD
  6224. DECLPS20.WPD
  6225. DEC2150.WPD
  6226. VIPX.386
  6227. SETUP.EXE
  6228. HPPCL5MS.DRV
  6229. MAIN.CPL
  6230. CGA40WOA.FON
  6231. WINMINE.EXE
  6232. SEIKO_04.WPD
  6233. HIMEM.SYS
  6234. OLECLI.DLL
  6235. SUPERVGA.DRV
  6236. SMC_ARC.DOS
  6237. COURBI.FOT
  6238. KEYBOARD.DRV
  6239. UNIDRV.DLL
  6240. ARIALBI.FOT
  6241. COMMCTRL.DLL
  6242. VSBD.386
  6243. NI6510.DOS
  6244. MPU401.DRV
  6245. V7VGA.DRV
  6246. IBM4019.DRV
  6247. MONOUMB2.386
  6248. WRITE.HLP
  6249. SQUARES.BMP
  6250. OL840518.WPD
  6251. EGA.SYS
  6252. SYMBOLB.FON
  6253. LANGSPA.DLL
  6254. MSSFS.DLL
  6255. VGADIB.3GR
  6256. ARIAL.TTF
  6257. XLAT863.BIN
  6258. CANON10E.DRV
  6259. EGA.DRV
  6260. PROGMAN.HLP
  6261. EGA40850.FON
  6262. CONTROL.HLP
  6263. IBM17521.WPD
  6264. WIN386.EXE
  6265. HPDSKJET.DRV
  6266. KBDFC.DLL
  6267. DEC1150.WPD
  6268. SHELL.DLL
  6269. FINSTALL.HLP
  6270. DEC3250.WPD
  6271. 256COLOR.BMP
  6272. CARDS.DLL
  6273. TIMESBD.TTF
  6274. VDD8514.386
  6275. COUR.TTF
  6276. NOTEPAD.EXE
  6277. COUR.FOT
  6278. MODERN.FON
  6279. SENDFILE.DLL
  6280. NETWORK.INF
  6281. CGA80WOA.FON
  6282. MIDIMAP.CFG
  6283. EGA80850.FON
  6284. SETUP.HLP
  6285. HPELI523.WPD
  6286. ELNKMC.DOS
  6287. OLIVETI1.WPD
  6288. PROPRINT.DRV
  6289. DISK3
  6290. WINLOGO.BMP
  6291. PROGMAN.EXE
  6292. CLIPSIBM.SHH
  6293. MIDIMAP.DRV
  6294. WFWNET.HLP
  6295. CAN_ADF.EXE
  6296. VGALOGO.LGO
  6297. ELNK16.DOS
  6298. SYSINI.WRI
  6299. LMSCRIPT.EXE
  6300. PIFEDIT.EXE
  6301. MMTLLO.DRV
  6302. MOUSEHP.SYS
  6303. PBRUSH.HLP
  6304. PROTMAN.EXE
  6305. VDDCGA.386
  6306. TTY.DRV
  6307. SMARTND.DOS
  6308. OKI9IBM.DRV
  6309. DRIVERS.CPL
  6310. SOUNDREC.HLP
  6311. NOTEPAD.HLP
  6312. ESCP2.DRV
  6313. MSNET.DRV
  6314. CHARMAP.HLP
  6315. SSERIFB.FON
  6316. PRINTMAN.HLP
  6317. OLITOK.DOS
  6318. VDMAD.386
  6319. VNETWARE.386
  6320. POWER.HLP
  6321. BP1CP2.PCM
  6322. RINGOUT.WAV
  6323. WINTUTOR.EXE
  6324. IBM39521.WPD
  6325. HPSYSTEM.DRV
  6326. DISKA
  6327. VER.DLL
  6328. VCD.386
  6329. IPXODI.COM
  6330. CHARMAP.EXE
  6331. CGALOGO.RLE
  6332. PSCRIPT.DRV
  6333. TOOLHELP.DLL
  6334. NETWORK.SAV
  6335. MMTASK.TSK
  6336. LMOUSE.DRV
  6337. HPMOUSE.DRV
  6338. MT_TI101.WPD
  6339. IBMTOK.DOS
  6340. TRNSCHED.DLL
  6341. WINHELP.EXE
  6342. VGA.3GR
  6343. SMCMAC.DOS
  6344. WIN87EM.DLL
  6345. COURE.FON
  6346. CGA.2GR
  6347. THATCH.BMP
  6348. NEC24PIN.DRV
  6349. PLASMA.DRV
  6350. CGA80850.FON
  6351. VGA.DRV
  6352. RECORDER.EXE
  6353. COMMDLG.DLL
  6354. NOMOUSE.DRV
  6355. MSMAIL.HLP
  6356. L300_493.WPD
  6357. MSREMIND.EXE
  6358. TIM17521.WPD
  6359. N890_470.WPD
  6360. L500_493.WPD
  6361. SERIFB.FON
  6362. LANGSCA.DLL
  6363. 40293930.WPD
  6364. CLOCK.EXE
  6365. PRO4.DOS
  6366. THINKJET.DRV
  6367. KBDSG.DLL
  6368. PRORAPM.DWN
  6369. DM309.DRV
  6370. L100_425.WPD
  6371. COURI.TTF
  6372. WINFILE.EXE
  6373. KBDBE.DLL
  6374. PS1.DRV
  6375. VDDVGA30.386
  6376. PRINTERS.WRI
  6377. EGAMONO.LGO
  6378. KBDFR.DLL
  6379. IBM5204.DRV
  6380. KBDUSX.DLL
  6381. REGEDIT.HLP
  6382. TIMESBI.FOT
  6383. NET.EXE
  6384. TIMES.FOT
  6385. VGAOEM.FON
  6386. PROPRN24.DRV
  6387. LBPIII.DRV
  6388. DD1CP1.PCM
  6389. NETX.COM
  6390. I82593.DOS
  6391. CONTROL.INF
  6392. CPWIN386.CPL
  6393. HP_3P522.WPD
  6394. TI850.DRV
  6395. TIGA.DRV
  6396. VDDEGA.386
  6397. ELNK3.DOS
  6398. ELNKII.DOS
  6399. EXPAND.EXE
  6400. WSWAP.EXE
  6401. CANON330.DRV
  6402. GENDRV.DLL
  6403. ELNKPL.DOS
  6404. COURBI.TTF
  6405. CALC.HLP
  6406. CARDFILE.HLP
  6407. VPD.386
  6408. LANMAN10.386
  6409. MCISEQ.DRV
  6410. WINCHAT.EXE
  6411. NETH.MSG
  6412. WINGDING.FOT
  6413. EPSON9.DRV
  6414. FRAMEWRK.DLL
  6415. SEIKO_14.WPD
  6416. EGASYS.FON
  6417. LZEXPAND.DLL
  6418. CHIMES.WAV
  6419. REGEDIT.EXE
  6420. CASTLE.BMP
  6421. TIMESI.FOT
  6422. NETAPI.DLL
  6423. SERIFE.FON
  6424. TCCARC.DOS
  6425. ARIALBD.FOT
  6426. Q2200510.WPD
  6427. SF4019.EXE
  6428. CIT24US.DRV
  6429. WINCHAT.HLP
  6430. HERCWOA.FON
  6431. WRITE.EXE
  6432. HPIID522.WPD
  6433. VSERVER.386
  6434. EGAMONO.RLE
  6435. NE1000.DOS
  6436. VGASYS.FON
  6437. MKTNGIBM.SHH
  6438. DISK9
  6439. WINTUTOR.DAT
  6440. TBMI2.COM
  6441. VFORMS.DLL
  6442. SSSTARS.SCR
  6443. LEAVES.BMP
  6444. XLAT861.BIN
  6445. ARIALI.FOT
  6446. FINSTALL.DLL
  6447. EXP16.DOS
  6448. VGA865.FON
  6449. WIN.SRC
  6450. Q820_517.WPD
  6451. RECORDER.HLP
  6452. VNETBIOS.386
  6453. DEMILAYR.DLL
  6454. PRTUPD.INF
  6455. MADGE
  6456. WIN386.PS2
  6457. NETWATCH.HLP
  6458. NETWARE.HLP
  6459. ARIALBI.TTF
  6460. TIM35521.WPD
  6461. LANGENG.DLL
  6462. PANSON24.DRV
  6463. SETUP.INF
  6464. UNIDRV.HLP
  6465. PANSON9.DRV
  6466. EGA40WOA.FON
  6467. XGA.DRV
  6468. DRWATSON.EXE
  6469. OLIGRAB.2GR
  6470. GLOSSARY.HLP
  6471. LMOUSE.COM
  6472. SL.DLL
  6473. SNDBLST.DRV
  6474. LANGGER.DLL
  6475. HRIBM.SHH
  6476. LANGDUT.DLL
  6477. KBDPO.DLL
  6478. SOUNDREC.EXE
  6479. SCRNSAVE.SCR
  6480. VNETSUP.386
  6481. VNB.386
  6482. EGA80WOA.FON
  6483. CITOH.DRV
  6484. CGALOGO.LGO
  6485. CGA40850.FON
  6486. SCHDPLUS.HLP
  6487. CLIPSRV.EXE
  6488. NETWORKS.WRI
  6489. MOUSEHP.COM
  6490. WINOA386.MOD
  6491. SCRIPT.FON
  6492. KRNL386.EXE
  6493. HRMDG.SHH
  6494. EGALOGO.RLE
  6495. MSHEARTS.EXE
  6496. MIS.SHH
  6497. N2990523.WPD
  6498. SYMBOL.TTF
  6499. LBPII.DRV
  6500. KBDLA.DLL
  6501. OKI24.DRV
  6502. L630_52&.WPD
  6503. APP850.FON
  6504. WIN.CNF
  6505. PBRUSH.DLL
  6506. PAINTJET.DRV
  6507. TKPHZR31.WPD
  6508. ROUTE.COM
  6509. KBDHP.DRV
  6510. HERCLOGO.LGO
  6511. KBDGR.DLL
  6512. SYSTEM.SRC
  6513. NETWARE.DRV
  6514. TERMINAL.HLP
  6515. WINMETER.EXE
  6516. TIMER.DRV
  6517. WINFILE.HLP
  6518. VADLIBD.386
  6519. SMALLB.FON
  6520. MSADLIB.DRV
  6521. SYMBOLE.FON
  6522. QWIII.DRV
  6523. NWPOPUP.EXE
  6524. KRNL286.EXE
  6525. HONEY.BMP
  6526. ARCADE.BMP
  6527. SYSTEM.DRV
  6528. LSL.COM
  6529. LVMD.386
  6530. KBDFI.DLL
  6531. CIT9US.DRV
  6532. VBROWSE.386
  6533. SYSEDIT.EXE
  6534. TASKMAN.EXE
  6535. WINVER
  6536. APPS.INF
  6537. DDEML.DLL
  6538. EGAMONO.2GR
  6539. COMM.DRV
  6540. PSCRIPT.HLP
  6541. EXECJET.DRV
  6542. ROMAN.FON
  6543. SYMBOLF.FON
  6544. MSIPX.SYS
  6545. VGACOLRX.GR2
  6546. DOSX.EXE
  6547. SNDBLST2.DRV
  6548. BLUEMAX.VXD
  6549. MMSYSTEM.DLL
  6550. KBDDA.DLL
  6551. RECORDER.DLL
  6552. EGAOEM.FON
  6553. MSSCHED.DLL
  6554. MCIWAVE.DRV
  6555. COURF.FON
  6556. README.WRI
  6557. KBDUK.DLL
  6558. CONTROL.SRC
  6559. ARIALI.TTF
  6560. PRINTMAN.EXE
  6561. VPICD.386
  6562. WINHELP.HLP
  6563. COURBD.TTF
  6564. VGA861.FON
  6565. MOUSE.DRV
  6566. SSMARQUE.SCR
  6567. EPSON24.DRV
  6568. O5241503.WPD
  6569. TIGAWIN.RLM
  6570. SETUP.TXT
  6571. MSD.INI
  6572. CANON130.DRV
  6573. ARIALBD.TTF
  6574. HPIIP522.WPD
  6575. MSCMOUSE.DRV
  6576. VPOWERD.386
  6577. TKPHZR21.WPD
  6578. VGAMONO.2GR
  6579. GDI.EXE
  6580. HERCLOGO.RLE
  6581. EGAHIBW.DRV
  6582. VGACOLOR.2GR
  6583. V7VGA.3GR
  6584. KBDSF.DLL
  6585. NE2000.DOS
  6586. WINMINE.HLP
  6587. USREDMDG.SHH
  6588. SMALLF.FON
  6589. TIMESI.TTF
  6590. SMARTDRV.EXE
  6591. KBDCA.DLL
  6592. IMPEXP.DLL
  6593. VGAMONO.DRV
  6594. MAILMGR.DLL
  6595. NDDEAPI.DLL
  6596. VDDXGA.386
  6597. WFWSETUP.CPL
  6598. EGAMONO.DRV
  6599. ARIALB.FON
  6600. LMSCRIPT.PIF
  6601. SMALLE.FON
  6602. DOSAPP.FON
  6603. KBDSP.DLL
  6604. DISK2
  6605. KBDIT.DLL
  6606. RINGIN.WAV
  6607. TIMES.TTF
  6608. MSIPX.COM
  6609. MSCVMD.386
  6610. EPL75523.WPD
  6611. IPX.OBJ
  6612. HERCULES.2GR
  6613. EVX16.DOS
  6614. VDDTIGA.386
  6615. CHKLIST.CPS
  6616. WORKGRP.SYS
  6617. EGAFIX.FON
  6618. RIVETS.BMP
  6619. WGPOMGR.DLL
  6620. TTY.HLP
  6621. WININI.WRI
  6622. VGA850.FON
  6623. 386MAX.VXD
  6624. TRIUMPH2.WPD
  6625. MPLAYER.HLP
  6626. POWER.DRV
  6627. SMC3000.DOS
  6628. KBDDV.DLL
  6629. HERMES_2.WPD
  6630. MCICDA.DRV
  6631. DSWAP.EXE
  6632. VWC.386
  6633. VGAFIX.FON
  6634. SCHDPLUS.EXE
  6635. COURI.FOT
  6636. 8514OEM.FON
  6637. SYMBOL.FOT
  6638. IBMCOLOR.DRV
  6639. SETUP.REG
  6640. WFWNET.DRV
  6641. CALC.EXE
  6642. N890X505.WPD
  6643. MOUSE.COM
  6644. SETUP.SHH
  6645. PROTMAN.DOS
  6646. PBRUSH.EXE
  6647. U9415470.WPD
  6648. MAC586.SYS
  6649. ARIAL.FOT
  6650. VGA860.FON
  6651. MAPI.DLL
  6652. 8514SYS.FON
  6653. 8514SYS.FONON
  6654. MAPI.DLL
  6655. 8514SYS.FONPD
  6656. MOUSE.COM
  6657. SETUP.SHH
  6658. PROTMAN.DOS
  6659. PBRUSH.EXE
  6660. U9415470.WPD
  6661. MAC586.SYS
  6662. ARIAL.FOT
  6663. VGA860.FON
  6664. MAPI.DLL
  6665. 8514SYS.FON86.SYS
  6666. ARIAL.FOT
  6667. VGA860.FON
  6668. MAPI.DLL
  6669. 8514SYS.FONL
  6670. 8514SYS.FONL
  6671. 8514SYS.FONI.DLL
  6672. 8514SYS.FON
  6673. 8514SYS.FON
  6674. 8514SYS.FON
  6675. VGA860.FON
  6676. MAPI.DLL
  6677. 8514SYS.FON
  6678. 8514SYS.FONL
  6679. 8514SYS.FONA860.FON
  6680. MAPI.DLL
  6681. 8514SYS.FONL
  6682. 8514SYS.FONL
  6683. 8514SYS.FONSYS.FONL
  6684. 8514SYS.FON14SYS.FONL
  6685. 8514SYS.FONSYS.FONL
  6686. 8514SYS.FON
  6687. WINOLDAP.MODDD
  6688. 8514SYS.FON
  6689. WINOLDAP.MODPAG.BMPMPG.BMPP.BMPMP.BMPPPPG.BMPMPPZAG.BMPMPMPBMPMP.BMPPBMPMPMPPBMP
  6690. |sortSelf
  6691. buttonClick
  6692. buttonClick
  6693. "data"
  6694. sortSelf 
  6695. set text and sort
  6696. cancel
  6697. Please supply a textline to insert.
  6698. insertLine
  6699. newLine
  6700. buttonClick
  6701. buttonClick
  6702. ("Please supply a 
  6703. insert."
  6704. r<> "
  6705. newLine 
  6706. insertLine 
  6707. insert a textline
  6708. tbk_wid_name
  6709. 256COLOR.BMP
  6710. 386MAX.VXD
  6711. 40291730.WPD
  6712. 40293930.WPD
  6713. 8514.DRV
  6714. 8514FIX.FON
  6715. 8514OEM.FON
  6716. 8514SYS.FON
  6717. AB.DLL
  6718. APP850.FON
  6719. APPS.INF
  6720. ARCADE.BMP
  6721. ARGYLE.BMP
  6722. ARIAL.FOT
  6723. ARIAL.TTF
  6724. ARIALB.FON
  6725. ARIALBD.FOT
  6726. ARIALBD.TTF
  6727. ARIALBI.FOT
  6728. ARIALBI.TTF
  6729. ARIALI.FOT
  6730. ARIALI.TTF
  6731. BLUEMAX.VXD
  6732. BP1CP2.PCM
  6733. CALC.EXE
  6734. CALC.HLP
  6735. CAN_ADF.EXE
  6736. CANON10E.DRV
  6737. CANON130.DRV
  6738. CANON330.DRV
  6739. CANYON.MID
  6740. CARDFILE.EXE
  6741. CARDFILE.HLP
  6742. CARDS.DLL
  6743. CARS.BMP
  6744. CASTLE.BMP
  6745. CGA.2GR
  6746. CGA40850.FON
  6747. CGA40WOA.FON
  6748. CGA80850.FON
  6749. CGA80WOA.FON
  6750. CGALOGO.LGO
  6751. CGALOGO.RLE
  6752. CHARMAP.EXE
  6753. CHARMAP.HLP
  6754. CHIMES.WAV
  6755. CHKLIST.CPS
  6756. CIT24US.DRV
  6757. CIT9US.DRV
  6758. CITOH.DRV
  6759. CLIPBRD.EXE
  6760. CLIPBRD.HLP
  6761. CLIPSIBM.SHH
  6762. CLIPSRV.EXE
  6763. CLOCK.EXE
  6764. COMM.DRV
  6765. COMMCTRL.DLL
  6766. COMMDLG.DLL
  6767. CONTROL.EXE
  6768. CONTROL.HLP
  6769. CONTROL.INF
  6770. CONTROL.SRC
  6771. COUR.FOT
  6772. COUR.TTF
  6773. COURBD.FOT
  6774. COURBD.TTF
  6775. COURBI.FOT
  6776. COURBI.TTF
  6777. COURE.FON
  6778. COURF.FON
  6779. COURI.FOT
  6780. COURI.TTF
  6781. CPWIN386.CPL
  6782. DD1CP1.PCM
  6783. DDEML.DLL
  6784. DEC1150.WPD
  6785. DEC2150.WPD
  6786. DEC2250.WPD
  6787. DEC3250.WPD
  6788. DECCOLOR.WPD
  6789. DECLPS20.WPD
  6790. DEMILAYR.DLL
  6791. DEPCA.DOS
  6792. DISK2
  6793. DISK3
  6794. DISK6
  6795. DISK8
  6796. DISK9
  6797. DISKA
  6798. DISKB
  6799. DM309.DRV
  6800. DOSAPP.FON
  6801. DOSX.EXE
  6802. DRIVERS.CPL
  6803. DRWATSON.EXE
  6804. DSWAP.EXE
  6805. EGA.3GR
  6806. EGA.DRV
  6807. EGA.SYS
  6808. EGA40850.FON
  6809. EGA40WOA.FON
  6810. EGA80850.FON
  6811. EGA80WOA.FON
  6812. EGACOLOR.2GR
  6813. EGAFIX.FON
  6814. EGAHIBW.DRV
  6815. EGALOGO.LGO
  6816. EGALOGO.RLE
  6817. EGAMONO.2GR
  6818. EGAMONO.DRV
  6819. EGAMONO.LGO
  6820. EGAMONO.RLE
  6821. EGAOEM.FON
  6822. EGASYS.FON
  6823. EGYPT.BMP
  6824. ELNK16.DOS
  6825. ELNK3.DOS
  6826. ELNKII.DOS
  6827. ELNKMC.DOS
  6828. ELNKPL.DOS
  6829. EMM386.EXE
  6830. EPL75523.WPD
  6831. EPSON24.DRV
  6832. EPSON9.DRV
  6833. ESCP2.DRV
  6834. EVX16.DOS
  6835. EXECJET.DRV
  6836. EXP16.DOS
  6837. EXPAND.EXE
  6838. FINSTALL.DLL
  6839. FINSTALL.HLP
  6840. FRAMEWRK.DLL
  6841. GDI.EXE
  6842. GENDRV.DLL
  6843. GLOSSARY.HLP
  6844. HERC850.FON
  6845. HERCLOGO.LGO
  6846. HERCLOGO.RLE
  6847. HERCULES.2GR
  6848. HERCWOA.FON
  6849. HERMES_2.WPD
  6850. HIMEM.SYS
  6851. HONEY.BMP
  6852. HP_3P522.WPD
  6853. HPDSKJET.DRV
  6854. HPELI523.WPD
  6855. HPIID522.WPD
  6856. HPIIP522.WPD
  6857. HPLANB.DOS
  6858. HPMOUSE.DRV
  6859. HPPCL.DRV
  6860. HPPCL5MS.DRV
  6861. HPPLOT.DRV
  6862. HPSYSTEM.DRV
  6863. HRIBM.SHH
  6864. HRMDG.SHH
  6865. I82593.DOS
  6866. IBM17521.WPD
  6867. IBM39521.WPD
  6868. IBM4019.DRV
  6869. IBM5204.DRV
  6870. IBMCOLOR.DRV
  6871. IBMTOK.DOS
  6872. IMPEXP.DLL
  6873. IPX.OBJ
  6874. IPXODI.COM
  6875. KBDBE.DLL
  6876. KBDCA.DLL
  6877. KBDDA.DLL
  6878. KBDDV.DLL
  6879. KBDFC.DLL
  6880. KBDFI.DLL
  6881. KBDFR.DLL
  6882. KBDGR.DLL
  6883. KBDHP.DRV
  6884. KBDIC.DLL
  6885. KBDIT.DLL
  6886. KBDLA.DLL
  6887. KBDNE.DLL
  6888. KBDNO.DLL
  6889. KBDPO.DLL
  6890. KBDSF.DLL
  6891. KBDSG.DLL
  6892. KBDSP.DLL
  6893. KBDSW.DLL
  6894. KBDUK.DLL
  6895. KBDUS.DLL
  6896. KBDUSX.DLL
  6897. KEYBOARD.DRV
  6898. KRNL286.EXE
  6899. KRNL386.EXE
  6900. L100_425.WPD
  6901. L200230&.WPD
  6902. L300_471.WPD
  6903. L300_493.WPD
  6904. L500_493.WPD
  6905. L530_52&.WPD
  6906. L630_52&.WPD
  6907. LANGDUT.DLL
  6908. LANGENG.DLL
  6909. LANGFRN.DLL
  6910. LANGGER.DLL
  6911. LANGSCA.DLL
  6912. LANGSPA.DLL
  6913. LANMAN10.386
  6914. LBPII.DRV
  6915. LBPIII.DRV
  6916. LEAVES.BMP
  6917. LMOUSE.COM
  6918. LMOUSE.DRV
  6919. LMSCRIPT.EXE
  6920. LMSCRIPT.PIF
  6921. LSL.COM
  6922. LVMD.386
  6923. LZEXPAND.DLL
  6924. MAC586.SYS
  6925. MADGE
  6926. MAILMGR.DLL
  6927. MAILSPL.EXE
  6928. MAIN.CPL
  6929. MAPI.DLL
  6930. MCICDA.DRV
  6931. MCISEQ.DRV
  6932. MCIWAVE.DRV
  6933. MIDIMAP.CFG
  6934. MIDIMAP.DRV
  6935. MIS.SHH
  6936. MKTNGIBM.SHH
  6937. MMSOUND.DRV
  6938. MMSYSTEM.DLL
  6939. MMTASK.TSK
  6940. MMTLHI.DRV
  6941. MMTLLO.DRV
  6942. MODERN.FON
  6943. MONOUMB2.386
  6944. MORICONS.DLL
  6945. MOUSE.COM
  6946. MOUSE.DRV
  6947. MOUSE.SYS
  6948. MOUSEHP.COM
  6949. MOUSEHP.SYS
  6950. MPLAYER.EXE
  6951. MPLAYER.HLP
  6952. MPU401.DRV
  6953. MSADLIB.DRV
  6954. MSCMOUSE.DRV
  6955. MSCVMD.386
  6956. MSD.EXE
  6957. MSD.INI
  6958. MSHEARTS.EXE
  6959. MSHEARTS.HLP
  6960. MSIPX.COM
  6961. MSIPX.SYS
  6962. MSMAIL.EXE
  6963. MSMAIL.HLP
  6964. MSNET.DRV
  6965. MSREMIND.EXE
  6966. MSSCHED.DLL
  6967. MSSFS.DLL
  6968. MT_TI101.WPD
  6969. N2290520.WPD
  6970. N2990523.WPD
  6971. N890_470.WPD
  6972. N890X505.WPD
  6973. NCM80519.WPD
  6974. NDDEAPI.DLL
  6975. NDIS39XR.DOS
  6976. NE1000.DOS
  6977. NE2000.DOS
  6978. NEC24PIN.DRV
  6979. NET.EXE
  6980. NETAPI.DLL
  6981. NETDDE.EXE
  6982. NETH.MSG
  6983. NETWARE.DRV
  6984. NETWARE.HLP
  6985. NETWATCH.EXE
  6986. NETWATCH.HLP
  6987. NETWORK.INF
  6988. NETWORK.SAV
  6989. NETWORKS.WRI
  6990. NETX.COM
  6991. NI6510.DOS
  6992. NOMOUSE.DRV
  6993. NOTEPAD.EXE
  6994. NOTEPAD.HLP
  6995. NWPOPUP.EXE
  6996. O5241503.WPD
  6997. OKI24.DRV
  6998. OKI9.DRV
  6999. OKI9IBM.DRV
  7000. OL840518.WPD
  7001. OLECLI.DLL
  7002. OLESVR.DLL
  7003. OLIBW.DRV
  7004. OLIGRAB.2GR
  7005. OLITOK.DOS
  7006. OLIVETI1.WPD
  7007. PACKAGER.EXE
  7008. PACKAGER.HLP
  7009. PAINTJET.DRV
  7010. PANSON24.DRV
  7011. PANSON9.DRV
  7012. PBRUSH.DLL
  7013. PBRUSH.EXE
  7014. PBRUSH.HLP
  7015. PE2NDIS.EXE
  7016. PENDIS.DOS
  7017. PIFEDIT.EXE
  7018. PIFEDIT.HLP
  7019. PLASMA.3GR
  7020. PLASMA.DRV
  7021. PMSPL.DLL
  7022. POWER.DRV
  7023. POWER.HLP
  7024. PRINTERS.WRI
  7025. PRINTMAN.EXE
  7026. PRINTMAN.HLP
  7027. PRO4.DOS
  7028. PROGMAN.EXE
  7029. PROGMAN.HLP
  7030. PROPRINT.DRV
  7031. PROPRN24.DRV
  7032. PRORAPM.DWN
  7033. PROTMAN.DOS
  7034. PROTMAN.EXE
  7035. PRTUPD.INF
  7036. PS1.DRV
  7037. PSCRIPT.DRV
  7038. PSCRIPT.HLP
  7039. Q2200510.WPD
  7040. Q820_517.WPD
  7041. QWIII.DRV
  7042. README.WRI
  7043. RECORDER.DLL
  7044. RECORDER.EXE
  7045. RECORDER.HLP
  7046. REDBRICK.BMP
  7047. REGEDIT.EXE
  7048. REGEDIT.HLP
  7049. REGEDITV.HLP
  7050. RINGIN.WAV
  7051. RINGOUT.WAV
  7052. RIVETS.BMP
  7053. ROMAN.FON
  7054. ROUTE.COM
  7055. SCHDPLUS.EXE
  7056. SCHDPLUS.HLP
  7057. SCHEDMSG.DLL
  7058. SCRIPT.FON
  7059. SCRNSAVE.SCR
  7060. SEIKO_04.WPD
  7061. SEIKO_14.WPD
  7062. SENDFILE.DLL
  7063. SERIFB.FON
  7064. SERIFE.FON
  7065. SERIFF.FON
  7066. SETUP.EXE
  7067. SETUP.HLP
  7068. SETUP.INF
  7069. SETUP.INI
  7070. SETUP.REG
  7071. SETUP.SHH
  7072. SETUP.TXT
  7073. SF4019.EXE
  7074. SHELL.DLL
  7075. SL.DLL
  7076. SL.HLP
  7077. SMALLB.FON
  7078. SMALLE.FON
  7079. SMALLF.FON
  7080. SMARTDRV.EXE
  7081. SMARTND.DOS
  7082. SMC_ARC.DOS
  7083. SMC3000.DOS
  7084. SMCMAC.DOS
  7085. SND.CPL
  7086. SNDBLST.DRV
  7087. SNDBLST2.DRV
  7088. SOL.HLP
  7089. SOUNDREC.EXE
  7090. SOUNDREC.HLP
  7091. SQUARES.BMP
  7092. SSERIFB.FON
  7093. SSERIFE.FON
  7094. SSERIFF.FON
  7095. SSFLYWIN.SCR
  7096. SSMARQUE.SCR
  7097. SSSTARS.SCR
  7098. STORE.DLL
  7099. SUPERVGA.DRV
  7100. SYMBOL.FOT
  7101. SYMBOL.TTF
  7102. SYMBOLB.FON
  7103. SYMBOLE.FON
  7104. SYMBOLF.FON
  7105. SYSEDIT.EXE
  7106. SYSINI.WRI
  7107. SYSTEM.DRV
  7108. SYSTEM.SRC
  7109. TASKMAN.EXE
  7110. TBMI2.COM
  7111. TCCARC.DOS
  7112. TERMINAL.EXE
  7113. TERMINAL.HLP
  7114. TESTPS.TXT
  7115. THATCH.BMP
  7116. THINKJET.DRV
  7117. TI850.DRV
  7118. TIGA.DRV
  7119. TIGAWIN.RLM
  7120. TIM17521.WPD
  7121. TIM35521.WPD
  7122. TIMER.DRV
  7123. TIMES.FOT
  7124. TIMES.TTF
  7125. TIMESB.FON
  7126. TIMESBD.FOT
  7127. TIMESBD.TTF
  7128. TIMESBI.FOT
  7129. TIMESBI.TTF
  7130. TIMESI.FOT
  7131. TIMESI.TTF
  7132. TKPHZR21.WPD
  7133. TKPHZR31.WPD
  7134. TOOLHELP.DLL
  7135. TRIUMPH1.WPD
  7136. TRIUMPH2.WPD
  7137. TRNSCHED.DLL
  7138. TTY.DRV
  7139. TTY.HLP
  7140. U9415470.WPD
  7141. UNIDRV.DLL
  7142. UNIDRV.HLP
  7143. USER.EXE
  7144. USREDIBM.SHH
  7145. USREDMDG.SHH
  7146. V7VDD.386
  7147. V7VGA.3GR
  7148. V7VGA.DRV
  7149. VADLIBD.386
  7150. VBROWSE.386
  7151. VCD.386
  7152. VDD8514.386
  7153. VDDCGA.386
  7154. VDDEGA.386
  7155. VDDHERC.386
  7156. VDDTIGA.386
  7157. VDDTLI4.386
  7158. VDDVGA30.386
  7159. VDDXGA.386
  7160. VDMAD.386
  7161. VER.DLL
  7162. VFORMS.DLL
  7163. VGA.3GR
  7164. VGA.DRV
  7165. VGA30.3GR
  7166. VGA850.FON
  7167. VGA860.FON
  7168. VGA861.FON
  7169. VGA865.FON
  7170. VGACOLOR.2GR
  7171. VGACOLRX.GR2
  7172. VGADIB.3GR
  7173. VGAFIX.FON
  7174. VGALOGO.LGO
  7175. VGALOGO.RLE
  7176. VGAMONO.2GR
  7177. VGAMONO.DRV
  7178. VGAOEM.FON
  7179. VGASYS.FON
  7180. VIPX.386
  7181. VNB.386
  7182. VNETBIOS.386
  7183. VNETSUP.386
  7184. VNETWARE.386
  7185. VPD.386
  7186. VPICD.386
  7187. VPOWERD.386
  7188. VREDIR.386
  7189. VSBD.386
  7190. VSERVER.386
  7191. VTDAPI.386
  7192. VWC.386
  7193. WFWNET.DRV
  7194. WFWNET.HLP
  7195. WFWSETUP.CPL
  7196. WGPOMGR.DLL
  7197. WIN.CNF
  7198. WIN.SRC
  7199. WIN386.EXE
  7200. WIN386.PS2
  7201. WIN87EM.DLL
  7202. WINCHAT.EXE
  7203. WINCHAT.HLP
  7204. WINDOWS.LOD
  7205. WINFILE.EXE
  7206. WINFILE.HLP
  7207. WINGDING.FOT
  7208. WINGDING.TTF
  7209. WINHELP.EXE
  7210. WINHELP.HLP
  7211. WININI.WRI
  7212. WINLOGO.BMP
  7213. WINMETER.EXE
  7214. WINMINE.EXE
  7215. WINMINE.HLP
  7216. WINOA386.MOD
  7217. WINTUTOR.DAT
  7218. WINTUTOR.EXE
  7219. WINVER
  7220. WORKGRP.SYS
  7221. WRITE.EXE
  7222. WRITE.HLP
  7223. WSWAP.EXE
  7224. XGA.DRV
  7225. XLAT850.BIN
  7226. XLAT861.BIN
  7227. XLAT863.BIN
  7228. XMSMMGR.EXE
  7229. ZIGZAG.BMP
  7230. VWC.386
  7231. WFWNET.DRV
  7232. WFWNET.HLP
  7233. WFWSETUP.CPL
  7234. WGPOMGR.DLL
  7235. WIN.CNF
  7236. WIN.SRC
  7237. WIN386.EXE
  7238. WIN386.PS2
  7239. WIN87EM.DLL
  7240. WINCHAT.EXE
  7241. WINCHAT.HLP
  7242. WINDOWS.LOD
  7243. WINFILE.EXE
  7244. WINFILE.HLP
  7245. WINGDING.FOT
  7246. WINGDING.TTF
  7247. WINHELP.EXE
  7248. WINHELP.HLP
  7249. WININI.WRI
  7250. WINLOGO.BMP
  7251. WINMETER.EXE
  7252. WINMINE.EXE
  7253. WINMINE.HLP
  7254. WINOA386.MOD
  7255. WINOLDAP.MOD
  7256. WINTUTOR.DAT
  7257. WINTUTOR.EXE
  7258. WINVER
  7259. WORKGRP.SYS
  7260. WRITE.EXE
  7261. WRITE.HLP
  7262. WSWAP.EXE
  7263. XGA.DRV
  7264. XLAT850.BIN
  7265. XLAT860.BIN
  7266. XLAT861.BIN
  7267. XLAT863.BIN
  7268. XLAT865.BIN
  7269. XMSMMGR.EXE
  7270. ZIGZAG.BMP
  7271. ZIGZAG.BMP<
  7272. FALSE
  7273. Auto-scrollbar field
  7274. Field widgets
  7275. chapter
  7276. FALSE
  7277. visited
  7278. chapterID
  7279. Field id 0 of Page id 26
  7280. widgets
  7281. This field recognizes when the text starts to overflow, and turns itself into a scrolling field.
  7282. By testing the textOverflow property, this field becomes a scrolling field when it holds more text than it can display. The Details field in this book uses this method.
  7283. Auto_Scroll
  7284. zashowOrHideScrollbar
  7285. enterPage
  7286. zashowOrHideScrollbar
  7287. leaveField
  7288. zashowOrHideScrollbar
  7289. keyUp
  7290. zashowOrHideScrollbar
  7291. showOrHideScrollbar
  7292. notifyBefore 
  7293. showOrHideScrollbar
  7294. notifyAfter 
  7295. E> 0 
  7296. Auto_Scroll
  7297. tbk_wid_name
  7298. jfkdls;a
  7299. fdjklsa;fhndfg dfg
  7300. dfh;ajfklds;
  7301. enterPage
  7302. leaveField
  7303. keyUp
  7304. FALSE
  7305. Auto-scrollbar Field
  7306. Calculator
  7307. International Auto Date and Time
  7308. Searching field
  7309. Field widgets
  7310. chapter
  7311. FALSE
  7312. visited
  7313. chapterID
  7314. Group id 3 of Page id 27
  7315. widgets
  7316. By typing in the field at the top, you can find an entry in the field below.
  7317. In response to the enterPage message for this page, the scrolling field fills an array with its text. This helps speed the search that takes place after each keyDown message in the upper field.
  7318. search
  7319. search
  7320. tbk_wid_name
  7321. index
  7322. .&+    +
  7323. itemArray
  7324. enterPage
  7325. buttonUp
  7326. notifyBefore 
  7327. 4ARRAY STRING itemArray[]
  7328.     fill 
  7329. B] order
  7330. oselectedTextlines 
  7331. activate
  7332. after
  7333. again
  7334. alias
  7335. align
  7336. angle
  7337. application
  7338. argument
  7339. ascending
  7340. background
  7341. backgroundimage
  7342. before
  7343. bitand
  7344. bitnot
  7345. bitor
  7346. bitshiftleft
  7347. bitshiftright
  7348. bitxor
  7349. break
  7350. caption
  7351. changes
  7352. character
  7353. characters
  7354. chars
  7355. check
  7356. chooseresource
  7357. clear
  7358. close
  7359. closefile
  7360. closeremote
  7361. commandwindow
  7362. conditions
  7363. contains
  7364. context
  7365. continue
  7366. createfile
  7367. deactivate
  7368. decrement
  7369. default
  7370. descending
  7371. dimensions
  7372. direction
  7373. disable
  7374. dynamic
  7375. eighth
  7376. eject
  7377. enable
  7378. excluding
  7379. execute
  7380. executeremote
  7381. export
  7382. extend
  7383. fifth
  7384. first
  7385. fixed
  7386. format
  7387. forward
  7388. fourth
  7389. fxdissolve
  7390. fxwipe
  7391. fxzoom
  7392. getremote
  7393. graphic
  7394. handle
  7395. helptext
  7396. import
  7397. importgraphic
  7398. increment
  7399. insteadof
  7400. items
  7401. keepremote
  7402. linkdll
  7403. local
  7404. locateonly
  7405. magnify
  7406. menubar
  7407. menuenabled
  7408. menuitem
  7409. menuitemchecked
  7410. menuitemenabled
  7411. menustate
  7412. middle
  7413. minimized
  7414. modal
  7415. ninth
  7416. normal
  7417. notactive
  7418. notifyafter
  7419. notifybefore
  7420. number
  7421. openfile
  7422. order
  7423. pageimage
  7424. password
  7425. pause
  7426. previous
  7427. print
  7428. properties
  7429. readfile
  7430. records
  7431. reference
  7432. remove
  7433. request
  7434. reset
  7435. resource
  7436. resourcecount
  7437. resourcelist
  7438. respondremote
  7439. restore
  7440. return
  7441. scrollbar
  7442. search
  7443. second
  7444. seconds
  7445. seekfile
  7446. select
  7447. sendnotifyafter
  7448. sendnotifybefore
  7449. separator
  7450. setmenuhelptext
  7451. setmenuitemhelptext
  7452. setmenuitemname
  7453. setmenuname
  7454. setremote
  7455. seventh
  7456. shift
  7457. silently
  7458. sixth
  7459. speed
  7460. spooler
  7461. start
  7462. store
  7463. target
  7464. tenth
  7465. textfrompoint
  7466. textline
  7467. textlines
  7468. third
  7469. ticks
  7470. topic
  7471. transition
  7472. translatewindowmessage
  7473. uncheck
  7474. unlinkdll
  7475. unselect
  7476. until
  7477. untranslateallwindowmessages
  7478. untranslatewindowmessage
  7479. using
  7480. variable
  7481. variables
  7482. while
  7483. window
  7484. within
  7485. without
  7486. words
  7487. writefile                        
  7488. seed    
  7489. seekfile            
  7490. select    
  7491. self                
  7492. send    
  7493. sendnotifyafter    
  7494. sendnotifybefore    
  7495. separator            
  7496. set                 
  7497. setmenuhelptext     
  7498. setmenuitemhelptext
  7499. setmenuitemname     
  7500. setmenuname         
  7501. setremote
  7502. seventh                         
  7503. shift                
  7504. show    
  7505. silently            
  7506. sixth                
  7507. slow                
  7508. sort    
  7509. speed                
  7510. spooler                         
  7511. start    
  7512. step    
  7513. store    
  7514. target                
  7515. tenth                
  7516. textfrompoint        
  7517. textline            
  7518. textlines            
  7519. then                
  7520. third                
  7521. this                
  7522. ticks                
  7523. time                
  7524. to                    
  7525. tool                
  7526. topic                
  7527. transition
  7528. translatewindowmessage
  7529. uncheck             
  7530. unlinkdll
  7531. unselect
  7532. until                
  7533. untranslateallwindowmessages    
  7534. untranslatewindowmessage        
  7535. using                
  7536. variable            
  7537. variables            
  7538. when                
  7539. while    
  7540. window                
  7541. with                
  7542. within                
  7543. without                         
  7544. word                
  7545. words                
  7546. writefilefile
  7547. enterPage
  7548. FALSE
  7549. Bold, italic, and underline
  7550. Field widgets
  7551. chapter
  7552. FALSE
  7553. visited
  7554. chapterID
  7555. Group id 4 of Page id 28
  7556. widgets
  7557. The buttons below will bold, italicize, or underline any selected text.
  7558. These buttons send the bold, italic, or underline message to change any text you have selected. The group script uses a notify handler to determine the correct state for the buttons after new text has been selected.
  7559. Bold_Italic_Underline
  7560. .&,    "
  7561. hasUnderline
  7562. Italic
  7563. hasItalic
  7564. hasBold
  7565. underline
  7566. FALSE
  7567. italic
  7568. s_widOldText
  7569. Underline
  7570. notifyAfter 
  7571. 4s_widOldText
  7572. = TRUE
  7573. FALSE
  7574.             hasBold = 
  7575.             hasItalic = 
  7576.             hasUnderline = 
  7577. Bold_Italic_Underline
  7578. tbk_wid_name
  7579. buttonClick
  7580. buttonClick
  7581. FALSE
  7582. inverted
  7583. Italic
  7584. buttonClick
  7585. buttonClick
  7586. FALSE
  7587. inverted
  7588. Underline
  7589. buttonClick
  7590. buttonClick
  7591. FALSE
  7592. inverted
  7593. This is a test of the Bold, Italic, and Underline widget buttons.dsfdklfjdksl;ajfa
  7594. FALSE
  7595. Drag and drop text
  7596. Field widgets
  7597. chapter
  7598. FALSE
  7599. visited
  7600. chapterID
  7601. Field id 0 of Page id 29
  7602. widgets
  7603. This widget enables you to select text, then drag it into another field.
  7604. This widget allows you to drag any text out of it and then drop that text into any field that has its allowDrop property set to true. You can create such a field in the application you paste the widget into by drawing a field, then setting allowDrop to true from the Field Property dialog box.
  7605. Drag_Drop_Text
  7606. Drag_Drop_Text
  7607. tbk_wid_name
  7608. Drag&Drop: 
  7609. Select some text in this field and drag it to one of the others. One of the other fields allows drops, the other doesn't. Test,
  7610. stest
  7611. tetstetst
  7612. stillOverDrop
  7613. enterDrop
  7614. stillOverDrop sourceObj, loc
  7615. FALSE
  7616. caretLocation 
  7617. enterDrop
  7618. FALSE
  7619. FALSE
  7620. Drag and drop text
  7621. Data widgets
  7622. Time and Date,Spinners,Validate on leaveField; Numbers,Validate on leaveField; Text,Validate on Keystroke; Numbers,Validate on Keystroke; Text,Directories and Files,Add and Remove
  7623. myPageList
  7624. 9,10,11,12,79,8,14,13,15,141,80,86,16,17
  7625. widgetIDs
  7626. Spinners
  7627. Data widgets
  7628. chapter
  7629. FALSE
  7630. visited
  7631. chapterID
  7632. Group id 29 of Page id 8,Group id 17 of Page id 8,Group id 6 of Page id 8
  7633. widgets
  7634. These widgets let you set data in a field by "spinning" to the desired value. In the time and date widgets, select what part you want to change.
  7635. All three spinners are groups. The integer spinner has simple scripts in each button that increment and decrement the value in the field.
  7636. The date and time spinners are more sophisticated. The buttons set the value of the selected part of the date or time; the fields need some fairly complicated algorithms to recognize which values are legal.
  7637. Integer
  7638. Integer
  7639. tbk_wid_name
  7640. integer
  7641. spinUp
  7642. w%spinUp
  7643. buttonDown
  7644. w%spinUp
  7645. buttonStillDown
  7646. spinUp
  7647. "integer"
  7648. integer
  7649. spinDown
  7650. |spinDown
  7651. buttonDown
  7652. |spinDown
  7653. buttonStillDown
  7654. spinDown
  7655. "integer"
  7656. integer
  7657. tbk_wid_name
  7658. month
  7659. month
  7660. buttonDown
  7661. month
  7662. month
  7663. buttonStillDown
  7664. selectedHotwords 
  7665. "day"
  7666. "month"
  7667. "year"
  7668. increment
  7669. decrement
  7670. increment
  7671. evaluate(day)
  7672. 04 / 19 / 777
  7673. month
  7674. tbk_wid_name
  7675. ;seconds
  7676. seconds
  7677. minute
  7678. minute
  7679. buttonDown
  7680. ;seconds
  7681. seconds
  7682. minute
  7683. minute
  7684. buttonStillDown
  7685. selectedHotwords 
  7686. "hour"
  7687. "Time" 
  7688. "minute"
  7689. "AMPM"
  7690. increment
  7691. decrement
  7692. increment
  7693. evaluate(day)
  7694. 09 : 25 : 27 PMM
  7695. minute
  7696. seconds
  7697. integer:spinner:
  7698. date:spinner:
  7699. time:spinner:er
  7700. FALSE
  7701. Spinners
  7702. Outline
  7703. Self Sorting Field
  7704. Simple Line Chart
  7705. Pie Chart
  7706. Validate on leaveField, numbers
  7707. Data widgets
  7708. chapter
  7709. FALSE
  7710. visited
  7711. chapterID
  7712. Field id 3 of Page id 9,Field id 2 of Page id 9,Field id 1 of Page id 9,Field id 0 of Page id 9
  7713. widgets
  7714. This widget validates numeric data when the user leaves the field.s
  7715. The widget fields will only accept data of the type described in the fields to the left of the widgets. The widget tests the data for the valid type when the user leaves the field.Q
  7716. LeaveField_Number
  7717. The value in the field must be a number.
  7718. leaveField
  7719. xisType(REAL, 
  7720. "The value 
  7721. must be a 
  7722. LeaveField_Number
  7723. tbk_wid_name
  7724. 034.344r
  7725. LeaveField_Integer
  7726. The value in the field must be an integer.
  7727. leaveField
  7728. x(isType(REAL, 
  7729. k1) = 0)
  7730. "The value 
  7731. must be 
  7732. integer."
  7733. LeaveField_Integer
  7734. tbk_wid_name
  7735. -12333.444444
  7736. LeaveField_PosNumber
  7737. The value in the field must be a positive number.
  7738. leaveField
  7739. x(isType(REAL, 
  7740. "The value 
  7741. must be a positive 
  7742. LeaveField_PosNumber
  7743. tbk_wid_name
  7744. 55.5444444444
  7745. LeaveField_PosInt
  7746. The value in the field must be a positive integer.
  7747. leaveField
  7748. x(isType(REAL, 
  7749. k1 = 0)
  7750. "The value 
  7751. must be a positive integer."
  7752. LeaveField_PosInt
  7753. tbk_wid_name
  7754. 5444444765444
  7755. Number:
  7756. Integer:
  7757. Positive Number:
  7758. Positive Integer:
  7759. FALSE
  7760. Validate on leaveField, Numbers
  7761. Add and Remove
  7762. fgdfgh
  7763. Validate on leaveField, text
  7764. Data widgets
  7765. chapter
  7766. FALSE
  7767. visited
  7768. chapterID
  7769. Field id 6 of Page id 10,Field id 4 of Page id 10,Field id 1 of Page id 10,Field id 0 of Page id 10
  7770. widgets
  7771. This widget validates text when the user leaves the field.o
  7772. The widget fields will only accept data of the type described in the fields to the left of the widgets. The widget tests the data for the valid type when the user leaves the field. 
  7773. The first widget uses a pattern editable from the script. The third and fourth widgets use the sysDateFormat and sysTimeFormat.
  7774. LeaveField_Pattern
  7775. ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
  7776. string does not match key:
  7777. FALSE
  7778. NNN-**-AA-NNN
  7779. valid
  7780. string
  7781.  ,.-*e
  7782. tempKey
  7783. alpha
  7784. numeric
  7785. seperator
  7786. 0123456789
  7787. leaveField
  7788.     -- A key 
  7789. consists 
  7790. arbitray length 
  7791. four different 
  7792.     -- "N" means the 
  7793. that 
  7794. must be a 
  7795.     -- "A" 
  7796. (alpha.
  7797.     -- "-" 
  7798. 9seperator.
  7799.     -- Anything 
  7800. (we used "*") 
  7801. c"I don't care".
  7802.     -- Use 
  7803. establish your own 
  7804. = "NNN-**-AA-
  7805.     tempKey = key
  7806.  = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
  7807.     numeric = "0123456789"
  7808.  = " ,.-*e"
  7809.     valid = TRUE
  7810. FFALSE
  7811. does 
  7812. xmatch key:" && 
  7813. LeaveField_Pattern
  7814. tbk_wid_name
  7815. 234-s@-WE-234444
  7816. LeaveField_Whitespace
  7817. 2,    "L
  7818. ,!JA"
  7819. ,!Ja"
  7820. ,%H.%
  7821. The characters in the field must all be in the alphabet.
  7822. leaveField
  7823. = 32 
  7824. = 9)) 
  7825. < 65) 
  7826. > 90 
  7827. < 97) 
  7828. > 122) 
  7829. "The 
  7830. must 
  7831. alphabet."
  7832. LeaveField_Whitespace
  7833. tbk_wid_name
  7834. Foobar Barfoorrrrrrrrr
  7835. Pattern match:
  7836. Alpha - whitespace:
  7837. LeaveField_Date
  7838. not a valid date, use:
  7839. leaveField
  7840. xisType(
  7841. xa valid 
  7842. r, use:" && 
  7843. LeaveField_Date
  7844. tbk_wid_name
  7845. 1/1/6555
  7846. Date:
  7847. LeaveField_Time
  7848. not a valid time, use:
  7849. leaveField
  7850. xisType(
  7851. xa valid 
  7852. I, use:" && 
  7853. LeaveField_Time
  7854. tbk_wid_name
  7855. 12:00:00 AM
  7856. Time:
  7857. FALSE
  7858. Validate on keystroke, numbers
  7859. Data widgets
  7860. chapter
  7861. FALSE
  7862. visited
  7863. chapterID
  7864. Field id 3 of Page id 11,Field id 2 of Page id 11,Field id 1 of Page id 11,Field id 0 of Page id 11
  7865. widgets
  7866. The numerical value is validated after each keystroke.k
  7867. The widget fields will only accept data of the type described in the fields to the left of the widgets. The widget tests the data after each keystroke.
  7868. Keystroke_Number
  7869. 1234567890-+
  7870. 1234567890
  7871. characterPosition
  7872. keyChar
  7873. key, isShift, isControl
  7874. ZSTRING characterTyped
  7875.  = ansitoChar(
  7876.     numberDigits = 
  7877.     characterPosition = 
  7878. caretLocation
  7879. j = "."
  7880. ~(".", 
  7881. ) = 0 
  7882. h> 0 
  7883. X> 1)
  7884. "1234567890-+"
  7885. "1234567890"
  7886. key = 
  7887. Keystroke_Number
  7888. tbk_wid_name
  7889. 4254.7644444444444444
  7890. Keystroke_Int
  7891. 1234567890-+
  7892. 1234567890
  7893. keyChar
  7894. key, isShift, isControl
  7895. ZSTRING characterTyped
  7896. "1234567890"
  7897. caretLocation 
  7898. "1,0" 
  7899. "1234567890-+"
  7900. Keystroke_Int
  7901. tbk_wid_name
  7902. -567563
  7903. Keystroke_PosNum
  7904. 1234567890
  7905. 1234567890+
  7906. keyChar
  7907. key, isShift, isControl
  7908. ZSTRING characterTyped
  7909.  = ansitoChar(
  7910.     numberDigits = 
  7911. "1234567890+"
  7912. _ = "." 
  7913. ~(".", 
  7914. ) = 0 
  7915. "1234567890"
  7916. Keystroke_PosNum
  7917. tbk_wid_name
  7918. 98.56577577776565777
  7919. Keystroke_PosInt
  7920. numberDigits
  7921. 1234567890
  7922. 1234567890+
  7923. keyChar
  7924. key, isShift, isControl
  7925. ZSTRING characterTyped
  7926.  = ansitoChar(
  7927.     numberDigits = 
  7928. "1234567890+"
  7929. "1234567890"
  7930. Keystroke_PosInt
  7931. tbk_wid_name
  7932. 8765408765444
  7933. Number:
  7934. Integer:
  7935. PosNum:er
  7936. PosInt:
  7937. FALSE
  7938. Validate on Keystroke, Numbers
  7939. sdgsdfg
  7940. MIDI Keyboard
  7941. Validate on keystroke, text
  7942. Data widgets
  7943. chapter
  7944. FALSE
  7945. visited
  7946. chapterID
  7947. Field id 6 of Page id 12,Field id 5 of Page id 12,Field id 0 of Page id 12
  7948. widgets
  7949. This widget validates the text after each keystroke.3
  7950. The widget fields will only accept data of the type described in the fields to the left of the widgets. The test is made after each keystroke. The pattern for the first widget is a user property. !
  7951. Keystroke_FormatText
  7952. NNN-AAA-*NN
  7953. templet
  7954. Keystroke_FormatText
  7955. tbk_wid_name
  7956. 345-yrt-434
  7957. Patterned text:
  7958. Alpha - whitespace:
  7959. AlphaNumeric - whitespace:
  7960. Keystroke_Alphawhitespace
  7961. ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
  7962. keyChar
  7963. key, isShift, isControl
  7964. ZSTRING characterTyped
  7965.  = ansitoChar(
  7966.     numberDigits = 
  7967. "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
  7968. Keystroke_Alphawhitespace
  7969. tbk_wid_name
  7970. widget widget   
  7971. Keystroke_Alphanumeric
  7972. ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
  7973. keyChar
  7974. key, isShift, isControl
  7975. ZSTRING characterTyped
  7976.  = ansitoChar(
  7977.     numberDigits = 
  7978. "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
  7979.  = 8 
  7980.  = 9 
  7981.  = 32
  7982. Keystroke_Alphanumeric
  7983. tbk_wid_name
  7984. jkljk34 33fjklasssssssssssssss
  7985. FALSE
  7986. Validate on Keystroke, Text
  7987. Outline Rearranger
  7988. Tab widget
  7989. Directories and files
  7990. Data widgets
  7991. chapter
  7992. FALSE
  7993. visited
  7994. chapterID
  7995. Field id 2 of Page id 13,Field id 4 of Page id 13,Field id 1 of Page id 13,ComboBox id 3 of Page id 13,Field id 0 of Page id 13
  7996. widgets
  7997. These fields can navigate to and display information from your DOS directories.
  7998. These five widgets provide a way to move around in the DOS file system. Changing items here actually changes what drive you are logged onto and what directory is current.
  7999. &Directories
  8000. directories
  8001. directories
  8002. tbk_wid_name
  8003. CLIPART
  8004. SAMPLES
  8005. SETUP
  8006. TUTORIAL
  8007. WINAPISNDAPPS
  8008. WINDOWS
  8009. WINVIDEO
  8010. WINWORD
  8011. ZIPPERL
  8012. MSVCPP
  8013. PDOXWIN
  8014. SOUND
  8015. THINGS
  8016. TSCSI
  8017. WINDOWS
  8018. WINVIDEO
  8019. WINWORD2
  8020. ZIPPERX
  8021. HELPHOOK
  8022. HFORM
  8023. HOOKS
  8024. INPUT
  8025. INSTVER
  8026. LISTHORZ
  8027. LOWPASS
  8028. MACROHLP
  8029. MAKEAPP
  8030. MCITEST
  8031. MEMORY
  8032. MIDIMON
  8033. MULTIPAD
  8034. MUSCROLL
  8035. MYPAL
  8036. MYSCRIB
  8037. OUTPUT
  8038. OWNCOMBO
  8039. OWNERB
  8040. PALETTE
  8041. PENCNTL
  8042. PENPAD
  8043. PRNTFILE
  8044. PROFILER
  8045. QWGDEMO
  8046. REVERSE
  8047. ROTARY
  8048. SELECT
  8049. SHOWDIB
  8050. SHOWGDI
  8051. SNOOP
  8052. SORTDEMO
  8053. SRVRDEMO
  8054. TDOSMEM
  8055. TIMERS
  8056. TOOLHELP
  8057. VERSTAMP
  8058. WINMEM32
  8059. WMFDCODE
  8060. XTENSION
  8061. LAURELM
  8062. HOURIR
  8063. BRIANT
  8064. CHARLESO
  8065. ERIKR
  8066. FRANKL
  8067. DICKE
  8068. BRUCEL
  8069. MIYUKIH
  8070. JOHNJ
  8071. SARAHV
  8072. TRANSFER
  8073. CHARLES
  8074. CHRISC
  8075. CHUCKW
  8076. CLAUDE
  8077. STEVEW
  8078. CATHYS
  8079. ALLANF
  8080. LENORAF
  8081. CRAIG
  8082. JOHNCO
  8083. DANNS
  8084. DARLENEM
  8085. DAVEH
  8086. KEVINB
  8087. LINDAA
  8088. DAWNM
  8089. DEBBIE
  8090. INGRIDF
  8091. DENNISO
  8092. STEVET
  8093. GIGIL
  8094. DOUGY
  8095. TERRYL
  8096. WHITEY
  8097. SCOTT
  8098. MIREIZ
  8099. LORIJ
  8100. CHARLESC
  8101. TAMMYH
  8102. AUSTRIA
  8103. MITCHELL
  8104. SWISS
  8105. SAVER
  8106. DENNISC
  8107. DOUGK
  8108. EPOCH
  8109. SCOTTM
  8110. MIKEF
  8111. GER_CPL
  8112. ELAINER
  8113. MELODY
  8114. JOHNGO
  8115. SCOTTSC
  8116. GREGE
  8117. HARRIETL
  8118. HARRYS
  8119. CSC_TOM
  8120. JACKIEV
  8121. MIKEN
  8122. JEAND
  8123. JEFFA
  8124. JOELK
  8125. JEFFU
  8126. JENNIFER
  8127. WHITNEYM
  8128. JEREANG
  8129. DICKH
  8130. JANETS
  8131. RANDYA
  8132. JOHNA
  8133. JOHNB
  8134. JOHNC
  8135. JOHNG
  8136. JOHNT
  8137. JONES
  8138. JORDANS
  8139. JOSEPHB
  8140. JOSHB
  8141. JULIE
  8142. KATHERIN
  8143. KEITHC
  8144. YVETTEB
  8145. DIDIERB
  8146. LANCE
  8147. LAURELC
  8148. LISAA
  8149. CSC_TAMY
  8150. LORIP
  8151. WAYNEW
  8152. MARCS
  8153. MARIEF
  8154. BETHR
  8155. MARKMA
  8156. MARTY
  8157. KIKIW
  8158. RICKS
  8159. BRIANH
  8160. MICHAELS
  8161. JEFFM
  8162. DEBBIEP
  8163. MIKEM
  8164. MOUSE
  8165. NADIMH
  8166. NANETTE
  8167. NORMS
  8168. PAULD
  8169. PAULG
  8170. PAULM
  8171. PHILP
  8172. LOGOS
  8173. DENNISL
  8174. RICKE
  8175. MICHELEC
  8176. DIANED
  8177. ROSSG
  8178. ROSSH
  8179. CHARLOTT
  8180. SCREENS
  8181. SHABBIR
  8182. LISAM
  8183. SARAHH
  8184. SHELLEYH
  8185. SHERRI
  8186. SHIRLEY
  8187. SHUANGL
  8188. SKUSALES
  8189. STEVEB
  8190. STEVEBA
  8191. STEVEBEC
  8192. STEVENW
  8193. SUSAND
  8194. SUSANM
  8195. SUZYS
  8196. MARKR
  8197. TERONU
  8198. TRACEY
  8199. TRAINING
  8200. TYLERB
  8201. SCOTS
  8202. WHOWHERE
  8203. WINNIE
  8204. TONYA
  8205. SUSANP
  8206. DAVIDS
  8207. SYPLUS
  8208. JOHND
  8209. DALEW
  8210. JENNW
  8211. JULIEP
  8212. BETHH
  8213. PRODUCTI
  8214. MIKES
  8215. MARGOTP
  8216. MICHAELO
  8217. STEVEC
  8218. JANETL
  8219. LYNNEP
  8220. TYRONEF
  8221. MIKEST
  8222. KRISTINE
  8223. BILLS
  8224. SANDYW
  8225. GAARL
  8226. MIKEP
  8227. BRADC
  8228. SUSANH
  8229. STEPHEN
  8230. STEVEF
  8231. D&rives
  8232. Drives
  8233. Drives
  8234. tbk_wid_name
  8235. Fi&les
  8236. file list
  8237. file list
  8238. tbk_wid_name
  8239. ANIMATE.ICO
  8240. ANIMATE.TBK
  8241. AUTOEDIT.EXE
  8242. AUTOEDIT.ICO
  8243. BASMIDI.TXT
  8244. CHIRP.WAV
  8245. COMPANY.NDX
  8246. CONTACT.DBF
  8247. CONTACT.ICO
  8248. CONTACT.TBK
  8249. DBEXCHNG.ICO
  8250. DBEXCHNG.TBK
  8251. DBHXCHNG.TBK
  8252. DIALOG.HLP
  8253. DIALOG.ICO
  8254. DIALOG.TBK
  8255. FEATURES.ICO
  8256. FEATURES.TBK
  8257. HANDBOOK.ICO
  8258. HANDBOOK.TBK
  8259. HANDBOOK.TXT
  8260. LIBRARY.ICO
  8261. LIBRARY.TBK
  8262. MAPI.ICO
  8263. MAPI.TBK
  8264. MIDITEST.TBK
  8265. MWIDGETS.TBK
  8266. NAME.NDX
  8267. PAT.MID
  8268. PAT2.MID
  8269. SCRAPBK.ICO
  8270. SCRAPBK.TBK
  8271. TAQUIN.BMP
  8272. TAQUIN.ICO
  8273. TAQUIN.TBK
  8274. WHOWHERE.DB
  8275. WHOWHERE.ICO
  8276. WHOWHERE.MB
  8277. WHOWHERE.PX
  8278. WHOWHERE.TBK
  8279. WIDGETS.ICO
  8280. WIDGETS.TBK
  8281. WIDGETSJ.TBK
  8282. WIDGHTS.TBK
  8283. TOOLS30.SBK
  8284. WINCOMT.DLL
  8285. WINCONST.HLP
  8286. WRKBNCHT.DLLGR.HLP
  8287. SYSINFO.EXE
  8288. TB30DB3.DLL
  8289. TB30DLG.DLL
  8290. TB30DOS.DLL
  8291. TB30PDX.DLL
  8292. TB30WIN.DLL
  8293. TB30XTR.DLL
  8294. TBKMM.SBK
  8295. TBKMMWID.FON
  8296. TEST10.TBK
  8297. TEST2.TBK
  8298. TEST3.TBK
  8299. TEST4.TBK
  8300. TEST5.TBK
  8301. TEST6.TBK
  8302. TEST7.TBK
  8303. TEST8.TBK
  8304. TESTBMP.TBK
  8305. TESTING.TBK
  8306. TESTMAX.TBK
  8307. TESTMAX2.TBK
  8308. TESTMAX3.TBK
  8309. TESTMIX.TBK
  8310. TIMER.TBK
  8311. TIMER2.TBK
  8312. VEAMAA51.LEX
  8313. VEGEAA51.LEX
  8314. WAVED30.HLP
  8315. WAVEED30.HLP
  8316. WCTABSDR.DLL
  8317. WIDGETS.SBK
  8318. WINCOMT.DLL
  8319. WINCONST.HLP
  8320. WRKBNCHT.DLL
  8321. Current Directory
  8322. CurrentDirectory
  8323. w,    #>
  8324. vgetcurrentDirectory
  8325. getCurrentDrive
  8326. drive
  8327. updateDirectoryInfo
  8328. notifyBefore updateDirectoryInfo path
  8329.     drive = getCurrentDrive()
  8330. &":\"&getcurrentDirectory(
  8331. CurrentDirectory
  8332. tbk_wid_name
  8333. C:\TB30\SAMPLES\CONTACT\PROBLEMDOSST\RESWDLGCK
  8334. File Name
  8335. file name
  8336. file name
  8337. tbk_wid_name
  8338. *.*TACT.ICOO
  8339. Button
  8340. updateDirectoryInfo
  8341. updateFileInfo
  8342. selectFile
  8343. selectFile
  8344. updateFileInfo
  8345. updateDirectoryInfo
  8346. enterPage
  8347. activateInstance
  8348. acceptFile
  8349. FALSE
  8350. Directories and Files
  8351. Exit Windows
  8352. Ex Select field
  8353. Graph widgets
  8354. Exploded pie chart
  8355. Add and remove
  8356. Data widgets
  8357. chapter
  8358. FALSE
  8359. visited
  8360. chapterID
  8361. Group id 4 of Page id 14
  8362. widgets
  8363. You can move information back and forth between these two fields. You can also drag the text back and forth.'
  8364. Like the old Macintosh Font/DA mover, you can use this control to move information back and forth between a source field and a destination field.
  8365. Add_and_Remove
  8366. Add_and_Remove
  8367. tbk_wid_name
  8368. Source
  8369. FALSE
  8370. allowDrop
  8371. buttonClick
  8372. buttonStillDown
  8373. beginDrag
  8374. endDrag
  8375. allowDrop sourceObject
  8376. FALSE
  8377. buttonClick
  8378. xenabled 
  8379. oselectedTextlines <> 
  8380.         drag 
  8381. beginDrag
  8382. endDrag targetobject
  8383. Source
  8384. tbk_wid_name
  8385. Henry
  8386. Harriet
  8387. HarryrrietHenryet
  8388. Henry
  8389. Harry
  8390. Destination
  8391. FALSE
  8392. allowDrop
  8393. remove
  8394. buttonClick
  8395. buttonStillDown
  8396. beginDrag
  8397. remove
  8398. endDrag
  8399. allowDrop sourceObject
  8400. FALSE
  8401. buttonClick
  8402. xenabled 
  8403. oselectedTextlines <> 
  8404.         drag 
  8405. beginDrag
  8406. endDrag targetobject
  8407. Destination
  8408. tbk_wid_name
  8409. Harold
  8410. Hildagaarddagaardietgaard
  8411. destination
  8412. Destination
  8413. source
  8414. buttonClick
  8415. enterPage
  8416. buttonClick
  8417. ZINT thisLine
  8418. selectedTextlines 
  8419. "source"
  8420. "Destination" <> 
  8421. CRLF 
  8422. "destination"
  8423. oenabled 
  8424. FALSE
  8425. notifyBefore 
  8426. tbk_wid_name
  8427. Add >>
  8428. remove
  8429. Destination
  8430. source
  8431. buttonClick
  8432. enterPage
  8433. buttonClick
  8434. ZINT thisLine
  8435. selectedTextlines 
  8436. "Destination"
  8437. "source" <> 
  8438. CRLF 
  8439. oenabled 
  8440. FALSE
  8441. notifyBefore 
  8442. remove
  8443. tbk_wid_name
  8444. << Remove
  8445. enterPage
  8446. FALSE
  8447. Time and date
  8448. Data widgets
  8449. chapter
  8450. FALSE
  8451. visited
  8452. chapterID
  8453. Field id 1 of Page id 15,Field id 0 of Page id 15
  8454. widgets
  8455. These fields display the current date and time.
  8456. AutoDate and AutoTime initialize themselves on the enterPage message with a notifyBefore handler. You can get and set the formats in which they show the date and time with any legal OpenScript time format. The widgets will set their default format and immediately update. For example, type the following script in the Command window: set format of field "autoDate" to "dd/mm/yy".
  8457. autoDate
  8458. format
  8459. enterPage
  8460. prop_format
  8461. format
  8462. prop_format
  8463. format
  8464. notifyBefore 
  8465. value
  8466. oprop_format 
  8467.     sendNotifyBefore 
  8468. autoDate
  8469. tbk_wid_name
  8470. format
  8471. borderStyle
  8472. tbk_wid_props
  8473. list,none,rectangle,shadowed,inset,raised
  8474. tbk_wid_values
  8475. mm/dd/yy
  8476. prop_format
  8477. 06/20/9420, 1993
  8478. autoTime
  8479. 4    N    i
  8480. autoTime
  8481. tbk_wid_name
  8482. format
  8483. borderStyle
  8484. period
  8485. tbk_wid_props
  8486. list,none,rectangle,shadowed,inset,raised
  8487. tbk_wid_values
  8488. h:min:sec AMPM
  8489. prop_format
  8490. period
  8491. timerID
  8492. 4:11:16 PMM
  8493. Auto date:nameer
  8494. Auto time:nameer
  8495. enterPage
  8496. leavePage
  8497. FALSE
  8498. Win version & DOS version
  8499. Data widgets
  8500. chapter
  8501. chapterID
  8502. FALSE
  8503. visited
  8504. Button id 0 of Page id 16
  8505. widgets
  8506. This button can retrieve and display the version numbers for DOS and Windows.
  8507. The Windows call GetVersion returns the running  versions of Windows and DOS in a packed format. This widget makes the link, makes the call, and unpacks the information for you, displaying it in a readable form.
  8508. Win_DOS
  8509. dmajorNumber
  8510. DOS version:
  8511. minorNumber
  8512. GetVersion
  8513. dminorNumber
  8514. kernel
  8515. Windows version:
  8516. GetVersion
  8517. verNum
  8518. majorNumber
  8519. buttonClick
  8520. buttonClick
  8521. linkDLL "kernel"
  8522. DWORD GetVersion()
  8523. verNum 
  8524. WverNum 
  8525. k65536
  8526. DverNum 
  8527. y65536
  8528. majorNumber 
  8529. minorNumber 
  8530. dmajorNumber 
  8531. dminorNumber 
  8532. "Windows version:" && 
  8533. n& "." & 
  8534. b& CRLF & \
  8535. "DOS 
  8536. `& "." & 
  8537. -- deal 
  8538. fdll refCount
  8539. unlinkDLL "
  8540. Win_DOS
  8541. tbk_wid_name
  8542. Show Win and DOS versions
  8543. FALSE
  8544. Win Version & Dos Version
  8545. Show off
  8546. Searching Field
  8547. Slow-Motion
  8548. Dialog
  8549. dminorNumber 
  8550. "Windows version:" && 
  8551. n& "." & 
  8552. b& CRLF & \
  8553. "DOS 
  8554. `& "." & 
  8555. -- deal 
  8556. fdll refCount
  8557. unlinkDLL "
  8558. Win_DOS
  8559. tbk_wid_name
  8560. Show Win and DOS versions
  8561. FALSE
  8562. Win Version & Dos Version
  8563. Show off
  8564. x5chapter
  8565. Details
  8566. Cvisited
  8567. zashowOrHideScrollbar
  8568. contentBar
  8569. Reader
  8570. heading
  8571. enterPage
  8572. ClearChecks
  8573. topics
  8574. contentBar
  8575. enterBackground
  8576. contentBar
  8577. topics
  8578. x5chapter
  8579. ainitPage
  8580. updateChecks
  8581. chapterID
  8582. chapterID
  8583. topics
  8584. ~= "Reader"
  8585. visited 
  8586. "heading" 
  8587. /"contentBar" 
  8588. chapter 
  8589. showOrHideScrollbar 
  8590. J"Details" 
  8591. FALSE
  8592. enabled 
  8593.     disable 
  8594. "ClearChecks" 
  8595. chapterID 
  8596. y-- shouldn't happen, but you 
  8597. initPage 
  8598. updateChecks 
  8599. Widget Label
  8600. Widget:
  8601. Description Label
  8602. Description:
  8603. Description
  8604. Details Label
  8605. Details:ion
  8606. Details
  8607. showOrHideScrollbar
  8608. showOrHideScrollbar
  8609. E> 0 --
  8610. raised
  8611. autoPageName
  8612. 6Wrealname
  8613. enterPage
  8614. notifyBefore 
  8615. realname 
  8616. autoPageName
  8617. tbk_wid_name
  8618. tbk_wid_values
  8619. Exploded pie charto
  8620. Description Label
  8621. Name:iption:
  8622. enterPage
  8623. Widget::
  8624. h(,(c(
  8625. Table of Contents
  8626. contentbar
  8627. tableOfContents
  8628. leavePage
  8629. topics
  8630. contentBar
  8631. tableOfContents
  8632. Table of contents
  8633. heading
  8634. enterPage
  8635. ClearChecks
  8636. enterBackground
  8637. enabled 
  8638. B"tableOfContents" 
  8639. /"contentbar" 
  8640. up toolbar
  8641. pref 
  8642. /"contentBar"
  8643. FALSE
  8644. "heading" 
  8645. "Table 
  8646. contents"
  8647.     disable 
  8648. c"Page" 
  8649. "ClearChecks" 
  8650. out,true
  8651. ThreeDeeRect
  8652. bottomLine
  8653. topLine
  8654. tableOfContents
  8655. chapter1
  8656. Navigation widgets
  8657. check1
  8658. chapter2
  8659. The Position Property                                        59
  8660. The Script Recorder                                        63
  8661. The Move Command                                        68
  8662. Move By                                        58
  8663. Move To                                        57
  8664. Moving on Idle                                        64
  8665. topics
  8666. pageID
  8667. Data widgetsidgetsn
  8668. check2
  8669. chapter3
  8670. Timing Animation                                        66
  8671. Simulating Gravity                                        67
  8672. topics
  8673. pageID
  8674. Field widgetssta
  8675. check3
  8676. chapter4
  8677. Chickens                                        26
  8678. Goats                                        25
  8679. topics
  8680. pageID
  8681. Graph widgetssta
  8682. check4
  8683. chapter5
  8684. Slider widgets
  8685. check5
  8686. chapter6
  8687. CBT widgetsets
  8688. check6
  8689. chapter7
  8690. Keyboardseouss
  8691. check7
  8692. chapter8
  8693. Miscellaneous
  8694. check8
  8695. chapter9
  8696. How It Works                                        26
  8697. Hiding and Showing                                        25
  8698. Animating with Resouces                                        61
  8699. Page Flipping                                        62
  8700. Untitled                                        74
  8701. topics
  8702. pageID
  8703. Widget helptsd
  8704. check9
  8705. chapter10
  8706. How It Works                                        26
  8707. Hiding and Showing                                        25
  8708. Animating with Resouces                                        61
  8709. Page Flipping                                        62
  8710. Untitled                                        74
  8711. topics
  8712. pageID
  8713. Widget helpus
  8714. check10
  8715. chapter11
  8716. How It Works                                        26
  8717. Hiding and Showing                                        25
  8718. Animating with Resouces                                        61
  8719. Page Flipping                                        62
  8720. Untitled                                        74
  8721. topics
  8722. pageID
  8723. Widget help
  8724. check11
  8725. chapter12
  8726. How It Works                                        26
  8727. Hiding and Showing                                        25
  8728. Animating with Resouces                                        61
  8729. Page Flipping                                        62
  8730. Untitled                                        74
  8731. topics
  8732. pageID
  8733. Navigation
  8734. check12
  8735. chapter13
  8736. How It Works                                        26
  8737. Hiding and Showing                                        25
  8738. Animating with Resouces                                        61
  8739. Page Flipping                                        62
  8740. Untitled                                        74
  8741. topics
  8742. pageID
  8743. Navigation
  8744. check13
  8745. chapter14
  8746. How It Works                                        26
  8747. Hiding and Showing                                        25
  8748. Animating with Resouces                                        61
  8749. Page Flipping                                        62
  8750. Untitled                                        74
  8751. topics
  8752. pageID
  8753. Navigation
  8754. check14
  8755. chapter15
  8756. How It Works                                        26
  8757. Hiding and Showing                                        25
  8758. Animating with Resouces                                        61
  8759. Page Flipping                                        62
  8760. Untitled                                        74
  8761. topics
  8762. pageID
  8763. Navigation
  8764. check15
  8765. chapter16
  8766. How It Works                                        26
  8767. Hiding and Showing                                        25
  8768. Animating with Resouces                                        61
  8769. Page Flipping                                        62
  8770. Untitled                                        74
  8771. topics
  8772. pageID
  8773. Navigation
  8774. check16
  8775. out,true
  8776. ThreeDeeRect
  8777. bottomLine
  8778. topLine
  8779. topic
  8780. J%|%OO
  8781. raisedField
  8782. tbk_wid_name
  8783. faceColor
  8784. highlightColor
  8785. shadowColor
  8786. tbk_wid_props
  8787. color,hls
  8788. color,hls
  8789. color,hls
  8790. tbk_wid_values
  8791. highlight
  8792. Table of contents
  8793. shadow
  8794. Table of contents
  8795. Table of contents
  8796. Click one of the topics below to view information on that subject.ct.ubject.
  8797. Table of Contents
  8798. Book Outline
  8799. Topics
  8800. ClearChecks
  8801. enterBackground
  8802. contentbar
  8803. heading
  8804. enterPage
  8805. topics
  8806. contentbar
  8807. heading
  8808. widgetIDs
  8809. chapterLabel
  8810. widgetIDs
  8811. updateCheckMarks
  8812. initPage
  8813. topics
  8814. updateChecks
  8815. widgetIDs
  8816. updateCheckMarks
  8817. ainitPage
  8818. ainitPage
  8819. previous
  8820.     enable 
  8821. c"Page"
  8822. "ClearChecks" 
  8823. up toolbar
  8824. "heading" 
  8825. /"contentbar" 
  8826. -- updates 
  8827. . sent 
  8828. 4the 
  8829. entered.
  8830. initPage
  8831. "chapterLabel" 
  8832. widgetIDs 
  8833. updateCheckMarks
  8834. FALSE
  8835. updateChecks 
  8836. out,true
  8837. ThreeDeeRect
  8838. bottomLine
  8839. topLine
  8840. out,true
  8841. ThreeDeeRect
  8842. bottomLine
  8843. topLine
  8844. chapterLabel
  8845. raisedField
  8846. tbk_wid_name
  8847. faceColor
  8848. highlightColor
  8849. shadowColor
  8850. tbk_wid_props
  8851. color,hls
  8852. color,hls
  8853. color,hls
  8854. tbk_wid_values
  8855. highlight
  8856. Graph widgetssgetsn
  8857. shadow
  8858. Graph widgetssgetsn
  8859. Graph widgetssgetsn
  8860. Click one of the buttons below
  8861. to view information on that widget..t.......
  8862. Topics
  8863. 0,28,19
  8864. topicList
  8865. "I    j!u
  8866. topic1
  8867. pageId
  8868. Simple Bar CharteField, numbers
  8869. check1
  8870. topic2
  8871. pageId
  8872. Simple Line ChartField, texters
  8873. check2
  8874. topic3
  8875. pageId
  8876. Pie Charton keystroke, numberss        61
  8877. check3
  8878. topic4
  8879. pageId
  8880. Exploded pie chartoke, texterss
  8881. check4
  8882. topic5
  8883. pageId
  8884. Useful patternsryroke, textbers
  8885. check5
  8886. topic6
  8887. pageId
  8888. Spinnersting fieldlesd, Textrs
  8889. check6
  8890. topic7
  8891. pageId
  8892. Add and removed fileserlineers
  8893. check7
  8894. topic8
  8895. pageId
  8896. Directories and files, Text
  8897. check8
  8898. topic9
  8899. Time and date and underline
  8900. check9
  8901. topic10
  8902. International time and date
  8903. check10
  8904. topic11
  8905. pageId
  8906. Calendar drop textversionne
  8907. check11
  8908. topic12
  8909. pageId
  8910. Printer Resolution& dropns        25
  8911. check12
  8912. "I    $ ! 
  8913. "I    0!
  8914. topic13
  8915. pageId
  8916. Win version & DOS version                                61
  8917. check13
  8918. topic14
  8919. 2">",
  8920. pageId
  8921. Windows or WFWelineuces62
  8922. check14
  8923. "`#l#
  8924. topic15
  8925. pageId
  8926. Move by commandline4
  8927. check15
  8928. topic16
  8929. pageId
  8930. Moving on idlec
  8931. check16
  8932. topic17
  8933. (&6&,
  8934. pageId
  8935. Tonyc7r7
  8936. check17
  8937. &('4'
  8938. topic18
  8939. \'j',
  8940. pageId
  8941. Barbara8
  8942. check18
  8943. topic19
  8944. topic9r8
  8945. check19
  8946. topic20
  8947. topic108
  8948. check20
  8949. Topics
  8950. contentBar
  8951. Table of Contents
  8952. 10,14
  8953. selectChars
  8954. 24,25
  8955. Table of Contents
  8956. Data widgets
  8957. dfgsdfgshywe
  8958. Navigation widgets
  8959. Auto Page,Auto Buttons,Folder Tab Widget
  8960. myPageList
  8961. 3,4,5,6
  8962. widgetIDs
  8963. 3,4,5,6
  8964. Time and Date
  8965. CBT Widgets
  8966. True and False
  8967. Auto page
  8968. Navigation widgets
  8969. chapter
  8970. FALSE
  8971. visited
  8972. chapterID
  8973. Field id 2 of Page id 3,Field id 1 of Page id 3
  8974. widgets
  8975. These fields automatically display the current page number and page name.
  8976. Both fields use notifyBefore enterPage handlers to set the text of the field to the name and number of the page. In order to see the field update if you name a page or change its name or number, you must send the enterPage message, or navigate away from the page and then return to it.
  8977. autoPageNumber
  8978. enterPage
  8979. notifyBefore 
  8980. autoPageNumber
  8981. tbk_wid_name
  8982. tbk_wid_values
  8983. autoPageName
  8984. enterPage
  8985. notifyBefore 
  8986. autoPageName
  8987. tbk_wid_name
  8988. tbk_wid_values
  8989. Auto page
  8990. Auto page number:
  8991. Auto page name:r
  8992. enterPage
  8993. FALSE
  8994. Auto Page
  8995. Auto Buttons
  8996. Content Buttons
  8997. jhfhgjfghj
  8998. Auto buttons
  8999. Navigation widgets
  9000. chapter
  9001. FALSE
  9002. visited
  9003. chapterID
  9004. Group id 5 of Page id 4
  9005. widgets
  9006. ToolBook automatically enables and disables these buttons. In the example below, they work on the page, but they should be pasted onto a background.Q
  9007. ToolBook uses the same script and user properties to enable and disable these buttons depending on what page the buttons are on. To get and to set handlers determine what page ToolBook navigates to when the button is clicked and the page the button is disabled on. The caption of the button is also the actual command.
  9008. Tools30.sbk includes information for widgets of this kind, and you can edit them from that sysBook.
  9009. Make sure tools30.sbk is a system book. Right-click the button, click the Custom edit button on the right-click tool bar (just left of the Help button), and then double-click the value for the property in the "Browser" that appears.
  9010. AutoButtons
  9011. AutoButtons
  9012. tbk_wid_name
  9013. autoDisable Navigation button
  9014. tbk_wid_name
  9015. level
  9016. direction
  9017. disablePage
  9018. tbk_wid_props
  9019. list,background,book
  9020. list,Next,Previous,First,Last
  9021. tbk_wid_values
  9022. background
  9023. prop_level
  9024. direction
  9025. prop_disablePage
  9026. D    Z    \
  9027. autoDisable Navigation button
  9028. tbk_wid_name
  9029. level
  9030. direction
  9031. disablePage
  9032. tbk_wid_props
  9033. list,background,book
  9034. list,Next,Previous,First,Last
  9035. tbk_wid_values
  9036. background
  9037. prop_level
  9038. direction
  9039. First
  9040. prop_disablePage
  9041. Previous
  9042. autoDisable Navigation button
  9043. tbk_wid_name
  9044. level
  9045. direction
  9046. disablePage
  9047. tbk_wid_props
  9048. list,background,book
  9049. list,First,Previous,Next,Last
  9050. tbk_wid_values
  9051. background
  9052. prop_level
  9053. direction
  9054. prop_disablePage
  9055. autoDisable Navigation button
  9056. tbk_wid_name
  9057. level
  9058. direction
  9059. disablePage
  9060. tbk_wid_props
  9061. list,background,book
  9062. list,Next,Previous,First,Last
  9063. tbk_wid_values
  9064. background
  9065. prop_level
  9066. direction
  9067. First
  9068. prop_disablePage
  9069. First
  9070. enterPage
  9071. FALSE
  9072. Tab widget
  9073. Widget
  9074. Navigation widgets
  9075. chapter
  9076. FALSE
  9077. visited
  9078. chapterID
  9079. Group id 144 of Page id 5
  9080. widgets
  9081. This widget can display from 1 to 6 tabs as shown below.o
  9082. Pressing a tab sends the tabPressed message with the parameter of the tab number pressed.  Currently, this message is handled in the widget; you'll have to forward the message if you want to handle it at the page or background.  
  9083. The widget should resize gracefully no matter what you do.  Use the Group editor to resize the individual tabs.  All handlers are in the folder group script. You can set the properties of this widget in tools30.sbk. For details see the "Advanced Widgetry" Help topic.
  9084. To change the number of tabs, set numTabs of the widget to a number between 1 and 6.  
  9085. Note: To add more than 6 tabs, see comments in the folder group script.
  9086. To change the height of the tabs, set tabHeight of the widget to a number in page units. (Currently it's at 275.)
  9087. To change the selected tab without clicking the tab itself, set tabMode of the widget to the appropriate number.
  9088. To change the amount of space between each tab, set tabSpace of the widget to a number in page units.
  9089. To change the labels on the tabs, change the caption of the button in the tab group using the right-click menu.
  9090. folder
  9091.     @    OO
  9092. R    t    qp
  9093. mytabheight
  9094. myNumTabs
  9095. myTabMode
  9096. myTabSpace
  9097. tbk_wid_name
  9098. numTabs
  9099. tabHeight
  9100. tabMode
  9101. tabSpace
  9102. tbk_wid_props
  9103. tbk_wid_values
  9104. obtype
  9105. tabHighlight
  9106. tabLabel
  9107. obtype
  9108. tabHighlight
  9109. tabLabel
  9110. obtype
  9111. tabHighlight
  9112. tabLabel
  9113. obtype
  9114. tabHighlight
  9115. tabLabel
  9116. obtype
  9117. tabHighlight
  9118. tabLabel
  9119. obtype
  9120. tabHighlight
  9121. tabLabel
  9122. highlight
  9123. FALSE
  9124. Validate on leaveField, Text
  9125. Field Widgets
  9126. Notify Messages
  9127. splash
  9128. Content buttons
  9129. FALSE
  9130. visited
  9131. Navigation widgets
  9132. chapter
  9133. chapterID
  9134. Group id 146 of Page id 6,Field id 36 of Page id 6
  9135. widgets
  9136. The buttons below act as a table of contents or an outline.
  9137. The chapter headings on the left recognize their associated pages. The "buttons" (they are actually fields) on the right navigate to the pages with those names. Use the following command in the Command window to use the field at the upper-right to set the two levels of the outliner: set outline of group tableOfContents to text of field "outline". Type Ctrl+Tab to indent subordinate items below the top-level text.
  9138. outline
  9139. outline
  9140. tbk_wid_name
  9141.     Poodles
  9142.     Great Danes
  9143.     So-so Danes
  9144.     Siamese cats
  9145.     Fussy cats
  9146.     Decorator cats
  9147.     Cats who love dogs
  9148.     Gold fish
  9149.     Silver fish
  9150.     Sushiiiiiiiih sushihhhhhh
  9151. tableOfContents
  9152. tableOfContents
  9153. tbk_wid_name
  9154. H!M >
  9155. Chapters
  9156. chapter1
  9157. Poodles
  9158. Great Danes
  9159. So-so Danes
  9160. topics
  9161. pageID
  9162. Dogse Animations
  9163. chapter2
  9164. pageID
  9165. Siamese cats
  9166. Fussy cats
  9167. Decorator cats
  9168. Cats who love dogs
  9169. topics
  9170. Catsng Objectsns
  9171. chapter3
  9172. Gold fish
  9173. Silver fish
  9174. Sushi
  9175. topics
  9176. pageID
  9177. FishsesScriptsls
  9178. chapter4
  9179. pageID
  9180. Chickens                                        26
  9181. Goats                                        25
  9182. topics
  9183. Farm Animals
  9184. chapter5
  9185. chapter5
  9186. chapter6
  9187. chapter6?
  9188. chapter7
  9189. chapter7
  9190. chapter8
  9191. chapter8
  9192. Topics
  9193. topic1
  9194. pageId
  9195. Poodles cats                                        26                            59
  9196. topic2
  9197. pageId
  9198. Great DanesShowing                                        253
  9199. topic3
  9200. pageId
  9201. So-so Danesatsanesouces                                        61
  9202. topic4
  9203. pageId
  9204. Cats who love dogs                    62
  9205. topic5
  9206. pageId
  9207. Move To                                        57
  9208. topic6
  9209. pageId
  9210. Moving on Idle                                        64
  9211. topic7
  9212. pageId
  9213. Tonyc7r7
  9214. topic8
  9215. pageId
  9216. Barbara8
  9217. topic9
  9218. topic9r8
  9219. topic10
  9220. topic108s
  9221. bracket
  9222. joiner
  9223. FALSE
  9224. System
  9225. Arial
  9226. MS Sans Serif
  9227. MS Sans Serif
  9228. System
  9229. Arial
  9230. Courier New
  9231. Arial
  9232. Arial
  9233. Times New Roman
  9234. Times New Roman
  9235. Times New Roman
  9236. Times New Roman
  9237. Times New Roman
  9238. MS Sans Serif
  9239. 2,7,18,32,35,38,60,65,71
  9240. MS Sans Serif
  9241. topics
  9242. Arial
  9243. 2,7,18,32,35,38
  9244. topicIDs
  9245. System
  9246. sicWidgetBOX
  9247. sicWidgetINIT
  9248. Arial
  9249. MS Sans Serif
  9250. MS Sans Serif
  9251. System
  9252. MS Sans Serif
  9253. Arial
  9254. MS Sans Serif
  9255. Arial
  9256. Slider widgets
  9257. CBT widgets
  9258. Keyboards
  9259. Miscellaneous
  9260. Widget help
  9261. itandCleanupINIT
  9262. MS Sans Serif
  9263. 2,7,18,32,35,38,60,65
  9264.  help
  9265. Description contains "number"
  9266. Description
  9267. Description
  9268. Text of RecordField "Description" contains "number" 
  9269. 2,7,18,32,35,38,60,65
  9270. MS Sans Serif
  9271. Courier New
  9272. sicalSymbols
  9273. 2,7,18,32,35,38,60,65
  9274. 2,7,18,32,35,38,60,65
  9275. 2,7,18,32,35,38,60,65
  9276. 2,7,18,32,35,38,60,65
  9277. 2,7,18,32,35,38,60,65
  9278. MS Sans Serif
  9279. mes New Roman
  9280. cellaneous
  9281. Widget help
  9282. GROUPBOX Notify Messages,G39,Notify Messages
  9283. BUTTON More,B35,TRUE
  9284. BUTTON Back,B36,TRUE
  9285. BUTTON Cancel,B37,TRUE
  9286. STATIC Notify Message,S38,Notify messages are useful for letting the widget know what is going on without modifying any scripts
  9287. BITMAP Notify Messages,p65,bitmap "Notify"
  9288. tifyMessagesINIT
  9289. 524480,5,25,25,169,127,,,Init and Cleanup,8,MS Sans Serif,Init and Cleanup,9,0,157,93,39,1342177287,128,Initialization and Cleanup,0,More,17,100,47,14,35,1342242816,128,&More,0,Back,69,100,42,14,36,1342242816,128,&Back,0,Cancel,114,100,43,14,37,1342242816,128,&Cancel,0,Init and cleanup,14,16,147,70,38,1342177280,130,Text,0
  9290. itAndCleanupBOX
  9291. GROUPBOX Init and Cleanup,G39,Initialization and Cleanup
  9292. BUTTON More,B35,TRUE
  9293. BUTTON Back,B36,TRUE
  9294. BUTTON Cancel,B37,TRUE
  9295. STATIC Init and cleanup,S38,We can use "notifyBefore copy" handlers to initialize the widget as it is being copied, and possibly to initialize the book it is being pasted into.
  9296. We can also use "notifyAfter paste" or "notifyAfter make" handlers to initialize and cleanup the new widget
  9297. itAndCleanupINIT
  9298. 524480,5,25,25,237,189,,,Advanced Widgetry,8,MS Sans Serif,Advanced Widgetry,11,3,217,151,39,1342177287,128,Advanced Widgetry,0,More,46,159,47,14,35,1342242816,128,&More,0,Back,99,159,42,14,36,1342242816,128,&Back,0,Cancel,144,159,43,14,37,1342242816,128,&Cancel,0,Advanced,22,21,202,122,38,1342177280,130,Text,0
  9299. 2,7,18,32,35,38,60,65
  9300. 2,7,18,32,35,38,60,65
  9301. Navigation widgets
  9302. Data widgets
  9303. Field widgets
  9304. Graph widgets
  9305. Slider widgets
  9306. CBT widgets
  9307. Keyboards
  9308. Miscellaneous
  9309. Widget help
  9310. Times New Roman
  9311. Times New Roman
  9312. cellaneous
  9313. Widget help
  9314. 2,7,18,142,32,35,38,60,65
  9315. Field widgets
  9316. Graph widgets
  9317. Slider widgets
  9318. CBT widgets
  9319. Keyboards
  9320. Miscellaneous
  9321. Widget help
  9322. andlers to initialize and cleanup the new widget
  9323. all Fonts
  9324. MS Sans Serif
  9325. Courier New
  9326. 2,7,18,32,35,38,60,65
  9327. 2,7,18,32,35,38,60,65
  9328. 2,7,18,32,35,38,60,65,94
  9329. Field widgets
  9330. Slider widgets
  9331. CBT widgets
  9332. Keyboards
  9333. Miscellaneous
  9334. Widget help
  9335. 2,7,18,32,35,38,60,65,94
  9336. MS Sans Serif
  9337. MS Sans Serif
  9338. t help
  9339. dget help
  9340. Arial
  9341. es,0,More,17,138,47,14,35,1342242816,128,&More,0,Back,68,138,42,14,36,1342242816,128,&Back,0,Cancel,114,138,43,14,37,1342242816,128,&Cancel,0,Notify Message,16,15,142,28,38,1342177281,130,Text,0,Notify Messages,15,43,145,83,65,1342177280,TBKDLGBitmap,bitmap "Notify",0
  9342. tifyMessagesBOX
  9343. GROUPBOX Advanced Widgetry,G39,Advanced Widgetry
  9344. BUTTON More,B35,TRUE
  9345. BUTTON Back,B36,TRUE
  9346. BUTTON Cancel,B37,TRUE
  9347. STATIC Advanced,S38,Tools30.sbk knows quit a bit about widgets. It can tell if an object is a widget when that object has the user property "tbk_wid_name" set to some value. It also knows about two other properties:
  9348. 1) tbk_wid_props is a carriage-return line-feed delimited list of properties (user properties) that the widget has and that can be initialized and set according to the parameters of property # 2.
  9349. 2) tbk_wid_values is a CRLF list with the same number of textlines as tbk_wid_props. Textlines in the two properties correspond. The first item of each textline in tbk_wid_values declares what kind of values the property can take. This can be any of "custom,text,list,boolean,na." The next items in the list will be the legal values for that property.
  9350. Widgets
  9351. Tool Bar
  9352. Page "ContentBar"
  9353. copyDialog
  9354. py a Widget
  9355. Page "copyDialog"
  9356. Book Outline
  9357. Book Outline
  9358. Page "Book Outline"
  9359. Select Topic
  9360. Select Topic
  9361. Page "Select Topic"
  9362. Widgets
  9363. widgetProperties
  9364. Advanced Widgetry
  9365. ge "Dialog"
  9366. Widget Properties
  9367. page "widgetProperties"
  9368. Select a Widget to Check.
  9369. splash
  9370. Page id 92
  9371. Page "splash"
  9372. Page id 78 of Book "C:\TBEA\SAMPLES\WIDGETS\WIDGT67.TBK"
  9373. Useful patterns
  9374. Data widgets
  9375. chapter
  9376. chapterID
  9377. FALSE
  9378. visited
  9379. Field id 4 of Page id 79,Field id 1 of Page id 79
  9380. widgets
  9381. This widget recognizes data entered in a standard pattern of numbers.
  9382. Here are two widgets ready to go into your application. They both validate the data on keystroke, the first will only accept a valid social security number, the second a valid telephone number.
  9383. Keystroke_SSN
  9384. ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
  9385. templet
  9386. seperator
  9387.  ,.-/
  9388. alpha
  9389. numeric
  9390. characterTyped
  9391. string
  9392. 0123456789
  9393. Etemplet
  9394. keyChar
  9395. Etemplet
  9396. enterField
  9397. key, isShift, isControl
  9398.     templet = 
  9399.     -- user property
  9400.     alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
  9401.     numeric = "0123456789"
  9402.     seperator = " ,.-/"
  9403. caretLocation = 
  9404.         characterTyped = 
  9405. o(key)
  9406.         characterNumber = (
  9407. NNN-NN-NNNN
  9408. templet
  9409. Keystroke_SSN
  9410. tbk_wid_name
  9411. 123-45-6789
  9412. Social Security Number:
  9413. Keystroke_Phone
  9414. ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
  9415. templet
  9416. seperator
  9417.  ,.-/
  9418. alpha
  9419. numeric
  9420. characterTyped
  9421. string
  9422. 0123456789
  9423. Etemplet
  9424. keyChar
  9425. Etemplet
  9426. enterField
  9427. key, isShift, isControl
  9428.     templet = 
  9429.     alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
  9430.     numeric = "0123456789"
  9431.     seperator = " ,.-/"
  9432. caretLocation = 
  9433.         characterTyped = 
  9434. o(key)
  9435.         characterNumber = (
  9436. NNN-NNN-NNNN
  9437. templet
  9438. Keystroke_Phone
  9439. tbk_wid_name
  9440. 206-637-16000
  9441. Telephone Number:
  9442. FALSE
  9443. Qwerty keyboard
  9444. input
  9445. leavePage
  9446. "input"
  9447. Keyboards
  9448. chapter
  9449. FALSE
  9450. visited
  9451. chapterID
  9452. Group id 277 of Page id 58
  9453. widgets
  9454. A qwerty keyboard that returns the letter that is clicked.U
  9455. Clicking the buttons in the keyboard will display text in the field.
  9456. N.B. This widget has problems drawing itself in high resolution mode (1024 by 768 or greater) when using large fonts. You can fix this by adjusting the u
  9457. QWERTY_Keyboard
  9458. QWERTY_Keyboard
  9459. tbk_wid_name
  9460. input
  9461. ALPHA
  9462. txClassName
  9463. ALPHA
  9464. txClassName
  9465. ALPHA
  9466. txClassName
  9467. ALPHA
  9468. txClassName
  9469. ALPHA
  9470. txClassName
  9471. ALPHA
  9472. txClassName
  9473. ALPHA
  9474. txClassName
  9475. ALPHA
  9476. txClassName
  9477. ALPHA
  9478. txClassName
  9479. ALPHA
  9480. txClassName
  9481. ALPHA
  9482. txClassName
  9483. ALPHA
  9484. txClassName
  9485. ALPHA
  9486. txClassName
  9487. ALPHA
  9488. txClassName
  9489. ALPHA
  9490. txClassName
  9491. ALPHA
  9492. txClassName
  9493. ALPHA
  9494. txClassName
  9495. ALPHA
  9496. txClassName
  9497. ALPHA
  9498. txClassName
  9499. ALPHA
  9500. txClassName
  9501. ALPHA
  9502. txClassName
  9503. ALPHA
  9504. txClassName
  9505. ALPHA
  9506. txClassName
  9507. ALPHA
  9508. txClassName
  9509. ALPHA
  9510. txClassName
  9511. ALPHA
  9512. txClassName
  9513. ALPHA
  9514. txClassName
  9515. ALPHA
  9516. txClassName
  9517. ALPHA
  9518. txClassName
  9519. ALPHA
  9520. txClassName
  9521. ALPHA
  9522. txClassName
  9523. ALPHA
  9524. txClassName
  9525. ALPHA
  9526. txClassName
  9527. ALPHA
  9528. txClassName
  9529. ALPHA
  9530. txClassName
  9531. ALPHA
  9532. txClassName
  9533. ALPHA
  9534. txClassName
  9535. ALPHA
  9536. txClassName
  9537. ALPHA
  9538. txClassName
  9539. ALPHA
  9540. txClassName
  9541. ALPHA
  9542. txClassName
  9543. ALPHA
  9544. txClassName
  9545. ALPHA
  9546. txClassName
  9547. ALPHA
  9548. txClassName
  9549. ALPHA
  9550. txClassName
  9551. ALPHA
  9552. txClassName
  9553. ALPHA
  9554. txClassName
  9555. ALPHA
  9556. txClassName
  9557. Enter
  9558. NON-ALPHA
  9559. txClassName
  9560. NON-ALPHA
  9561. txClassName
  9562. NON-ALPHA
  9563. txClassName
  9564. NON-ALPHA
  9565. txClassName
  9566. lT`TiT
  9567. NON-ALPHA
  9568. txClassName
  9569. NON-ALPHA
  9570. txClassName
  9571. Caps Lock
  9572. NON-ALPHA
  9573. txClassName
  9574. NON-ALPHA
  9575. txClassName
  9576. NON-ALPHA
  9577. txClassName
  9578. NON-ALPHA
  9579. txClassName
  9580. NON-ALPHA
  9581. txClassName
  9582. NON-ALPHA
  9583. txClassName
  9584. NON-ALPHA
  9585. txClassName
  9586. NON-ALPHA
  9587. txClassName
  9588. NON-ALPHA
  9589. txClassName
  9590. NON-ALPHA
  9591. txClassName
  9592. NON-ALPHA
  9593. txClassName
  9594. NON-ALPHA
  9595. txClassName
  9596. NON-ALPHA
  9597. txClassName
  9598. Shift
  9599. NON-ALPHA
  9600. txClassName
  9601. NON-ALPHA
  9602. txClassName
  9603. NON-ALPHA
  9604. txClassName
  9605. NON-ALPHA
  9606. txClassName
  9607. NON-ALPHA
  9608. txClassName
  9609. Shift
  9610. NON-ALPHA
  9611. txClassName
  9612. NON-ALPHA
  9613. txClassName
  9614. NON-ALPHA
  9615. txClassName
  9616. NON-ALPHA
  9617. txClassName
  9618. NON-ALPHA
  9619. txClassName
  9620. enterPage
  9621. FALSE
  9622. CDBSE&File
  9623. &Open...    Ctrl+O
  9624. &Save    Ctrl+S
  9625. Save &As...
  9626. saveas
  9627. &Import...
  9628. import
  9629. &Export...
  9630. export
  9631. Print Set&up...
  9632. printsetup
  9633. &Print Pages...    Ctrl+P
  9634. printpages
  9635. Prin&t Report...
  9636. printreport
  9637. Send &Mail...
  9638. sendmail
  9639. &Run...
  9640. E&xit    Alt+F4
  9641. &Edit
  9642. &Undo    Ctrl+Z
  9643. Cu&t    Ctrl+X
  9644. &Copy    Ctrl+C
  9645. &Paste    Ctrl+V
  9646. paste
  9647. C&lear    Del
  9648. clear
  9649. Select &All    Shift+F9
  9650. selectall
  9651. Select Pa&ge    Shift+F12
  9652. selectpage
  9653. &Size to Page    F11
  9654. sizetopage
  9655. F&ind...    F5
  9656. Re&place...
  9657. replace
  9658. Aut&hor    F3
  9659. author
  9660. &Text
  9661. &Character...    F6
  9662. character
  9663. &Paragraph...    F7
  9664. paragraph
  9665. &Regular    Ctrl+Space
  9666. regular
  9667. &Bold    Ctrl+B
  9668. &Italic    Ctrl+I
  9669. italic
  9670. &Underline    Ctrl+U
  9671. underline
  9672. Stri&keout    Ctrl+K
  9673. strikeout
  9674. Superscrip&t/Subscript
  9675. superscriptSubscript
  9676. &Normal Script
  9677. normalscript
  9678. Su&bscript    Ctrl+L
  9679. subscript
  9680. Su&perscript    Ctrl+Shift+L
  9681. superscript
  9682. &Show Hotwords    F9
  9683. showhotwords
  9684. &Page
  9685. &Next    Alt+Right
  9686. &Previous    Alt+Left
  9687. previous
  9688. &First    Alt+Up
  9689. first
  9690. &Last    Alt+Down
  9691. &Back    Shift+F2
  9692. &History...    Ctrl+F2
  9693. history
  9694. N&ew Page    Ctrl+N
  9695. newpage
  9696. &Help
  9697. &Contents    F1
  9698. contents
  9699. Status &Bar    F12
  9700. statusbar
  9701. widgets
  9702. &File
  9703. &Open...    Ctrl+O
  9704. &Save    Ctrl+S
  9705. Save &As...
  9706. saveas
  9707. Print Set&up...
  9708. printsetup
  9709. &Print Pages...    Ctrl+P
  9710. printpages
  9711. Prin&t Report...
  9712. printreport
  9713. Send &Mail...
  9714. sendmail
  9715. &Run...
  9716. E&xit    Alt+F4
  9717. &Edit
  9718. &Copy    Ctrl+C
  9719. myCopy
  9720. Copy &All    Ctrl+Shift+C
  9721. copyAll
  9722. &Paste    Ctrl+V
  9723. myPaste
  9724. Clear Chec&ks
  9725. resetChecks
  9726. Clear the check marks from the table of contents and all the topic pages.
  9727. &Size to Page    F11
  9728. sizetopage
  9729. F&ind...    F5
  9730. Au&thor    F3
  9731. author
  9732. &Page
  9733. &Next    Alt+Right
  9734. &Previous    Alt+Left
  9735. previous
  9736. &First    Alt+Up
  9737. first
  9738. &Last    Alt+Down
  9739. &Back    Shift+F2
  9740. &History...    Ctrl+F2
  9741. history
  9742. &Help
  9743. &About...
  9744. About
  9745. &Contents...    F1
  9746. contents
  9747. &What's a Widget?...
  9748. widgetHelp
  9749. Status &Bar    F12
  9750. statusbar
  9751. undo    Ctrl+Z
  9752. cut    Ctrl+X
  9753. copy    Ctrl+C
  9754. paste    Ctrl+V
  9755. clear    Del
  9756. command    Shift+F3
  9757. Save    Ctrl+S
  9758. SaveDialog
  9759. Open    Ctrl+O
  9760. OpenDialog
  9761. Properties    Shift+F6
  9762. Properties
  9763. Preview Dialog    Ctrl+W
  9764. ShowDialog
  9765. group    Ctrl+G
  9766. group
  9767. edit editor    F3
  9768. Browse
  9769. highlightColor 
  9770. value
  9771. shadowColor 
  9772. faceColor 
  9773. sized
  9774. spupp 
  9775. syspageunitsperpixel
  9776. syssuspendmessages 
  9777. value
  9778. month 
  9779. k12) + 1
  9780.  < 1 
  9781.  > 12
  9782. &&"out 
  9783. range 1 
  9784. year 
  9785. (+ 1) 
  9786.  < 0 
  9787.  > 99
  9788. daysInMonth
  9789.     m = 
  9790.     y = 
  9791. m <> 2
  9792. "31,28,31,30,31,30,31,31,30,31,30,31"
  9793. k4 = 0 
  9794. k100 <> 0) 
  9795. k400 = 0)
  9796. "month"
  9797. "day"
  9798. "year"
  9799. value
  9800. ZLONG days
  9801.  = daysInMonth()
  9802. 5) + 1
  9803. %"00"
  9804. %"00"
  9805.  < 1 
  9806. outside range 1 
  9807. %"00"
  9808. k12) + 1
  9809. %"00"
  9810. %"00"
  9811.  < 1 
  9812.  > 12
  9813. &&"out 
  9814. %"00"
  9815.  + 1) 
  9816. %"00"
  9817. %"00"
  9818.  < 0 
  9819.  > 99
  9820. %"00"
  9821. initialize
  9822. 4OBJECT newHotwordID
  9823. %"mm / dd / yy" 
  9824.     m = 
  9825. m <> 2
  9826. "31,28,31,30,31,30,31,31,30,31,30,31"
  9827.         y = 
  9828. k4 = 0 
  9829. k100 <> 0) 
  9830. k400 = 0)
  9831. value
  9832. month 
  9833. k12) + 1
  9834.  < 1 
  9835.  > 12
  9836. &&"out 
  9837. range 1 
  9838. year 
  9839. (+ 1) 
  9840.  < 0 
  9841.  > 99
  9842. daysInMonth
  9843.     m = 
  9844.     y = 
  9845. m <> 2
  9846. "31,28,31,30,31,30,31,31,30,31,30,31"
  9847. k4 = 0 
  9848. k100 <> 0) 
  9849. k400 = 0)
  9850. sortSelf
  9851. ZARRAY STRING dataArray[]
  9852. ZLONG numberLines, i
  9853. = TRUE
  9854.     fill 
  9855. B] order
  9856. 4 = dimensions (
  9857. startProfile("quickSort")
  9858. quickSortTextlines 
  9859. , 1, 
  9860. endProfile()
  9861. i] &CRLF 
  9862. = FALSE
  9863. , lo, hi
  9864. vKey, vSwapBuffer
  9865. vSplitPoint, i
  9866. ZSTACK paramStack
  9867. clo < hi
  9868. lo + 1 
  9869. i] < 
  9870. i] = 
  9871. lo] = 
  9872.  - lo > hi - 
  9873. ) = 0
  9874. notifyBefore 
  9875. odisablePage && "
  9876. " && 
  9877. olevel)
  9878. oenabled 
  9879. FALSE
  9880. buttonClick
  9881. " && 
  9882. value
  9883. oprop_level 
  9884. "invalid 
  9885. widget:"&&
  9886. G &CRLF&\
  9887.             "must be ""
  9888. direction 
  9889. "Next,Previous,First,Last"
  9890. "", ""
  9891. "", ""
  9892. oprop_disablePage 
  9893. &CLRF&\
  9894. notifyBefore 
  9895. odisablePage && "
  9896. " && 
  9897. olevel)
  9898. oenabled 
  9899. FALSE
  9900. buttonClick
  9901. " && 
  9902. value
  9903. oprop_level 
  9904. "invalid 
  9905. widget:"&&
  9906. G &CRLF&\
  9907.             "must be ""
  9908. direction 
  9909. "Next,Previous,First,Last"
  9910. "", ""
  9911. "", ""
  9912. oprop_disablePage 
  9913. &CLRF&\
  9914. notifyBefore 
  9915. odisablePage && "
  9916. " && 
  9917. olevel)
  9918. oenabled 
  9919. FALSE
  9920. buttonClick
  9921. " && 
  9922. value
  9923. oprop_level 
  9924. "invalid 
  9925. widget:"&&
  9926. G &CRLF&\
  9927.             "must be ""
  9928. direction 
  9929. "Next,Previous,First,Last"
  9930. "", ""
  9931. "", ""
  9932. oprop_disablePage 
  9933. &CLRF&\
  9934. notifyBefore 
  9935. odisablePage && "
  9936. " && 
  9937. olevel)
  9938. oenabled 
  9939. FALSE
  9940. buttonClick
  9941. " && 
  9942. value
  9943. oprop_level 
  9944. "invalid 
  9945. widget:"&&
  9946. G &CRLF&\
  9947.             "must be ""
  9948. direction 
  9949. "Next,Previous,First,Last"
  9950. "", ""
  9951. "", ""
  9952. oprop_disablePage 
  9953. &CLRF&\
  9954. "hour"
  9955. "Minute"
  9956. "AMPM"
  9957. minute 
  9958. value
  9959. #+ 1) 
  9960. %"00"
  9961. %"00"
  9962.  < 0 
  9963.  > 59
  9964. outside range 0 
  9965. %"00"
  9966. k12) + 1
  9967. %"00"
  9968. %"00"
  9969.  < 1 
  9970.  > 12
  9971. &&"out 
  9972. %"00"
  9973. + 1) 
  9974. %"00"
  9975. %"00"
  9976.  < 0 
  9977.  > 59
  9978. %"00"
  9979. initialize
  9980. 4OBJECT newHotwordID
  9981. %"hh : 
  9982. j: sec 
  9983. sortSelf
  9984. ZARRAY dataArray[]
  9985. ZSTRING sortedText
  9986. array
  9987.     fill 
  9988. B] order
  9989. quickSort 
  9990.     -- convert 
  9991. dimensions(
  9992. i] & CRLF 
  9993. trailing 
  9994.     -- update 
  9995. o= default
  9996. -- The 
  9997. tthree handlers 
  9998. aup a Standard recursive QuickSort.
  9999. -- Keep 
  10000. mind that arrays are passed 
  10001. Hreference, 
  10002. Hvalue.
  10003. fArray[] 
  10004. 4s_noSwap
  10005. quickSrt 
  10006. ), 1, 
  10007. dlo, hi
  10008. hi > lo 
  10009. j, lo, ((lo+hi) 
  10010. (lo+1) 
  10011. i] < 
  10012. s_noswap
  10013. quicksrt 
  10014. , lo, 
  10015. +1,hi
  10016. Ztemp
  10017. -- use 
  10018. inserting a single 
  10019. U. Will maintain 
  10020. insertLine newLine
  10021. insertLineAux(
  10022. -- inserts 
  10023. txt, maintaining 
  10024. -- works only 
  10025. already 
  10026. ending 
  10027. ZinsertSpot
  10028. midPoint 
  10029. middleLine 
  10030.             -- 
  10031. looking 
  10032. )values less than current 
  10033.             -- 
  10034. Kgreater 
  10035.             -- 
  10036. exists
  10037.  > tlc
  10038. -- This handler jumps the slider 
  10039. each tick mark 
  10040. mouse 
  10041. moved
  10042. Zarray x[5], pin[4]
  10043.     -- find midpoint between 
  10044. 0i] = (((
  10045. U(i+1))-\
  10046. Ui))/2 )+(
  10047.         x[i] = (
  10048. Ui)-82
  10049.         pos = 
  10050. " = x[1]
  10051. " = x[2]
  10052. " = x[3]
  10053.         When 
  10054. " = x[4]
  10055. " = x[5]
  10056. "track" 
  10057. pinNumber()
  10058. -- This handler jumps the slider 
  10059. each tick mark 
  10060. mouse 
  10061. moved
  10062. Zarray x[5], 
  10063.     -- find midpoint between 
  10064. lines renamed 
  10065. allow 
  10066. ;widgets on 
  10067. [i] = (((
  10068. U(i+6))-\
  10069. U(i+5)))/2 )+(
  10070. U(i+5))
  10071.         x[i] = (
  10072. U(i+5))-82
  10073.         pos = 
  10074. < pin[1]
  10075. "slider2" = x[1]
  10076.         When 
  10077. -- moves the slider
  10078. xPix 
  10079. sysPageUnitsPerPixel
  10080. sliderMin 
  10081. sliderMax 
  10082. scale 
  10083. sliderBounds 
  10084. nearestPupp(
  10085. oldP 
  10086. nearestPUPP(
  10087. pos - 
  10088. oldMouseX 
  10089. sliderPos 
  10090. mysliderPos 
  10091. startSliderMove 
  10092. leftMButton 
  10093. primaryMouseButton() -- 
  10094. S-handed mousing
  10095. newMouseX 
  10096. newP 
  10097. b(x1,
  10098. 9-dx),x2-w)
  10099. n-x1)*
  10100. )/(x2-x1-w)+
  10101. sliderMove 
  10102. mySliderPos 
  10103. endSliderMove 
  10104. updateDB
  10105.     stl = 
  10106. oselectedTextLines
  10107. enabled 
  10108. "allcontrols" 
  10109. B"mainEdit" 
  10110. B"mainDelete" 
  10111.     t = 
  10112.     info = 
  10113. 9,t)+1 
  10114. U(t) 
  10115.     datatype = 
  10116.     pRef = 
  10117. dataType 
  10118. combobox "editType" 
  10119. "Field"
  10120. mode 
  10121. "options" 
  10122. "Accept 
  10123. "integer"
  10124. "Allow numbers only"
  10125. "Read 
  10126. "boolean"
  10127. "Dropdown List"
  10128. "dropdown list"
  10129. "logical"
  10130. "custom"
  10131. "Custom"
  10132. B"values" 
  10133. "Property" && 
  10134. 9,t)-1 
  10135. t & ":"
  10136. updateFromDB
  10137.     t = 
  10138.     tabloc = 
  10139. 9,t)+1
  10140.         dtype = 
  10141. "accept 
  10142.             retval = "
  10143. --            
  10144. "read 
  10145. edittype 
  10146.  & "," & 
  10147. U(t) 
  10148. buttonClick
  10149. keyDownArrow
  10150. keyLast
  10151. initDLG sel
  10152. Zproplist
  10153.     nm = tbk_wid_name 
  10154.         propList = getPropListFromHandlers(
  10155.         props = tbk_wid_props 
  10156.         vals = tbk_wid_values 
  10157.         propcount = 
  10158. propCount
  10159.             curProp = 
  10160.             curval = 
  10161. curVal 
  10162. "widname" 
  10163. selectedtextlines 
  10164. updateDB 
  10165.     s = 
  10166. C( s)
  10167.         curline = 
  10168.         -- 
  10169. trailing 
  10170. updateWidget sel
  10171. "Uh-oh. Nothing 
  10172.     nm = 
  10173. "You must 
  10174. pthe widget 
  10175. 4you can 
  10176.     tlcount = 
  10177.         curLine = 
  10178.         tabloc = 
  10179.     close 
  10180. mode 
  10181. value
  10182. Zvallist
  10183.     fref = 
  10184. "listItems" 
  10185. "logical"
  10186. enabled 
  10187. origVal 
  10188.         icount = 
  10189. updateButtons 
  10190. selectedTextLines 
  10191. Zretval
  10192. "boolean"
  10193. "listitems" 
  10194. C(t) 
  10195. --    Tim Pearson, Asymetrix 94
  10196. customEdit
  10197. 4            s_answerMessages
  10198. Z            init, box
  10199.     linkDLL sysToolBookDirectory & "tb30dlg.dll"
  10200.         STRING    DialogCallback        (WORD,
  10201. &     GetValue            (
  10202. ?SetValue            (
  10203. YGetnListBoxSelection(
  10204. xGetControlText        (
  10205.         INT        SetControlText        (
  10206. -endTBKDialog        (
  10207.  = ",G3607,Answers:
  10208. ,S3603,
  10209. Send When Chosen:
  10210. LISTBOX answers,L3596,TRUE" & CRLF &
  10211. "FALSE
  10212. EDIT message,E3604,
  10213. BUTtoN ok,B1,
  10214. J,B3606,
  10215.     box = "524480,6,25,25,186,74,,,
  10216.  True 
  10217. False,8,MS Sans Serif,,2,3,130,55,3607,1342177287,128,
  10218. ,0,,5,32,125,7,3603,1342177280,130,
  10219. 5,13,49,21,3596,1352728577,131,,0,
  10220. 5,42,124,11,3604,1350631552,129,,0,ok,136,7,44,12,1,1342242817,128,OK,0,
  10221. J,136,22,44,12,3606,1342242816,128,Cancel,0"
  10222. "listBox 
  10223. (windowHandle 
  10224. e,box,
  10225. Bok") = 
  10226.     unlinkDLL 
  10227. y & "
  10228. TBKDialogInit    hDlg,ctrlId,hWnd,msg,ctrlName
  10229. SetnListBoxSelection(
  10230. TBKDialogCommand    
  10231. ` = "
  10232. w = 1
  10233.  = 512
  10234.  = "Button 
  10235. 0) -- 0 = 
  10236. notifyBefore 
  10237. --    Tim Pearson, Asymetrix    1/94
  10238. customEdit
  10239. 4            s_answerMessages
  10240. Z            init, box
  10241.     linkDLL sysToolBookDirectory & "tb30dlg.dll"
  10242.         STRING    DialogCallback        (WORD,
  10243. &     GetValue            (
  10244. ?SetValue            (
  10245. YGetnListBoxSelection(
  10246. xGetControlText        (
  10247.         INT        SetControlText        (
  10248. -endTBKDialog        (
  10249.  = ",G3607,Answers:
  10250. ,S3603,
  10251. Send When Chosen:
  10252. LISTBOX answers,L3596,TRUE" & CRLF &
  10253. "FALSE
  10254. EDIT message,E3604,
  10255. BUTtoN ok,B1,
  10256. J,B3606,
  10257.     box = "524480,6,25,25,186,74,,,
  10258.  True 
  10259. False,8,MS Sans Serif,,2,3,130,55,3607,1342177287,128,
  10260. ,0,,5,32,125,7,3603,1342177280,130,
  10261. 5,13,49,21,3596,1352728577,131,,0,
  10262. 5,42,124,11,3604,1350631552,129,,0,ok,136,7,44,12,1,1342242817,128,OK,0,
  10263. J,136,22,44,12,3606,1342242816,128,Cancel,0"
  10264. "listBox 
  10265. (windowHandle 
  10266. e,box,
  10267. Bok") = 
  10268.     unlinkDLL 
  10269. y & "
  10270. TBKDialogInit    hDlg,ctrlId,hWnd,msg,ctrlName
  10271. SetnListBoxSelection(
  10272. TBKDialogCommand    
  10273. c = "
  10274. z = 1
  10275.  = 512
  10276.  = "Button 
  10277. 0) -- 0 = 
  10278. notifyBefore 
  10279. notifyBefore 
  10280.     -- hard wired 
  10281. accomodate multiple backgrounds
  10282. /"main" 
  10283. oenabled 
  10284. FALSE
  10285. buttonClick loc,isShift,isCtrl
  10286. initPage 
  10287. -- different behavior 
  10288. pressed
  10289. notifyAfter 
  10290. "table Of Contents"\
  10291. xthe 
  10292. notifyBefore 
  10293.     -- hard wired 
  10294. accomodate multiple backgrounds
  10295. oenabled 
  10296. FALSE
  10297. "main" 
  10298. dest() = 
  10299. buttonClick loc,isShift,isCtrl
  10300. initPage 
  10301. "contentBar"
  10302. /= "Main"
  10303. chapter 
  10304.             tempPageList = widgetIDs 
  10305. destPageNum 
  10306. isObject("
  10307. " && 
  10308. pgNum = 
  10309. notifyAfter 
  10310. "table Of Contents" \
  10311. xthe 
  10312. notifyBefore 
  10313.     -- hard wired 
  10314. accomodate multiple backgrounds
  10315. oenabled 
  10316. FALSE
  10317. "main" 
  10318. dest() = 
  10319. 4-- recommended method 
  10320. prevent infinite loops
  10321.     -- see 
  10322. another 
  10323. buttonClick loc,isShift,isCtrl
  10324. initPage 
  10325. notifyAfter 
  10326. "table Of Contents" \
  10327. xthe 
  10328. /= "Main"
  10329. chapter 
  10330.             tempPageList = widgetIDs 
  10331. destPageNum 
  10332. isObject("
  10333. " && 
  10334. pgNum = 
  10335. notifyBefore 
  10336.     -- hard wired 
  10337. accomodate multiple backgrounds
  10338. /"Topics" 
  10339. "main,
  10340. oenabled 
  10341. FALSE
  10342. buttonClick loc,isShift,isCtrl
  10343. initPage 
  10344. -- different behavior 
  10345. pressed
  10346. notifyAfter 
  10347. "table Of Contents"\
  10348. xthe 
  10349. -- This 
  10350. {serves 
  10351. %the table 
  10352. contents 
  10353. 8. It 
  10354. updated
  10355. 'Book Outline dialog box
  10356. @outline 
  10357. pageList
  10358. ZLONG maxtopics, listCount
  10359. ZOBJECT currentGroup, currentField
  10360. ZSTACK obs
  10361.     -- A 
  10362. zthat acts like a 
  10363.     -- Force 
  10364. be a 
  10365. prevent further conversions 
  10366. loop.
  10367. ZSTRING currentTopic 
  10368. limited 
  10369. ) -- a 
  10370. ("g"&i) 
  10371.         -- 
  10372. currenttopic
  10373. pgId 
  10374. remaining tabs
  10375. ("g"&i) 
  10376.     -- turn on 
  10377. selected 
  10378. goPage 
  10379. initPage 
  10380. -- highlights 
  10381. "buttons" (they're really fields)
  10382. value
  10383. WHITE
  10384. LIGHTGRAY
  10385. darkBlue()
  10386. -- updates 
  10387. checkmarks. Only checks 
  10388. chapter have been visited
  10389. updateChecks
  10390. numChapters 
  10391.         -- 
  10392. representing a "
  10393.         -- each 
  10394. made up 
  10395. a checkbutton.
  10396. ("g"&i) 
  10397.             -- 
  10398. Yreferences 
  10399. checkref
  10400. myPageID 
  10401.             -- 
  10402. stored 
  10403.             -- a 
  10404. a userProperty 
  10405.             -- It 
  10406. possible 
  10407. fail 
  10408. rebuilding a 
  10409. clearing 
  10410.             -- so we must 
  10411. isObject("
  10412. " && myPageId)
  10413. subPages 
  10414. widgetIds 
  10415. -- walk through 
  10416. curPageID
  10417. FALSE
  10418. checkRef 
  10419. buttonClick 
  10420. 4s_currentTopic
  10421. stringResource("ChooseWidget")
  10422. /"Main" < 2 -- i.e., 1, 
  10423. v why 
  10424. xcover a few bases?
  10425. cLastWidget")
  10426. tl <> 
  10427. /<> "main"
  10428. tPage 
  10429. /<> "
  10430. widgetNotTopic")
  10431. selectPage
  10432. updateTopics
  10433. initpage 
  10434. initPage 
  10435.         -- the 
  10436.  was 
  10437. = "contentBar"
  10438. doRepage
  10439. -- This message 
  10440. sent 
  10441. clicked 
  10442. changed 
  10443. Hsetting
  10444. -- tabMode.
  10445. Put code 
  10446. handler, 
  10447. -- on 
  10448. tabPressed tabNum
  10449. -- handles clicking on 
  10450. buttonClick
  10451.     -- test 
  10452. 9was 
  10453. Hchecking "obtype" userProperty
  10454.         -- each 
  10455. named "
  10456. ", N being 
  10457. tabname 
  10458. -- Changes which 
  10459. 9folder 
  10460. front.
  10461. It does 
  10462. Hmoving
  10463. U"mask"
  10464. -- Value 
  10465. zbetween 1 
  10466. tabs 
  10467. value
  10468.  < 1 
  10469.  > tabLimit()
  10470. "Cannot 
  10471. 9" && 
  10472.     -- moves 
  10473. visually
  10474.     -- appear 
  10475.  See sized 
  10476.  below 
  10477. adiagram
  10478. v + xpix(),
  10479.     -- stores 
  10480. a userproperty
  10481. myTabMode 
  10482.     -- sends 
  10483. notification 
  10484. -- The handlers 
  10485. resizing 
  10486. ,mode. --
  10487. -- Used 
  10488. %a constant.
  10489. Returns 
  10490. -- Note: 
  10491. you wish 
  10492. more 
  10493. , follow 
  10494. procedure:
  10495. -- Go 
  10496. duplicate one 
  10497. -- Rename that 
  10498. 9appropriately. (
  10499. instance would
  10500. -- be 
  10501. Tab7", 
  10502. thirteenth 
  10503. # be "Tab13").
  10504. -- Set its 
  10505. behind 
  10506. function 
  10507. reflect 
  10508. pageUnits given n 
  10509. pixels.
  10510. xPix n
  10511. sysPageUnitsPerPixel * n
  10512. yPix n
  10513. Tel * n
  10514. -- returns 
  10515. currently selected 
  10516. -- sets up 
  10517. height 
  10518. units.
  10519. tabHeight 
  10520. myTabHeight 
  10521. handled 
  10522. tabSpace 
  10523. myTabSpace 
  10524. arrangeTabs
  10525. numTabs 
  10526. valid parameter
  10527. "Must have 
  10528. )least 1 
  10529. "Can only 
  10530. /" && 
  10531.  && "
  10532.         -- cache 
  10533. {reference 
  10534. optimization.
  10535. 9"&i) 
  10536. i <= 
  10537.             -- 
  10538. hidden 
  10539. %they've 
  10540. xbeen
  10541.             -- receiving them 
  10542. # are 
  10543. "manual" 
  10544. myNumTabs 
  10545. myNumtabs 
  10546. resized 
  10547. Notice 
  10548. -- methodSent: 
  10549. used 
  10550. differentiate 
  10551. =messages
  10552. toolBook 
  10553. explicitly 
  10554. syssuspendmessages
  10555.  off toolbooks 
  10556. messaging, 
  10557. %we will be changing
  10558. stuff.
  10559. Without 
  10560. recursively
  10561.     -- calls itself over 
  10562. sysSuspendMessages 
  10563. thing 
  10564. has a 
  10565.  called 
  10566. 5,6 _________ 7,8
  10567. 3,4 |
  10568. | 9,10
  10569. 1,2 |____________| 11,12
  10570.         -- Here 
  10571. amap 
  10572.         -- 
  10573. goal here 
  10574. maintain 
  10575. shape 
  10576.         -- 
  10577. . (Otherwise 
  10578. gets 
  10579. stretchy.) Also, 
  10580.         -- 
  10581. should be 
  10582.         -- find 
  10583. how tall 
  10584. supposed 
  10585.         -- 
  10586. tabRef 
  10587.         -- 
  10588. tsection 
  10589. makes 
  10590. " corners
  10591.         -- 
  10592. Need 
  10593. be sure 
  10594.         -- 
  10595.  wide 
  10596. 4doing 
  10597. m"tabHighlight" 
  10598. B"tabLabel" 
  10599. l    (),
  10600. <    () 
  10601.             -- 
  10602.             -- 
  10603. editor.
  10604. rectangular
  10605.     -- body 
  10606.         -- 
  10607. following condition 
  10608. triggered 
  10609. %a whole 
  10610. , even though their sizes 
  10611. So we must notify
  10612.  can 
  10613. themselves.
  10614. xarranged 
  10615.         -- 
  10616. 9"&i) 
  10617.         -- don't bother arranging 
  10618.         -- 
  10619. x    on 
  10620. -- assures 
  10621.     aligned 
  10622. spaced evenly.
  10623. anchor 
  10624. "tab1" 
  10625. where 
  10626. order
  10627. xPos 
  10628. bp - 
  10629. b(ts,0)
  10630. through remaining 
  10631. place
  10632.         -- 
  10633. 9"&i) 
  10634. ()+ts
  10635.         -- 
  10636.         -- now 
  10637. tbit 
  10638. masking 
  10639. others.
  10640. bchecks 
  10641. x(e.g., 
  10642. just 
  10643. moved 
  10644. tname 
  10645. 9" & 
  10646. above 
  10647. key, isShift, isControl
  10648.      -- N 
  10649. numeric, A 
  10650. alpha, - 
  10651. seperator, 
  10652. anything 
  10653.     templet = 
  10654.     -- user property
  10655. O = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
  10656.  = "0123456789"
  10657.  = " ,.-/"
  10658. caretLocation = 
  10659.         characterTyped = 
  10660. o(key)
  10661.         characterNumber = (
  10662. checkLinks
  10663.     drive = getCurrentDrive()
  10664. setCurrentDirectory(
  10665. .&":.\"&
  10666.     path = getCurrentDirectory(
  10667. updateFileInfo 
  10668. l&":.\"
  10669. selectFile 
  10670. &":.\"
  10671. updateDirectoryInfo 
  10672. &":.\"
  10673. oselectedTextlines
  10674. qrefCount 
  10675. DLLs requires leaving clean
  10676. uncheckLinks
  10677. notifyBefore 
  10678. ZSTRING fileList
  10679.  = getDirectoryOnlyList(
  10680. &"*", "N")
  10681. B = "."&CRLF&".."
  10682.     linkDLL sysToolBookDirectory & "tb30dos.dll"
  10683.         INT 
  10684.     unlinkDLL 
  10685. pry & "
  10686. notifyAfter 
  10687. --stub 
  10688. prevent 
  10689. no notifyhandlers 
  10690. message exist
  10691. pathAndFile
  10692. keep 
  10693. causing ES 
  10694. selectChange newDrive
  10695. checkLinks
  10696. = TRUE
  10697.     drive = 
  10698. setCurrentDrive(
  10699. setCurrentDirectory(
  10700. ;&":")
  10701. updateDirectoryInfo 
  10702. Y&":.\"
  10703. updateFileInfo 
  10704. s&":.\"
  10705. selectFile 
  10706. &":.\"
  10707. = FALSE
  10708. uncheckLinks
  10709. enterDropdown
  10710. odropDownItems 
  10711. getDriveList()
  10712. notifyBefore 
  10713. ZSTRING fileList
  10714.     linkDLL sysToolBookDirectory & "tb30dos.dll"
  10715. bgetCurrentDrive()
  10716.         INT 
  10717.     unlinkDLL 
  10718. try & "
  10719. notifyAfter 
  10720. --stub 
  10721. prevent 
  10722. & handlers 
  10723. message exist
  10724.  pathAndFile
  10725. buttonClick
  10726. checkLinks
  10727.     drive = getCurrentDrive()
  10728. selectFile 
  10729. $&":\"& getCurrentDirectory(
  10730. A) &"\", 
  10731. W, FALSE
  10732. uncheckLinks
  10733. y, TRUE
  10734. notifyAfter 
  10735. updateFileInfo
  10736. "activateInstance
  10737. notifyBefore 
  10738. ; path, file
  10739. "*.*"
  10740.     fileList = getFileOnlyList(
  10741. F, "", "N")
  10742.     linkDLL sysToolBookDirectory & "tb30dos.dll"
  10743.         STRING 
  10744.     unlinkDLL 
  10745. iry & "
  10746. --stub 
  10747. prevent 
  10748. no notifyhandlers 
  10749. message exist
  10750. updateDirectoryInfo pathAndFile
  10751. keep 
  10752. causing ES 
  10753. keyEnter
  10754. parseFileName 
  10755. checkLinks
  10756. fileExists(
  10757. acceptFile 
  10758. = -18
  10759. seperatePath(
  10760.         path = 
  10761.             drive = getCurrentDrive()
  10762. setCurrentDirectory(
  10763. 0&":"&
  10764. update 
  10765. , TRUE
  10766. <> "\"
  10767. setCurrentDrive(
  10768. getCurrentDirectory(
  10769. <> ".\"
  10770. , FALSE
  10771.     sendNotifyBefore selectFile "", 
  10772. uncheckLinks
  10773. o= default
  10774. , directoryChange
  10775. updateDirectoryInfo 
  10776. &":\"& 
  10777. updateFileInfo 
  10778. &":\"& 
  10779. notifyBefore 
  10780. , confirm    
  10781. "*.*"
  10782.  pathAndFile
  10783. ZSTRING fileName
  10784. & <> ".."
  10785. x"\" 
  10786. x":") 
  10787.  = ".\"
  10788. getFileAttributes(
  10789.     linkDLL sysToolBookDirectory & "tb30dos.dll"
  10790.         INT 
  10791.     unlinkDLL 
  10792. ry & "
  10793. notifyAfter 
  10794. --stub 
  10795. keep 
  10796. causing ES 
  10797. no handler
  10798. notifyBefore 
  10799.     linkDLL "user"
  10800.         WORD widTimerStart=SetTimer(
  10801. ,DWORD)
  10802. +End = KillTimer(
  10803.     translateWindowMessage 
  10804. windowHandle 
  10805.         on 0x0113 
  10806. clockTick 
  10807. otimerID 
  10808. operiod * 1000, 0)
  10809. notifyAfter 
  10810. widTimerEnd(
  10811.     unlinkDLL "
  10812. hWnd, msg, 
  10813. value
  10814. oprop_format 
  10815. buildcal d, m, y
  10816. wrkday = weekDay(1, m, y)
  10817. "days" = NULL
  10818.     resetObj = 
  10819. LIGHTGRAY
  10820. .BLACK
  10821. ;RAISED
  10822. counter = 
  10823. daysInMonth(m)
  10824. i = d
  10825. ;INSET
  10826. KGREEN
  10827. " && QUOTE & 
  10828. displayDate m, y
  10829. %"M" 
  10830. comboBox "calMonth" = m
  10831. Year" = y
  10832.  d, m, y
  10833. SYSTEM leapyear
  10834. LOCAL mfactor, cfactor
  10835. day1, yr
  10836. yr = 
  10837. leapYear = isLeapYear(y)
  10838. G = "034025036146"
  10839. ^ = "144025036146"
  10840. y >= 1900 
  10841. y <= 1999
  10842. y >= 2000 
  10843. y <= 2099
  10844. y >= 1800 
  10845. y <= 1899
  10846. y >= 1700 
  10847. y <= 1799
  10848. y >= 2100 
  10849. y <= 2199
  10850. (yr + (yr 
  10851. y4) + 
  10852.  + d + 
  10853. m <> 2
  10854. "31,28,31,30,31,30,31,31,30,31,30,31"
  10855. -- returns the weekday 
  10856. beyond 1/1/1700: 
  10857. -- note: requires full 
  10858. . Example: 
  10859. "1/1/1995")
  10860. -- also 
  10861. ) function below
  10862. dayOfWeek pdate
  10863. aa list out 
  10864. %"m,d,y" 
  10865. "m/d/y"
  10866. following 
  10867. each month) 
  10868.  that have passed 
  10869. "0,31,59,90,120,151,181,212,243,273,304,334" 
  10870. numdays 
  10871. elapsed since 1/1/1700 
  10872. (y-1700) 
  10873. y4-(y-1700) 
  10874. y100 +(y-1600) \
  10875. y400 + 365 * (y - 1700) + 
  10876. o+ d -1 
  10877. m <= 2 
  10878. k7 +1
  10879. "Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday" 
  10880. -- Returns TRUE 
  10881. , FALSE 
  10882. -- NOTE: 
  10883. fuction 
  10884. a four digit 
  10885.  Find 
  10886. 1992 
  10887. (1992)
  10888. k4 = 0 
  10889. k100 <> 0) 
  10890. k400 = 0))
  10891. notifyAfter 
  10892.     -- initialize
  10893. buttonClick 
  10894. B"today" 
  10895. buttonClick
  10896. printerRes()
  10897. "This 
  10898.  has a resolution 
  10899. " && \
  10900. H" && 
  10901. && "dots per inch."
  10902. "GDI"
  10903.         WORD     createIC    (STRING,
  10904.         INT    getDeviceCaps    (
  10905.      deleteDC     (
  10906. linkDLL
  10907.  sysToolBookDirectory & "tb30win.dll"
  10908. t GetWinIniVar     (
  10909.     LOGPIXELSX = 88 -- Windows constants
  10910.     LOGPIXELSY = 90 
  10911.     driverInfo = getWinIniVar("windows", "device")
  10912.     deviceName = 
  10913. "There 
  10914.  attached."
  10915.         unlinkDLL "
  10916. y & "
  10917.     deviceFile = 
  10918.     devicePort = 
  10919.     hDC = 
  10920.     prnXRes = 
  10921.     prnYRes = 
  10922. y & "
  10923. P& "," & 
  10924. buttonClick
  10925. MaxSelection 
  10926. omaxNumber
  10927. --This handler will limit the 
  10928. selectable lines 
  10929. --a multi-
  10930. list box.
  10931. Fcan be placed 
  10932. fwork 
  10933. fmore than one
  10934. It takes 
  10935.  parameter:
  10936. Represents 
  10937. maximum 
  10938. selections allowed
  10939. call 
  10940. following syntax:
  10941. ZLVselectedLine
  10942. ("Don't know 
  10943. . Please enter a positive integer."
  10944. (selectedTextLines 
  10945. Target) > Num
  10946. value
  10947. isType(INT,
  10948. -- here 
  10949. neatness, 
  10950. xreally necessary
  10951. 4chrOffset, textBuff
  10952. <> -1
  10953. @ = 0
  10954. ZnewOffset
  10955. chOff 
  10956. tL <> -1    
  10957.  <> 0 
  10958.  <> 0
  10959. odefaultAllowDrag 
  10960. endDrag targetobject, pageLoc
  10961. 4theSelectedText
  10962. ( <> 
  10963. = "0,0"
  10964. beginDrag
  10965. objectFromPoint(
  10966. isChild(
  10967. toggleInvert 
  10968. obuttonPressed
  10969. buttonClick 
  10970. FALSE
  10971. toggleObject
  10972. = TRUE
  10973. oinvertedButton <> 
  10974. R <> 
  10975.  objectInQuestion, parentInQuestion
  10976. $ <> 
  10977. notifyAfter 
  10978. -- Implementation 
  10979. transition FX 
  10980. individual 
  10981. -- Syntax:
  10982. --    showWithTrans <
  10983. {list>, <
  10984. Eeffect>
  10985. --    hideWithTrans <
  10986. -- CJC
  10987. buttonClick
  10988.     linkDLL "USER"
  10989. LockWindowUpdate(WORD)
  10990. , "dissolve 
  10991. ), "wipe 
  10992.     unlinkDLL "user"
  10993. pObjList, pTrans
  10994. -- SHOW OBJECT LIST:
  10995. xNULL)
  10996. -- RESET 
  10997. , EAT PAINTING:
  10998. sysClientHandle)
  10999. lockWindowUpdate(0)
  11000. -- TRANSITION TO THIS PAGE:
  11001. buttonClick
  11002.     linkDLL "USER"
  11003. LockWindowUpdate(WORD)
  11004. ZobjTracker
  11005. rObj 
  11006. 5& "," 
  11007. hideWithTrans 
  11008. , "dissolve 
  11009. showWithTrans 
  11010.     unlinkDLL "
  11011. .pObjList, pTrans
  11012. -- SHOW OBJECT LIST:
  11013. xNULL)
  11014. -- RESET 
  11015. , EAT PAINTING:
  11016. sysClientHandle)
  11017. lockWindowUpdate(0)
  11018. -- TRANSITION TO THIS PAGE:
  11019.     transition 
  11020. buttonClick
  11021. howToExit
  11022.     linkDLL "user"
  11023.         INT ExitWindows(DWORD, 
  11024. "Do you want 
  11025. restart 
  11026. exiting?" \
  11027. "Restart" 
  11028. "Cancel" -- ignore reboot 
  11029.  = 66
  11030. "Reboot" -- 
  11031. one will 
  11032. Syour machine!
  11033.  = 67
  11034. also sysmenu 
  11035. alt-F4
  11036. "This 
  11037. Rclose 
  11038. Uapplications 
  11039. . Are 
  11040. sure 
  11041. f"Yes, 
  11042. "No, don't 
  11043. c"No, 
  11044. exitBook 
  11045.     unlinkDLL "
  11046.  -- well, 
  11047. Wreally need 
  11048.     --     
  11049. ) takes two parameters.
  11050.     --     used 
  11051. determine what happens 
  11052.  exits.
  11053.     --     
  11054. :three choices 
  11055. Y are 
  11056.     --     
  11057.     --     To just 
  11058. , pass 0.
  11059.     --     defined 
  11060. %EW_RESTARTWINDOWS 
  11061. value 67, 
  11062.     --     EW_REBOOTSYSTEM 
  11063. 5.H, 
  11064.     --     
  11065. reserved 
  11066. a 0 must always be 
  11067. Bfunctional, 
  11068. lines 
  11069. buttonClick -- showWidgetHelp
  11070.     linkDLL sysToolBookDirectory & "tb30dlg.dll"
  11071.     dialogCallback    (
  11072. !            (
  11073.     setValue        (
  11074.     getValue        (
  11075.         endTBKDialog    (
  11076. customDialog
  11077.     unlinkDLL 
  11078. ry & "
  11079. 4s_whichDB
  11080. init 
  11081. WidgetHelpInit 
  11082. retValue 
  11083. (WidgetHelpBOX 
  11084. *,"Button Basic Widgets") 
  11085. showBasicWidgets
  11086. CNotify Messages") 
  11087. showNotifyMessages
  11088. Cleanup") 
  11089. "Initialization 
  11090. showInitandCleanup
  11091. Advanced Widgetry") 
  11092. showAdvanced
  11093. BasicWidgetInit 
  11094. (BasicWidgetBOX 
  11095. ck") 
  11096. More") 
  11097.         pCheck = "
  11098. " && QUOTE & 
  11099. isObject(
  11100. "There 
  11101. named" && 
  11102.  & "."
  11103. NotifyMessagesInit 
  11104. (NotifyMessagesBOX 
  11105. ck") 
  11106. " && 
  11107.  & "."
  11108. InitandCleanupInit 
  11109. (InitandCleanupBOX 
  11110. ck") 
  11111. " && 
  11112.  & "."
  11113. AdvancedInit 
  11114. (AdvancedBOX 
  11115. ck") 
  11116. " && 
  11117.  & "."
  11118. notifyAfter 
  11119. oldBook 
  11120. eresource bitmap "basWid" 
  11121. notifyBefore Cut
  11122. ogoes 
  11123. "Use 
  11124. o, on 
  11125. widget."
  11126. "You must 
  11127. 4copying 
  11128. f"Save" 
  11129. "Cancel"
  11130. saveAs
  11131. notifyBefore 
  11132. notifyAfter 
  11133.     linkDLL "USER"
  11134.         WORD widTimerStart=SetTimer(
  11135. ,DWORD)
  11136. +End = KillTimer(
  11137.     translateWindowMessage 
  11138. windowHandle 
  11139.         on 0x0113 
  11140. clockTick 
  11141. otimerID 
  11142. + 1, 
  11143. operiod * 1000, 0)
  11144. widTimerEnd(
  11145.     unlinkDLL "
  11146. hWnd, msg, 
  11147. value
  11148. oprop_format 
  11149. buttonClick
  11150. oToggle
  11151. graphic 
  11152. bitmap "plus"
  11153. otoggle 
  11154. -minus"
  11155. notifyBefore Copy
  11156. egoes 
  11157. "You must 
  11158. 4copying 
  11159. widget." \
  11160. f"Save" 
  11161. "Cancel"
  11162. saveAs
  11163.         -- here we 
  11164. a property 
  11165. so that 
  11166. can remember
  11167.         -- where 
  11168. came 
  11169. oldBook 
  11170. notifyAfter 
  11171.     -- Warning: 
  11172. original 
  11173. deleted 
  11174. moved 
  11175.     -- happens, 
  11176. will fail.
  11177. eresource 
  11178. "Use 
  11179. o, on 
  11180. ^4-- 
  11181. Asymetrix Widgets Book
  11182. Copyright 1994 
  11183. (Corp.
  11184. Primary 
  11185. ,: Charles Hiestand
  11186. fhelp 
  11187. : Joseph Brick
  11188. widgets 
  11189. just about everybody.
  11190. gives you permission 
  11191. e, revise 
  11192. reuse the individual 
  11193. scripts 
  11194. your own applications.
  11195. -- You may 
  11196. x, however, 
  11197. Uentire 
  11198. a substantial part 
  11199. redistribution 
  11200. lproduct.
  11201. retains 
  11202. copyright on 
  11203. original elements 
  11204.  . Include 
  11205. notice "Portions 
  11206.  are 
  11207. Corporation" 
  11208. they contain 
  11209. copied 
  11210. -- A note on language independence:
  11211. For ease 
  11212. translating 
  11213. strings that come 
  11214. readers
  11215. two functions located 
  11216. -- The names 
  11217. these 
  11218. "stringResource" 
  11219. "widgetHelp".
  11220. enterApplication
  11221.     -- used 
  11222. custom Back handler
  11223. 4s_backMessageSent
  11224. 4s_widFirstFlag
  11225. "Clear Chec&ks" alias resetChecks 
  11226. fhelpText "
  11227. Xmarks 
  11228. table 
  11229. contents 
  11230. ..." 
  11231. ncheckWids 
  11232. gUse 
  11233. e"E&dit 
  11234.  Properties..." 
  11235. "widgetSchmidget" 
  11236. xsysRuntime
  11237. ..." 
  11238. "Contents"
  11239. have rebuilt 
  11240. 8, prevent 
  11241. "What's a 
  11242. showing up.
  11243.     -- This property 
  11244. only 
  11245. outline 
  11246. widHelp 
  11247. FALSE
  11248. statusBar
  11249. "splash"
  11250.     close 
  11251. readerFix 
  11252.     -- turn off 
  11253.  = TRUE
  11254. leaveApplication
  11255. -- hm, 
  11256. makes sure things 
  11257. Uup, especially 
  11258. 640 X 480 mode
  11259. Ztemp,doGroup
  11260. /"contentBar"
  11261. /= "Main"
  11262. must be 
  11263. Llevel, i.e.
  11264. -- no 
  11265. burried 
  11266. tbk_wid_name 
  11267.  Label" 
  11268. ) > 1
  11269. enterMenu mName, mAlias
  11270.         -- newViewer takes care 
  11271. Mwhere 
  11272. user scrolls down 
  11273. (thus
  11274.         -- genereating another 
  11275. "Object" 
  11276.             sel = 
  11277. (targetWindow 
  11278. (onBackground 
  11279. f)=1)
  11280.             enable 
  11281.             disable 
  11282.  <> "
  11283.     rest 
  11284. <> NULL
  11285. "myPaste"
  11286. localWids 
  11287. "myCopy"
  11288. e"CopyAll"
  11289. menuItemSelected 
  11290. "Author" 
  11291.     -- By navigating we avoid conflicts 
  11292. fskipNavigation 
  11293.     -- we can interleave different backgrounds
  11294. ("HelpIntro")
  11295. initPage 
  11296. "nextBG"
  11297. "previousBG"
  11298. /"main"
  11299. 4LOGICAL 
  11300.     -- a better BACK
  11301. puts 
  11302. navigation 
  11303. x* initiated 
  11304.         sS = 
  11305. -- handling 
  11306. behaves like winhelp's 
  11307.  ) > 0
  11308. -- we 
  11309. messages 
  11310. trigger notify handlers 
  11311. buttons
  11312. authorFix 
  11313. -- stub 
  11314. insure no error 
  11315. be generated
  11316. 4s_currentCopy
  11317. widObs 
  11318. be = 0
  11319. ') = 1
  11320. " && QUOTE & 
  11321.          "has been 
  11322. clipboard." \
  11323. ToolBook 
  11324. CRLF 
  11325. "copyDialog"
  11326. ("CopyWidget")
  11327. initDialog 
  11328.  --always 
  11329. a modal 
  11330. " && 
  11331. authoring version 
  11332. newWidget
  11333. ("BadPaste")
  11334.         -- debug
  11335.         -- code 
  11336. place 
  11337. {somewhere reasonable on 
  11338.         -- 
  11339. "border" around 
  11340. copyAll
  11341. " &&\
  11342. them 
  11343. tableOfContents
  11344. pref 
  11345. updatechecks 
  11346. "tableofcontents" 
  11347. 4s_currentTopic
  11348.     comboRef = comboBox "
  11349.         dropDownItems 
  11350. ITopics 
  11351. dialog box
  11352. ("NeedHeading")
  11353. (widgetIDs 
  11354. ) = 20
  11355. ("TooManyWidgets")
  11356. (nameOfWidget) 
  11357. could be more robust
  11358. ("noName")
  11359. c"," 
  11360. ~(",",
  11361. newName 
  11362. /<> "
  11363. widPage 
  11364.             -- 
  11365. misc. 
  11366. 'cause.
  11367. pcbgM 
  11368. sS = 
  11369. pcTMisc 
  11370. (myPageList 
  11371. "miscellaneous")
  11372. chapter 
  11373. "heading" 
  11374. chapterID 
  11375. ) > 32 -- won't fit 
  11376. realName 
  11377. "autoPageName" 
  11378. updateTopics 
  11379.         locWids = 
  11380. /<> "
  11381. ("needWidgetToEdit")
  11382. o) > 1
  11383. tempWid = 
  11384. +"untitled" & i
  11385. ("ChooseWidgetToEdit")
  11386. initDLG 
  11387. "widgetProperties" 
  11388. = sel
  11389. "," & 
  11390.  setTemp, 
  11391. /<> "
  11392. >checkWidget
  11393. ) > 1
  11394. ("ChooseWidgetToCheck")
  11395. = sel
  11396. "," & 
  11397. & ":" && 
  11398. ("askTWName")
  11399. r<> "Cancel"
  11400. ") && 
  11401. ") && 
  11402.     tWP = tbk_wid_props
  11403. ("setProps") & 
  11404.         tWV = tbk_wid_values 
  11405. textlineCount(
  11406. ) > 17
  11407. tabStops = TAB
  11408. ) > 6
  11409.             temp2 = 
  11410.  -- shouldn't 
  11411. t  happen
  11412. 8"Any data accepted"
  11413. ("noPubProp") & 
  11414.         sOS = 
  11415. /<> "
  11416. TAB & 
  11417. ("convToSet") & 
  11418. ("learnProps") 
  11419. visited 
  11420. updateChecks 
  11421. "TableofContents" 
  11422. -- returns dark 
  11423. darkBlue
  11424. 240,25.125,100
  11425. {  keyWord
  11426. a#" & 
  11427. & "ver. 1.01" & 
  11428. #1994"
  11429. {doesn't 
  11430. ." && \
  11431. "Please 
  11432. probably 
  11433. ." && \
  11434. 4performing 
  11435. operation." & 
  11436.         "If 
  11437. #want 
  11438. choose a 
  11439. delete."
  11440.     "clearBookWarning"
  11441. "Clearing 
  11442. 8will 
  11443. $rretrievable loss 
  11444. ." && \
  11445. "Are 
  11446.     "clearTopic"
  11447. c%belonging 
  11448.     "Close"
  11449. "Consider converting 
  11450. published 
  11451. v& To 
  11452.         "doRepage"
  11453. repage 
  11454. 8now, 
  11455. wait 
  11456. %done adding 
  11457. clearing 
  11458. N?" & 
  11459. `&try 
  11460. navigate 
  11461. deleting 
  11462. N. If 
  11463. f't, errors 
  11464. 4&result.)"
  11465. ,%best results, 
  11466. &""Exclude 
  11467. Fields"" 
  11468. &default 
  11469. appear."
  11470.         "LastWidget"
  11471. xbe deleted."
  11472. , see 
  11473.     "Less"
  11474.     "More"
  11475.     "MustCreatetopicName"
  11476. +(create a 
  11477.     "nameOftopic"
  11478. ." & 
  11479. either 
  11480. qone."
  11481. X. Navigate 
  11482.     "NoDont"
  11483. "No, don't 
  11484.     "NoHelp"
  11485. )yet 
  11486.     "NotImplemented"
  11487. "Sorry, 
  11488. feature 
  11489. ;implemented."
  11490.     "NoName"
  11491. associated 
  11492. E*,"\
  11493. && "can't 
  11494. && "(
  11495.     "PageOutlineHelp"
  11496. "In Reader Mode:" & 
  11497. *." & 
  11498. *outer 
  11499. )" & 
  11500. *ner 
  11501. click on 
  11502. +""Go""" & 
  11503. B+chosen 
  11504. B." & 
  11505. & "In 
  11506. P% functionality 
  11507. still available, but 
  11508. also 
  11509. +structure 
  11510. @,." & 
  11511.  rearrange 
  11512. Hdragging 
  11513. #." & 
  11514. "After editing, 
  11515. a good idea 
  11516. ) various structures 
  11517. ,whole" & 
  11518. %a shell 
  11519.     "selectNotBGRF"
  11520. + column"\
  11521. -type 
  11522. Malready 
  11523. -maximum allowable 
  11524. :.(20)."\
  11525.     "TooManyTopics"
  11526. N(16)."\
  11527. && "To 
  11528. d, please 
  11529.     "TopicToDelete"
  11530. "Wait"
  11531.     "WidgetNotTopic"
  11532. pick a 
  11533.     "YesSure"
  11534. , I'm 
  11535. "Error occurred 
  11536. fetch, unknown key 
  11537. - trgt
  11538. help_text 
  11539. : catch messy stuff 
  11540. ) > 1
  11541. && "[
  11542. cached]"
  11543.     "clearWidget"
  11544.     "createTopic"
  11545.     "createWidget"
  11546. F     a 
  11547.     "firstPage"
  11548. M(w/ 
  11549.     "lastPage"
  11550. M(w/ 
  11551.     "previousPage"
  11552. "Previous 
  11553.     "nextPage"
  11554. "Next 
  11555.     "repaginate"
  11556. "Repaginate 
  11557. "Show 
  11558. 8editor."
  11559.     "outlineHelp"
  11560. cgetting 
  11561. highlightColor 
  11562. value
  11563. shadowColor 
  11564. faceColor 
  11565. sized
  11566. spupp 
  11567. syspageunitsperpixel
  11568. syssuspendmessages 
  11569. buttonClick loc,isShift,isCtrl
  11570. (topicIDs 
  11571. 8) = 16
  11572. stringResource("TooManyTopics")
  11573. /<> "
  11574. cnameOfTopic) 
  11575. could be more robust
  11576. mustCreateTopicName)
  11577. cQUOTE 
  11578. c"," 
  11579. ~(",",
  11580. "chapterLabel" 
  11581. CRLF & 
  11582. "," & 
  11583. initPage 
  11584. updateTopics
  11585. doRepage
  11586. buttonClick
  11587. stringResource("clearBookWarning") \
  11588. &YesSure") 
  11589. 4NoDont")
  11590. "Cancel"
  11591.     linkDLL "tb30dlg.dll"
  11592.         STRING saveAsDlg(
  11593. ,INT)
  11594. #"Save a New Blank Widgets 
  11595. ","blankwid.tbk","","ToolBook files (*.
  11596. <> NULL
  11597.         newBook = 
  11598. ,TRUE
  11599.         -- we really don't want 
  11600.         -- nor 
  11601. messages.
  11602.         sysSuspendMessages = 
  11603.         -- cache references 
  11604. backgrounds 
  11605.         -- give some default values
  11606. /"Main"
  11607. p1OfBgM 
  11608. /"Topics"
  11609. p1OfBgT 
  11610.         -- 
  11611. ['em out
  11612. selectPage
  11613.         -- 
  11614. Hnow 
  11615. only) 
  11616.         -- clean 
  11617. J"Details" 
  11618. J"Description" 
  11619.         -- but what 
  11620. there are no 
  11621.         sS = 
  11622. = FALSE
  11623. chapter 
  11624. chapterID 
  11625. initPage 
  11626. [bgM;
  11627. [p1OfBgm
  11628.         -- 
  11629. myPageList 
  11630. widgetIDs 
  11631.         -- 
  11632. Jparameter 
  11633. "False" helps 
  11634. prevent overwriting existing books
  11635.         -- 
  11636. topicIDs 
  11637.         -- 
  11638. j checks 
  11639. widgetHelp
  11640. "WidgetHelp" 
  11641. widHelp 
  11642.         -- final update 
  11643. N(on 
  11644. updateTopics
  11645. resetChecks
  11646. comboBox "Select 
  11647. highlightColor 
  11648. value
  11649. shadowColor 
  11650. faceColor 
  11651. sized
  11652. spupp 
  11653. syspageunitsperpixel
  11654. syssuspendmessages 
  11655. PlotValues 
  11656. MaxPies 
  11657. ) > 2
  11658. defValues 
  11659. NumPies 
  11660. vtotal 
  11661. FullPie 
  11662. vTotal > 1
  11663.         -- Normalize values so they 
  11664. 1 (100%)
  11665.         -- 
  11666. fill pieChart
  11667.     -- Now 
  11668. oldLock 
  11669. pie1 
  11670. pie2 
  11671. bnds 
  11672. xCenter 
  11673. yCenter 
  11674. vRadius 
  11675. |) / 2
  11676. CumulVal 
  11677. zeroAngle 
  11678. StartAngle 
  11679. PtStart 
  11680. 2) * 
  11681. ptStart 
  11682. startAngle 
  11683. CumulAngle 
  11684. )) * 
  11685. A) * 
  11686. vVertices 
  11687. newVertices 
  11688. prevPie
  11689. explodeBy 
  11690. explodeAngle 
  11691. ) * (
  11692.  / 2))) + 
  11693. (ExplodeAngle), -(
  11694. plotValues
  11695. PlotOrigin
  11696. result 
  11697. * 180 / 
  11698. ) > 1
  11699. isNumber(
  11700.  >= 0 
  11701.  <= 360
  11702. / 180
  11703. force redraw
  11704. PlotColors 
  11705.     myPlotColors 
  11706. H,L,S
  11707. plotColors
  11708. highlight
  11709. highlightColor
  11710. shadow
  11711. shadowColor
  11712. faceColor
  11713. highlight
  11714. highlightColor
  11715. shadow
  11716. shadowColor
  11717. faceColor
  11718. ,%H.%
  11719. ,%H.%
  11720. spupp
  11721. highlight
  11722. shadow
  11723. sized
  11724. decrement
  11725. increment
  11726. decrement
  11727. month
  11728. increment
  11729. out of range 1 to 12
  11730. month
  11731. month
  11732. decrement
  11733. increment
  11734. out of range 00 to 99
  11735. ,!JdY
  11736. 31,28,31,30,31,30,31,31,30,31,30,31
  11737. month
  11738. daysInMonth
  11739. decrement
  11740. increment
  11741. decrement
  11742. month
  11743. increment
  11744. out of range 1 to 12
  11745. month
  11746. month
  11747. decrement
  11748. increment
  11749. out of range 00 to 99
  11750. ,!JdY
  11751. 31,28,31,30,31,30,31,31,30,31,30,31
  11752. month
  11753. daysInMonth
  11754. quickSort
  11755. endProfile
  11756. +]quickSortTextlines
  11757. R1startProfile
  11758. sortSelf
  11759. quickSortTextlines
  11760. hotword
  11761. seconds
  11762. Minute
  11763. buttonUp
  11764. decrement
  11765. minute
  11766. increment
  11767. is outside range 0 to 59
  11768. minute
  11769. minute
  11770. minute
  11771. minute
  11772. decrement
  11773. increment
  11774. out of range 1 to 12
  11775. decrement
  11776. out of range 00 to 59
  11777. ;seconds
  11778. increment
  11779. seconds
  11780. seconds
  11781. seconds
  11782. seconds
  11783. hh : min : sec AMPM
  11784. seconds
  11785. minute
  11786. newHotwordID
  11787. initialize
  11788. hotword
  11789. newHotwordID
  11790. +    ,    /
  11791. +    ,    /
  11792. +    ,    /
  11793. +    ,    /
  11794. +    ,    /
  11795. .&+    +
  11796. index
  11797. numberItems
  11798. binarySearch
  11799. itemArray
  11800. keyChar
  11801. +    ,    /
  11802. +    ,    /
  11803. +    ,    /
  11804. +    ,    /
  11805. FALSE
  11806. upper
  11807. found
  11808. itemArray
  11809. binarySearch
  11810. ,%H.%
  11811. 1,!JRY
  11812. ,%H.%
  11813. slider
  11814. buttonDown
  11815. buttonDown
  11816. pinNumber
  11817. track
  11818. buttonStillDown
  11819. ,%H.%
  11820. 1,!JRY
  11821. ,%H.%
  11822. slider2
  11823. pinNumber
  11824. sliderMove
  11825. startSliderMove
  11826. sliderMax
  11827. sliderMin
  11828. nearestPUPP
  11829. HendSliderMove
  11830. sliderMax
  11831. sliderBounds
  11832. sliderMin
  11833. mysliderPos
  11834. nearestPupp
  11835. leftMButton
  11836. mySliderPos
  11837. sliderPos
  11838. `primaryMouseButton
  11839. newMouseX
  11840. oldMouseX
  11841. buttonDown
  11842. dropdown list
  11843. options
  11844. allcontrols
  11845. mainEdit
  11846. boolean
  11847. Field
  11848. custom
  11849. editType
  11850. Dropdown List
  11851. datatype
  11852. Accept any data
  11853. Read only
  11854. mainDelete
  11855. logical
  11856. field
  11857. Custom
  11858. updateDB
  11859. accept any data
  11860. field
  11861. custom
  11862. editType
  11863. dropdown list
  11864. dtype
  11865. retval
  11866. read only
  11867. updateFromDB
  11868. G[updateDB
  11869. buttonClick
  11870. G[updateDB
  11871. keyLast
  11872. keyUp
  11873. .&+    +
  11874. false
  11875. listItems
  11876. eupdateButtons
  11877. logical
  11878. @origVal
  11879. boolean
  11880. listitems
  11881. logical
  11882. main,topics
  11883. enterPage
  11884. .&+    +E
  11885. .&+    +E
  11886. FALSE
  11887. ainitPage
  11888. buttonClick
  11889. table Of Contents
  11890. keyDown
  11891. topics
  11892. table Of Contents
  11893. keyUp
  11894. enterPage
  11895. .&+    +E
  11896. .&+    +E
  11897. ainitPage
  11898. buttonClick
  11899. topics
  11900. table Of Contents
  11901. keyDown
  11902. topics
  11903. table Of Contents
  11904. keyUp
  11905. page id
  11906. tempPageList
  11907. x5chapter
  11908. widgetIDs
  11909. Topics
  11910. main,topics
  11911. enterPage
  11912. .&+    +E
  11913. .&+    +E
  11914. FALSE
  11915. ainitPage
  11916. buttonClick
  11917. table Of Contents
  11918. keyDown
  11919. topics
  11920. table Of Contents
  11921. keyUp
  11922. .&+    +E
  11923. .&+    +E
  11924. .&+    +E
  11925. g)updateTopics
  11926. contentBar
  11927. tPage
  11928. ainitPage
  11929. stringResource
  11930. XdoRepage
  11931. ainitpage
  11932. LastWidget
  11933. widgetNotTopic
  11934. ChooseWidget
  11935. buttonClick
  11936. tabPressed
  11937. tabname
  11938. J,tabMode
  11939. obtype
  11940. tabNum
  11941. buttonClick
  11942. etabLimit
  11943. Cannot set tab
  11944. tabPressed
  11945. myTabMode
  11946. tabMode
  11947. tabLimit
  11948. myTabMode
  11949. tabMode
  11950. myTabHeight
  11951. tabHeight
  11952. myTabHeight
  11953. tabHeight
  11954. arrangeTabs
  11955. myTabSpace
  11956. tabSpace
  11957. myTabSpace
  11958. tabSpace
  11959. w,    #?
  11960. manual
  11961. false
  11962. myNumTabs
  11963. etabLimit
  11964. Can only have
  11965. Must have at least 1 tab
  11966. arrangeTabs
  11967. numTabs
  11968. myNumtabs
  11969. numTabs
  11970. manual
  11971. tabRef
  11972. tabLabel
  11973. tabHighlight
  11974. tabHeight
  11975. arrangeTabs
  11976. myNumTabs
  11977. obtype
  11978. highlight
  11979. myTabHeight
  11980. sized
  11981. w,    #>
  11982. myTabMode
  11983. tname
  11984. myNumTabs
  11985. myTabSpace
  11986. anchor
  11987. arrangeTabs
  11988. ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
  11989. templet
  11990. seperator
  11991.  ,.-/
  11992. alpha
  11993. numeric
  11994. characterTyped
  11995. string
  11996. 0123456789
  11997. Etemplet
  11998. keyChar
  11999. Etemplet
  12000. enterField
  12001. vgetCurrentDirectory
  12002. getCurrentDrive
  12003. selectFile
  12004. setCurrentDirectory
  12005. checkLinks
  12006. drive
  12007. jupdateFileInfo
  12008. zeupdateDirectoryInfo
  12009. uncheckLinks
  12010. buttonDoubleClick
  12011. checkLinks
  12012. getDirectoryOnlyList
  12013. uncheckLinks
  12014. updateDirectoryInfo
  12015. tb30dos.dll
  12016. getCurrentDirectory
  12017. getCurrentDrive
  12018. setCurrentDirectory
  12019. getDirectoryOnlyList
  12020. checkLinks
  12021. tb30dos.dll
  12022. uncheckLinks
  12023. selectFile
  12024. updateFileInfo
  12025. selectFile
  12026. setCurrentDirectory
  12027. checkLinks
  12028. drive
  12029. jupdateFileInfo
  12030. zeupdateDirectoryInfo
  12031. uncheckLinks
  12032. setCurrentDrive
  12033. selectChange
  12034. )getDriveList
  12035. checkLinks
  12036. uncheckLinks
  12037. enterDropdown
  12038. checkLinks
  12039. uncheckLinks
  12040. updateFileInfo
  12041. tb30dos.dll
  12042. getCurrentDrive
  12043. setCurrentDirectory
  12044. setCurrentDrive
  12045. getDriveList
  12046. checkLinks
  12047. tb30dos.dll
  12048. uncheckLinks
  12049. selectFile
  12050. updateDirectoryInfo
  12051. w,    #>
  12052. vgetCurrentDirectory
  12053. getCurrentDrive
  12054. FALSE
  12055. selectFile
  12056. checkLinks
  12057. drive
  12058. uncheckLinks
  12059. buttonClick
  12060. selectFile
  12061. buttonDoubleClick
  12062. jupdateFileInfo
  12063. enterPage
  12064. jupdateFileInfo
  12065. activateInstance
  12066. fileList
  12067. getFileOnlyList
  12068. checkLinks
  12069. uncheckLinks
  12070. updateFileInfo
  12071. tb30dos.dll
  12072. getFileOnlyList
  12073. getCurrentDrive
  12074. getCurrentDirectory
  12075. checkLinks
  12076. tb30do.dll
  12077. uncheckLinks
  12078. selectFile
  12079. updateDirectoryInfo
  12080. SetTimer
  12081. widTimerStart
  12082. KillTimer
  12083. widTimerEnd
  12084. period
  12085. hfwidTimerStart
  12086. clockTick
  12087. :timerID
  12088. enterPage
  12089. widTimerEnd
  12090. :timerID
  12091. leavePage
  12092. format
  12093. clockTick
  12094. :timerID
  12095. clockTick
  12096. :timerID
  12097. clockTick
  12098. prop_format
  12099. format
  12100. prop_format
  12101. format
  12102. 1,    #?
  12103. 1,    #?
  12104. dots per inch.
  12105. printerRes
  12106. This printer has a resolution of
  12107. buttonClick
  12108. prnYRes
  12109. device
  12110. deviceFile
  12111. LOGPIXELSX
  12112. tb30win.dll
  12113. prnXRes
  12114. windows
  12115. deviceName
  12116. kScreateIC
  12117. driverInfo
  12118. devicePort
  12119. createIC
  12120. getDeviceCaps
  12121. deleteDC
  12122. 4getDeviceCaps
  12123. LOGPIXELSY
  12124. GetWinIniVar
  12125. NdeleteDC
  12126. *getWinIniVar
  12127. There is no printer attached.
  12128. printerRes
  12129. !MaxSelection
  12130. maxNumber
  12131. buttonClick
  12132. ,%H.%
  12133. maxNum
  12134. Don't know the maximum number of selections to allow. Please enter a positive integer.
  12135. MaxSelection
  12136. maxNumber
  12137. Please set this value to a positive integer.
  12138. maxNum
  12139. maxNumber
  12140. maxNum
  12141. DXSelect
  12142. buttonClick
  12143. ,%H.%
  12144. Which line should we exclude?
  12145. zmyNumber
  12146. XSelect
  12147. Please use a positive integer.
  12148. myNumber
  12149. .isChild
  12150. ,toggleInvert
  12151. button
  12152. [ebuttonPressed
  12153. buttonUp
  12154. \ebuttonPressed
  12155. ,toggleInvert
  12156. buttonDown
  12157. .isChild
  12158. ,toggleInvert
  12159. buttonStillDown
  12160. invertedButton
  12161. invertedButton
  12162. toggleInvert
  12163. FALSE
  12164. group
  12165. isChild
  12166. ,%H.%
  12167. invertedButton
  12168. LockWindowUpdate
  12169. ushowWithTrans
  12170. dissolve fast
  12171. wipe fast left
  12172. nThideWithTrans
  12173. buttonClick
  12174. LockWindowUpdate
  12175. lockWindowUpdate
  12176. showWithTrans
  12177. LockWindowUpdate
  12178. lockWindowUpdate
  12179. hideWithTrans
  12180. LockWindowUpdate
  12181. ushowWithTrans
  12182. dissolve fast
  12183. nThideWithTrans
  12184. buttonClick
  12185. LockWindowUpdate
  12186. lockWindowUpdate
  12187. showWithTrans
  12188. LockWindowUpdate
  12189. lockWindowUpdate
  12190. hideWithTrans
  12191. Cancel
  12192. cancel
  12193. No, don't exit Windows
  12194. This will close all your applications and exit Windows. Are you sure you want to do this?
  12195. ExitWindows
  12196. Restart
  12197. No, don't
  12198. Yes, exit Windows
  12199. 9rexitBook
  12200. Do you want to exit Windows, or exit and restart Windows after exiting?
  12201. buttonClick
  12202. ExitWindows
  12203. To make this button functional, edit the script and remove the line "break" three lines from the end of the script.
  12204. exitBook
  12205. tb30dlg.dll
  12206. dialog
  12207. setValue
  12208. getValue
  12209. endTBKDialog
  12210.  customDialog
  12211. buttonClick
  12212. Button Init and Cleanup
  12213. showAdvanced
  12214. kgetValue
  12215. Button Advanced Widgetry
  12216. showBasicWidgets
  12217. Basic Widgets
  12218. MWidgetHelpBOX
  12219. Initialization and Cleanup
  12220. retValue
  12221. yWidgetHelpInit
  12222. Button Basic Widgets
  12223. Notify Messages
  12224. s_whichDB
  12225. 0showInitandCleanup
  12226. ~MshowNotifyMessages
  12227. Advanced Widgetry
  12228. Button Notify Messages
  12229. dialog
  12230. customDialog
  12231. kgetValue
  12232. BasicWidgetInit
  12233. pCheck
  12234. Button Back
  12235. retValue
  12236. s_whichDB
  12237. There is no page named
  12238. Button More
  12239.  customDialog
  12240. zlBasicWidgetBOX
  12241. dialog
  12242. showBasicWidgets
  12243. kgetValue
  12244. pCheck
  12245. Button Back
  12246. retValue
  12247. NotifyMessagesBOX
  12248. s_whichDB
  12249. There is no page named
  12250. BNotifyMessagesInit
  12251. Button More
  12252.  customDialog
  12253. dialog
  12254. showNotifyMessages
  12255. kgetValue
  12256. pCheck
  12257. Button Back
  12258. retValue
  12259. InitandCleanupBOX
  12260. s_whichDB
  12261. There is no page named
  12262. Button More
  12263. 2%InitandCleanupInit
  12264.  customDialog
  12265. dialog
  12266. showInitandCleanup
  12267. kgetValue
  12268. pCheck
  12269. Button Back
  12270. retValue
  12271. AdvancedInit
  12272. s_whichDB
  12273. There is no page named
  12274. Button More
  12275.  customDialog
  12276. dialog
  12277. AdvancedBOX
  12278. showAdvanced
  12279. A7oldBook
  12280. basWid
  12281. notify
  12282. Use copy, not cut, on this widget.
  12283. Cancel
  12284. B7oldBook
  12285. You must save this book before copying this widget.
  12286. enterPage
  12287. SetTimer
  12288. widTimerStart
  12289. KillTimer
  12290. widTimerEnd
  12291. period
  12292. hfwidTimerStart
  12293. clockTick
  12294. :timerID
  12295. widTimerEnd
  12296. :timerID
  12297. leavePage
  12298. format
  12299. clockTick
  12300. :timerID
  12301. clockTick
  12302. :timerID
  12303. clockTick
  12304. prop_format
  12305. format
  12306. prop_format
  12307. format
  12308. .&,    "
  12309. toggle
  12310. minus
  12311. Toggle
  12312. Toggle
  12313. buttonClick
  12314. Cancel
  12315. B7oldBook
  12316. You must save this book before copying this widget.
  12317. A7oldBook
  12318. B7oldBook
  12319. minus
  12320. Use copy, not cut, on this widget.
  12321. g)upDatetopics
  12322. FALSE
  12323. Cvisited
  12324. Cvisited
  12325. book outline
  12326. false
  12327. page id
  12328. Zselected
  12329. widgetIDs
  12330. checkRef
  12331. FALSE
  12332. fieldRef
  12333. Cvisited
  12334. Cvisited
  12335. curPageID
  12336. page id
  12337. curtopic
  12338. updateChecks
  12339. false
  12340. Zselected
  12341. ainitPage
  12342. buttonDown
  12343. [darkBlue
  12344. selected
  12345. highlight
  12346. highlightColor
  12347. shadow
  12348. shadowColor
  12349. faceColor
  12350. highlight
  12351. highlightColor
  12352. shadow
  12353. shadowColor
  12354. faceColor
  12355. ,%H.%
  12356. ,%H.%
  12357. spupp
  12358. highlight
  12359. shadow
  12360. sized
  12361. w,    "V
  12362. .&+    +E
  12363. .&+    +E
  12364. .&,    #>
  12365. .&+    +E
  12366. cancel
  12367. nameOfTopic
  12368. g)updateTopics
  12369. ltopicIDs
  12370. ltopicIDs
  12371. topics
  12372. Topics
  12373. ????????
  12374. ainitPage
  12375. TooManyTopics
  12376. stringResource
  12377. topics
  12378. XdoRepage
  12379. chapterLabel
  12380. mustCreateTopicName
  12381. buttonClick
  12382. .&+    +E
  12383. .&+    +E
  12384. Cancel
  12385. Widget
  12386. Save a New Blank Widgets Book
  12387. clearBookWarning
  12388. p1OfBgT
  12389. g)updateTopics
  12390. Description
  12391. saveAsDlg
  12392. tb30dlg.dll
  12393. blankwid.tbk
  12394. ltopicIDs
  12395. topics
  12396. y5chapter
  12397. Topics
  12398. myPageList
  12399. newBook
  12400. ainitPage
  12401. FALSE
  12402. WidgetHelp
  12403. YesSure
  12404. stringResource
  12405. Topic
  12406. p1OfBgM
  12407. NoDont
  12408. resetChecks
  12409. widgetIDs
  12410. ToolBook files (*.tbk),*.tbk
  12411. :widHelp
  12412. chapterID
  12413. Details
  12414. saveAsDlg
  12415. Select Topic
  12416. buttonClick
  12417. highlight
  12418. highlightColor
  12419. shadow
  12420. shadowColor
  12421. faceColor
  12422. highlight
  12423. highlightColor
  12424. shadow
  12425. shadowColor
  12426. faceColor
  12427. ,%H.%
  12428. ,%H.%
  12429. spupp
  12430. highlight
  12431. shadow
  12432. sized
  12433. copenMIDI
  12434. s_device
  12435. <)channel
  12436. hplayMIDI
  12437. device
  12438. tstopMIDI
  12439. s_channel
  12440. s_currentKey
  12441. rPsustain
  12442. gliss
  12443. buttonDown
  12444. tstopMIDI
  12445. s_channel
  12446. s_currentKey
  12447. rPsustain
  12448. buttonUp
  12449. packDword
  12450. volume
  12451. Unable to play MIDI device
  12452. ECprogram
  12453. s_hMidiOut
  12454. s_channel
  12455. s_currentKey
  12456. MidiOutShortMsg
  12457. playMIDI
  12458. packDword
  12459. volume
  12460. Unable to stop MIDI device
  12461. s_hMidiOut
  12462. s_channel
  12463. MidiOutShortMsg
  12464. stopMIDI
  12465. freeWinPointer
  12466. s_device
  12467. MidiOutOpen
  12468. mmsystem.dll
  12469. KERNEL
  12470. closeMIDI
  12471. s_hMidiOut
  12472. device
  12473. $bgetWinPointer
  12474. Unable to open MIDI device
  12475. MidiOutGetNumDevs
  12476. No MIDI devices found
  12477. GlobalAlloc
  12478. GlobalLock
  12479. GlobalHandle
  12480. GlobalUnlock
  12481. GlobalFree
  12482. midiOutOpen
  12483. MidiOutShortMsg
  12484. MidiOutReset
  12485. MidiOutClose
  12486. MidiOutGetNumDevs
  12487. openMIDI
  12488. s_device
  12489. B%MidiOutClose
  12490. s_hMidiOut
  12491. u0MidiOutReset
  12492. closeMIDI
  12493. GlobalAlloc
  12494. GlobalLock
  12495. getWinPointer
  12496. GlobalUnlock
  12497. GlobalFree
  12498. GlobalHandle
  12499. freeWinPointer
  12500. packDWord
  12501. copenMIDI
  12502. enterPage
  12503. copenMIDI
  12504. reader
  12505. closeMIDI
  12506. leavePage
  12507. closeMIDI
  12508. author
  12509. reader
  12510. editWidget
  12511. customEdit
  12512. .&+    +E
  12513. ,%H.%
  12514. ,%H.%
  12515. ,%H.%
  12516. .&+    +E
  12517. dlgBox
  12518. comboBox device
  12519. volume
  12520. MidiOutGetNumDevs
  12521. FALSE
  12522. <)channel
  12523. tb30dlg.dll
  12524. Dialog
  12525. SetValue
  12526. GetValue
  12527. vSetValue
  12528. button sustain
  12529. 8dlgInit
  12530. sPsustain
  12531. button ok
  12532. ECprogram
  12533. =)channel
  12534. device
  12535. gliss
  12536. FCprogram
  12537. MidiOutGetNumDevs
  12538. comboBox program
  12539. rPsustain
  12540. device
  12541. mmSystem.dll
  12542. comboBox volume
  12543. kgetValue
  12544. volume
  12545. button gliss
  12546. gliss
  12547. Dialog
  12548. comboBox channel
  12549. editWidget
  12550. .&+    +E
  12551. linVertices
  12552. vValLine
  12553. oldCursor
  12554. linObj
  12555. defValues
  12556. defValues
  12557. PlotValues
  12558. defValues
  12559. plotValues
  12560. ,!Jd"
  12561. .&,    "
  12562. .&,    "
  12563. ,%H.%
  12564. Y=myPlotWeight
  12565. risNumber
  12566. PlotWeight
  12567. X=myPlotWeight
  12568. plotWeight
  12569. ,%H.%
  12570. risNumber
  12571. eEmyPlotColors
  12572. PlotColors
  12573. dEmyPlotColors
  12574. PlotColors
  12575. isNumber
  12576. false
  12577. showframe
  12578. author
  12579. showFrame
  12580. enterPage
  12581. showFrame
  12582. author
  12583. false
  12584. showFrame
  12585. reader
  12586. I    ","
  12587. minus
  12588. baswid
  12589. Notify
  12590. wwwww
  12591. wwwwp
  12592. wwwww
  12593. wwwwwp
  12594. wwwwww
  12595. Key Up
  12596. Key Down
  12597. Enter Key lo Right Up
  12598. Enter Key lo Right Down
  12599. Enter key lo Left Up
  12600. Enter key Lo Left Down
  12601. Enter Key hi Left Up
  12602. Enter key hi Left Down
  12603. Enter Key hi Right Up
  12604. Enter key hi Right Up
  12605. Key Up Left
  12606. Key Down Left
  12607. Key Up Right
  12608. Key Down Right
  12609. Key Up Center
  12610. Key Down Center
  12611. Key Up
  12612. Key Down
  12613. Enter Key lo Right Up
  12614. Enter Key lo Right Down
  12615. Enter key lo Left Up
  12616. Enter key Lo Left Down
  12617. Enter Key hi Left Up
  12618. Enter key hi Left Down
  12619. Enter Key hi Right Up
  12620. Enter key hi Right Up
  12621. Key Up Left
  12622. Key Down Left
  12623. Key Up Right
  12624. Key Down Right
  12625. Key Up Center
  12626. Key Down Center
  12627. Exclaim
  12628. Exclaim
  12629. wwwwwp
  12630. wwwwwp
  12631. wwwwwwp
  12632. wwwwwwwp
  12633. wwwwwwwp
  12634. wwwwwwwp
  12635. wwwwwwwp
  12636. wwwwwwwp
  12637. wwwwwwww
  12638. wwwwwwww
  12639. wwwwwwww
  12640. wwwwwwwwp
  12641. wwwwwwwp
  12642. wwwwwwwp
  12643. wwwwwwwp
  12644. wwwwwwww
  12645. wwwwwwww
  12646. wwwwp
  12647. wwwwwwww
  12648. wwwwwwww
  12649. wwwwwwwwp
  12650. wwwwwwwp
  12651. wwwwwwwp
  12652. wpwwp
  12653. wwpwp
  12654. wwwwwwwp
  12655. wwwwwwwp
  12656. wwwwwwww
  12657. wwwwwwww
  12658. wwwwwwww
  12659. wwwwwwww
  12660. wwwwwwww
  12661. wwwwwwww
  12662. wwwwwwww
  12663. wwwwwwwwp
  12664. wwwwwwwp
  12665. wwwwwwwp
  12666. wwwwwwwp
  12667. wpwwpwwp
  12668. wpwwpwwp
  12669. wpwwpwwp
  12670. wpwwpwwp
  12671. wwpwwp
  12672. wwwwwwwp
  12673. wwwwwwwp
  12674. wwwwwwwp
  12675. wwwwwwwp
  12676. wwwwpp
  12677. hwGhM
  12678. PhwGh
  12679. hwGhM
  12680. hwGhM
  12681. hwGhM
  12682. hwGhM
  12683. hwGhM
  12684. hwGhM
  12685. hwGh0
  12686. hwGhM
  12687. hwGh}
  12688. myPageList
  12689. 36,37
  12690. widgetIDs
  12691. 36,37
  12692. True and false
  12693. CBT widgets
  12694. chapter
  12695. FALSE
  12696. visited
  12697. chapterID
  12698. Group id 9 of Pa
  12699. 8**W,,PG`$
  12700. 00K00
  12701. =<{gNOB
  12702. +@*%,9PZ`#
  12703. ;v<rgNO
  12704. &@**,9
  12705. PZ$$#
  12706. gNOOB
  12707. *W9PZ$$#
  12708. \1;br
  12709. &&8%%PPH$
  12710. ;;=;;==
  12711. 1;4m{d
  12712. +&**,9GZ$$
  12713. b<mm<;11;
  12714. \1=Y{gNu
  12715. 8%%,9PZ
  12716. C;=11;;CC4
  12717. K<<m<
  12718. 4C=0=
  12719. rggNOO
  12720. &**%,
  12721. PZ`$##
  12722. 11;;0CK<m
  12723. rrmb44
  12724. 0;0;;
  12725. 1;vmrdNN
  12726. &&**%W9ZH
  12727. <m<<bCCb4b
  12728. <YYbYK0K1    
  12729. 0K00=0C0
  12730. \;YmddgOBB
  12731. &*&JL&%,,
  12732. bb4b44CC0C
  12733. =C==0
  12734. v<rdgNN
  12735. +&&*9,
  12736. ,PGH`$##
  12737. 4b4=C==
  12738. 4v;;0
  12739. \;4rddNO
  12740. &%W99GG
  12741. ZH$$##
  12742. =0Kb4
  12743. rdNNOBB
  12744. &*%,9GZZH
  12745. vCCKCvC4bm
  12746. \1;;vmr
  12747. dgNNOB
  12748. &&%%,9GZZ
  12749. 4CKK04<<
  12750. 0v<{d
  12751. &@%%,
  12752. 0KK00C0==C
  12753. 40;v0;
  12754. Y<{ddgNN
  12755. &*%%,,9
  12756. G9GZHH
  12757. 00CCKK
  12758. 04YK0
  12759. &*@%%,
  12760. Y<<Ybb
  12761. %,,9G9
  12762. bb<YY<4Y
  12763. Y<44Y<4Y
  12764. 0Ym{gN
  12765. GZZHHZHH
  12766. 1;=0=C
  12767. b<b4Y
  12768. 4<YKK
  12769. {ggOuBB
  12770. &*%%,%
  12771. C=4=44
  12772. YY<YbYYv0
  12773. &**%%
  12774. 9GGHZHH$$#
  12775. =C4CbC4vvY
  12776. <<b<Y4K00;
  12777. r{gNO
  12778. +&&**%,%
  12779. ,,99G9G9
  12780. HZHZHH
  12781. 11;1;=
  12782. 0;==0C00
  12783. 10Yrd
  12784. **%%W,
  12785. $$H$#
  12786. uNNuB
  12787. HHGHHZ
  12788. 0v<r{ddgN
  12789. WW99P
  12790. $H$HZH
  12791. &&*@8*%WW
  12792. ,PPZZ`H
  12793. ##$$#
  12794. ##$$##$##
  12795. r{ddNuB
  12796. **%W,tPP`Z
  12797. ##$$##
  12798. ;;0=1\11=
  12799. =<rr{dgNOO
  12800. L&8%WWt,P
  12801. rr{{dgNOuB
  12802. &&8*8%
  12803. ==4<mm
  12804. ddNgNNBB
  12805. *@*@*%*W,9
  12806. t`H`$$
  12807. %W%t,t9PPZ
  12808. LL@*@*%
  12809. %,,t9PPZ``
  12810. Z`$`$$#
  12811. ADAA'
  12812. !'!!''
  12813. EEII'
  12814. EI33IA3E
  12815. EIAEE
  12816. AI3AIA
  12817. EAEIEE3
  12818. 3IIEI
  12819. A!'3A
  12820. IEI3A
  12821. 'AEIE3
  12822. 3IIAA
  12823. A!Q!'
  12824. 33IEED
  12825.  jj 66
  12826. j  j"|wl
  12827. 3A3EDDE
  12828. AA'!Q!!'
  12829. '!''!
  12830. /SM_"6
  12831. s5"5"
  12832. -/||SS]]
  12833.   6 "
  12834. /22/2//
  12835. axMaMM
  12836. 2--22/2
  12837. 66  6
  12838. cll[l
  12839. ??Unzy
  12840. wFF--2
  12841. j 6"M
  12842.         :c[
  12843. -(--2--//S
  12844. ,GZZ`
  12845. 2//SSaM
  12846.  j "M
  12847. NJ9G9,,
  12848. @HHG%
  12849. 9PZ``
  12850. 99%88o
  12851. (2-22//Sxa
  12852. ,GGk&+t8
  12853. 2//Sxa^
  12854. 6  6_M
  12855. %@*tW
  12856. ((-2-2SS
  12857. --//SSaa^
  12858. 77J77
  12859. 8+NBO
  12860. &W*)L@*,%8
  12861.     :cc[
  12862. qq(2(2-/2/
  12863. Ok8W&JJLL
  12864. &@8+u
  12865. 2-//Sxa^^p
  12866. 6"M]|
  12867.         :c[
  12868. 2-22/SSa^^
  12869. W*W%8u{
  12870. @LJ7kJ&
  12871. 22--//Sx^^
  12872. &%W88++u
  12873. &JJ77J
  12874. J&Wyu
  12875. 2(-2/SSxa^
  12876. +&tUty
  12877. BJJ@*%%W
  12878. J77kkJL8++
  12879. Fqq((2-2-
  12880. -/SSx
  12881. +$`P8
  12882. >>\4N
  12883. LJ)J7
  12884.         :c[
  12885. 2((--/SSxa
  12886. U&*&&*%
  12887. &&`Pt+
  12888. &8*@@
  12889. )L*8o
  12890. F--2(2-2-/
  12891. /Sxaa^^
  12892. p_MM]|
  12893. &*8&8
  12894. PPW&+
  12895. ++88Wo
  12896. 4d*&J
  12897. JJ8y~
  12898.     :    ::l[
  12899. wX--(2((
  12900. 22//S
  12901. 9,%%9,,
  12902.     ::l[
  12903. -2--2
  12904. Sxxa^^
  12905. _MM]|
  12906. @&8&8P
  12907. L%,99%%
  12908. 1vd+*
  12909. c::c[[
  12910. p"__M]
  12911. 1mN*&
  12912. L*%ZG%
  12913. wXF((
  12914. 2(22(
  12915. //S]xa^^
  12916. ""MM]|
  12917. )77))
  12918. Xq((2
  12919. xaM_^
  12920. J9,%9,%
  12921. S]]a_
  12922. ,Ht+&
  12923. +8+&++tzo
  12924. +8tzy
  12925. @99%L
  12926. "M--FX
  12927. 8ozTR
  12928. \{O88
  12929. f "]/-F
  12930. 22/SS//]/S
  12931. //||-
  12932. %HPW&&J
  12933. ++88o
  12934. >1mO+*&
  12935. 2//2/
  12936. )L,9%
  12937. ]2-XXFF
  12938. -2/2/22
  12939. N*88JJ
  12940. 4N+*8
  12941. _a]--(FX
  12942. XXF-q((-(-
  12943. A~oo8oo
  12944. =N8W*
  12945. _]|2-qFXi
  12946. F-FFqqi
  12947. &J@%,
  12948. o\>>=
  12949. d+*W8*
  12950. @@UeQf
  12951. \>>=g+*P
  12952. *U.eef
  12953. pp_^a
  12954. n..eeQff
  12955. c::ccl
  12956. QQf!f
  12957. ;d+*%
  12958. kL%%@
  12959.   jVj5
  12960. 2|2(F
  12961. 1<O8*+
  12962. )L**@)
  12963. ]||-w
  12964. )Ln.T
  12965. QeQfQ
  12966. Fw[c:
  12967. !.QQ!Q
  12968. ;d+*8+
  12969. ??..Q.QQ!!
  12970. 3'ffD
  12971. =g+88
  12972. ))7tn..
  12973. O88*&
  12974. Q.Qe.QQ
  12975. 1mg+o
  12976. E}}f}
  12977. 44<<m
  12978. {ddgNNONN
  12979. 4v4==4
  12980. ,G3596,Keyboard Settings
  12981. ,G3599,MIDI Settings
  12982. ,S3604,Program:
  12983. ,S3605,Volume:
  12984. ,S3606,Channel:
  12985. ,S3607,Device:
  12986. BUTTON gliss,B3602,TRUE
  12987. BUTTON sustain,B3603,FALSE
  12988. COMBOBOX program,C3608,&0
  12989. COMBOBOX volume,C3609,0
  12990. COMBOBOX channel,C3610,&0
  12991. COMBOBOX device,C3611,&0
  12992. BUTTON ok,B1,TRUE
  12993. BUTTON cancel,B2,FALSE
  12994. ,G3596,Keyboard Settings
  12995. ,G3599,MIDI Settings
  12996. ,S3604,Program:
  12997. ,S3605,Volume:
  12998. ,S3606,Channel:
  12999. ,S3607,Device:
  13000. BUTTON gliss,B3602,TRUE
  13001. BUTTON sustain,B3603,FALSE
  13002. COMBOBOX program,C3608,&0
  13003. COMBOBOX volume,C3609,0
  13004. COMBOBOX channel,C3610,&0
  13005. COMBOBOX device,C3611,&0
  13006. BUTTON ok,B1,TRUE
  13007. BUTTON cancel,B2,FALSE
  13008. Navigation widgets
  13009.     Auto page
  13010.     Auto buttons
  13011.     Tab widget
  13012.     Content buttons
  13013. Data widgets
  13014.     Validate on leaveField, numbers
  13015.     Validate on leaveField, text
  13016.     Validate on keystroke, numbers
  13017.     Validate on keystroke, text
  13018.     Useful patterns
  13019.     Spinners
  13020.     Add and remove
  13021.     Directories and files
  13022.     Time and date
  13023.     International time and date
  13024.     Calendar
  13025.     Printer Resolution
  13026.     Win version & DOS version
  13027.     Windows or WFW
  13028. Field widgets
  13029.     Insert/overstrike
  13030.     Outline
  13031.     Outline rearranger
  13032.     Max select field
  13033.     Ex Select field
  13034.     Self sorting field
  13035.     Searching field
  13036.     Auto-scrollbar field
  13037.     Bold, italic, and underline
  13038.     Drag a textline
  13039.     Drag and drop text
  13040.     Multiple OLE drag & drop
  13041.     Show off
  13042. Graph widgets
  13043.     Simple Bar Chart
  13044.     Simple Line Chart
  13045.     Pie Chart
  13046.     Exploded pie chart
  13047. Slider widgets
  13048.     Sliders
  13049.     Ratchet
  13050.     Scale Slider
  13051. CBT widgets
  13052.     True and false
  13053.     Multiple choice
  13054. Keyboards
  13055.     Alpha keyboard
  13056.     Qwerty keyboard
  13057.     Calculator
  13058.     MIDI keyboard
  13059. Miscellaneous
  13060.     Object effect
  13061.     Slow-motion
  13062.     Exit Windows
  13063.     Can't touch this
  13064. Widget help
  13065.     Intro to widgets
  13066.     Basic widgets
  13067.     Notify messages
  13068.     Initialization and cleanup
  13069.     Advanced widgetry
  13070.