home *** CD-ROM | disk | FTP | other *** search
/ Creative Computers / CreativeComputers.iso / commercial / inovatronics / candodemo / testdrivemanual / testdrive1.doc < prev    next >
Text File  |  1994-11-17  |  26KB  |  606 lines

  1. **** CANDO TEST DRIVE #1
  2.  
  3.     When you first start CanDo, your Card's default window is
  4. low-resolution, 320 by 200, with 16 Colors.  However, you can tell
  5. CanDo to open a Window of any dimension and display mode supported by
  6. the Amiga Operating System or you can simply tell it to use a standard
  7. Picture as a background.  When a picture window is used, CanDo will
  8. automatically load and display the picture in your Card's Window and
  9. set the color palette.  You will use a picture window for this
  10. example.  Click the Window Icon on the main Panel.
  11.  
  12.     See Picture "Images/WindowIcon"
  13.  
  14.     This will display the Window Editor.  Change the Window Title from
  15. "Unnamed..." to "Test Drive 1"
  16.  
  17.     See Picture "Images/WindowTitle"
  18.  
  19. Click on the Dimension Button.
  20.  
  21.     See Picture "Images/Dimension"
  22.  
  23.     This will display the Dimension Requester.  This Requester allows
  24. you to specify the Dimensions and the number of colors for your window
  25. or you can specify a Picture.  The Dimension and number of colors will
  26. be determined by the picture.
  27.  
  28.     The button entitled "Unnamed" below "Picture" indicates there is
  29. not yet a Picture specified for the window.  Click on the "Unnamed"
  30. Button.
  31.  
  32.     See Picture "Images/UnnamedPicture"
  33.  
  34.     This will bring up CanDo's File Requester.  The Title at the top
  35. will say "Image Requester".  The File field displays the selected File
  36. Name.  Select Backdrop1.PIC by clicking on it in the list of files.
  37. Click on the Show Picture Button.  This allows you to preview the
  38. picture.
  39.  
  40.     This picture is a simple brown rectangle with a black drop shadow.
  41. This type of picture can be used for creating many kinds of attractive
  42. applications.  When you are ready to proceed, click anywhere on the
  43. picture.
  44.  
  45.     This will return you to the File Requester.  When you Click Ok you
  46. will return to the Dimension Requester.  Notice the button, which said
  47. "Unnamed", is now highlighted with the text "Backdrop1.Pic".  This
  48. verifies you now have a Picture window.  Click Ok and return to the
  49. Window Editor.  You will explore the other aspects of the Window
  50. Editor later.  Click Ok.  This will return you to the Main Panel and
  51. display your new window.  Click on the Screen Up/Down Button so you
  52. can see more of your window.
  53.  
  54.     See Picture "Images/UpDownIcon"
  55.  
  56.     The picture you previewed should now be shown along with window
  57. borders, a Close Button, and a window title of "Test Drive 1".  This
  58. is the canvas to which you will be adding various "Objects" while
  59. learning about CanDo.
  60.  
  61.     The first thing you will do is add a button to your window.  On
  62. the Main Panel, click on the Screen Up/Down Button to raise the Main
  63. Panel, click on Add Icon and then click on the Button Icon.
  64.     
  65.     See Picture "Images/AddIcon"
  66.     See Picture "Images/ButtonIcon"
  67.  
  68.     A requester appears with a brief description, which will serve as
  69. a reminder of what you need to do to add a button.  The process for
  70. defining the button area is to position a cross-hair pointer to where
  71. you want the upper left corner; press and hold the left mouse button;
  72. drag the pointer to the right and down; when the rectangle is the size
  73. and shape you wish, release the mouse button.
  74.  
  75.     Click Ok on the reminder requester.  CanDo's Main Panel will
  76. completely disappear.  Your mouse pointer is now a cross-hair.
  77.  
  78.     Notice a pair of numbers which follow the mouse pointer.  These
  79. numbers are the "Coordinates" of the current mouse position.  The
  80. first number is the horizontal position (distance from the left), and
  81. the second number is the vertical position (distance from the top).
  82.  
  83.     Position the cross-hairs where the coordinates will be near 90,50.
  84. This will be near the upper left corner of the brown box.
  85.  
  86.     Click and Hold the left mouse button.  Notice the numbers with the
  87. mouse button have changed to 1,1.  These numbers represent the size of
  88. the button area.
  89.  
  90.     Drag the cross-hairs down and to the right about an inch in both
  91. directions.  When you release the mouse button, the Button Editor will
  92. appear.
  93.  
  94.     The default border for a button is a simple outline.  This is
  95. indicated by the text OUTLINE in the button below the "Border" title.
  96. Click on the OUTLINE button.
  97.  
  98.     See Picture "Images/OutlineBorder"
  99.  
  100.     This will display the Border Requester.  This requester contains
  101. twelve border styles you can use.  The title "Outline" is highlighted
  102. indicating it is the currently selected border style.  Click on the
  103. Bevel style.
  104.  
  105.     See Picture "Images/BevelBorder"
  106.  
  107.     This will cause the title "Bevel", above the sample border, to
  108. become highlighted.  The Bevel style uses two colors.  They can be any
  109. color in the color palette.  The colors in the palette are shown along
  110. the bottom of the screen.  Click on a couple of these colors.  Notice
  111. the color changes in the displayed borders.  The color in the 1st
  112. color selector (the TV looking box in the Border Requester) will
  113. reflect the selected color.  Click on White in the color palette.  Now
  114. Click on the 2nd Color Selector.
  115.  
  116.     See Picture "Images/2ColorSelectors"
  117.  
  118.     This will cause a black outline to appear around the 2nd Color
  119. Selector.  Click on various colors in the color palette and observe
  120. the changes in the sample borders.  Now Click on Black (3rd from left)
  121. in the color palette.  Look at the Bevel border example.  This is the
  122. natural appearance of the Bevel Style:  a light shade on the top and
  123. left, and a dark shade on the bottom and the right.  Click on the Ok
  124. Button.
  125.  
  126.     This will bring you back to the Button Editor.  Click Ok.  This
  127. will return you to the Main Panel and your window will now contain
  128. your new button.  Click on Browse.
  129.  
  130.     Click on your newly created button.  While in "Browse" Mode, you
  131. can test your application.  You have not told your button to do
  132. anything yet, so it will simply change color when you click on it.
  133. Click on the Edit Button.
  134.     
  135.     See Picture "Images/BrowseIcon"
  136.  
  137.     Notice both the Edit Button and the Design Button have become
  138. highlighted.  When you click on your button, while in "Design" mode,
  139. you will automatically go to the Button Editor.
  140.  
  141.     See Picture "Images/EditIcon"
  142.  
  143.     You will be instructing your button to display a Text message when
  144. you click and "Release" on it.  CanDo allows you to define an action
  145. for each of the Amiga supported actions for a button:  Click, Drag,
  146. Release, and DoubleClick.  The Release action is commonly used in
  147. Amiga applications for allowing the user to click on a button, change
  148. their mind, and remove the mouse pointer before releasing the mouse
  149. button; thus avoiding the button's action.  You will be using the
  150. Release action for this button.
  151.  
  152.     If you have not done so already, click on your button.  When the
  153. Button Editor appears, click on the Release button under Scripts.
  154.  
  155.     See Picture "Images/Release"
  156.  
  157.     This will bring up the Script Editor.  At this point you could
  158. type in the instructions to print a text message on the screen.
  159. However, CanDo has some tools to help you write scripts for some
  160. common activities.  These tools are called Editor Tools (not all of
  161. CanDo's Editor Tools have been included in the Test Drive).  Along the
  162. right edge of the Script Editor are four Editor Tool Icons.  Using the
  163. Slider, on the far right, you can find additional Editor Tool Icons.
  164.  
  165.     Using the Editor Tool Slider, locate the Print Text Editor Tool
  166. Icon and click on it.
  167.  
  168.     See Picture "Images/Text_ET_Icon"
  169.  
  170.     The Print Text Requester will appear.  Click on the "Set Text and
  171. Font..." button.
  172.  
  173.     See Picture "Images/SetTextAndFont"
  174.  
  175.     This will bring up the Font/Text Requester.  Enter "The Button Got
  176. Clicked!" into the Text Field and press Return.  Notice the example
  177. text on your window.  This is what the text will look like when it is
  178. printed.  Click on the Outlined Button.
  179.  
  180.     See Picture "Images/Outlined"
  181.  
  182.     Click the Ok Button.  This will return you to the Print Text
  183. Requester.  Now, click the "Set Position..." button.
  184.  
  185.     See Picture "Images/SetPosition"
  186.  
  187.     The Script Editor will disappear allowing you to position a
  188. rectangle the size and shape of your text message.  Position the box
  189. to the right of your button near 350,50.  These coordinate numbers
  190. will tag along with your mouse pointer.  Click and release the mouse
  191. pointer when it is properly positioned.  This will return you to the
  192. Print Text Requester.  You can repeat either of these two steps if you
  193. feel you need to try again.  When you are ready, click the Ok button.
  194. The following script will be inserted into the script Editor.
  195.  
  196.     SetPrintFont "topaz",8
  197.     SetPrintStyle OUTLINE,2,3
  198.     SetPen 1,0
  199.     SetDrawMode JAM1
  200.     PrintText "The Button Got Clicked!",350,50
  201.  
  202.     Using CanDo's Editor Tools not only makes it easy to accomplish
  203. many commonly needed activities, but it allows you to learn some the
  204. scripting commands without taking a programming course.
  205.  
  206.     Additional Help is available.  DoubleClick on the PrintText
  207. Command in the last line of the script.  CanDo's Help system gives a
  208. brief description of the Commands, Functions, and System Variables.
  209. If you wish, explore the Help system (red text allows you to jump to
  210. the associated description).  When you are ready, Click on Exit Help.
  211.  
  212.     See Picture "Images/ExitHelp"
  213.  
  214.     Click Ok on the Script Editor window.  Notice the Release Button
  215. on the Button Editor is now highlighted.  This indicates it contains a
  216. script.  Click Ok to return to the Main Panel and then click on the
  217. Browse button.
  218.  
  219.     See Picture "Images/BrowseIcon"
  220.  
  221.     Now Click on your button.  Ta Da!  Congratulations, you have now
  222. tackled the most fundamental step in creating a CanDo application (or
  223. an Amiga application for that matter).  You have created an interface
  224. (as simple as that may be) which silently waits for "something" to
  225. happen (a button click) and then does a specified action.
  226.  
  227.     As you add additional Objects, you simply instruct them what to do
  228. when "something" happens.  This is what makes CanDo fundamentally
  229. different from traditional programming languages such as BASIC or even
  230. the newer Iconic Flow charting languages.  Those languages require you
  231. to construct a complicated set of tests to determine "what happened"
  232. before you get started telling it "what to do".
  233.  
  234.     Before you add more Objects, lets show you how you can
  235. automatically put some text in your Button area.  Click on the Edit
  236. Button and then the button on your window.
  237.  
  238.     See Picture "Images/EditIcon"
  239.  
  240.     Click on the box next to "Text" in the Button Editor.
  241.  
  242.     See Picture "Images/TextAndBox"
  243.  
  244.     This will display the Font/Text Requester.  Enter "My Button" into
  245. the Text Field and click the Shadowed Button.
  246.  
  247.     See Picture "Images/ShadowedStyle"
  248.  
  249.     The sample text in your window should now show a white "My Button"
  250. with a black shadow.  Now click Ok and return to the Button Editor
  251. Requester.  Notice the Checkmark in the box next to Text.  This
  252. indicates it is now a Text Button.  The area of the button will
  253. conform to the size and shape of the Text (the text can include
  254. leading and trailing spaces to make it longer).
  255.  
  256.     Click on the button BEVEL under title Border.
  257.  
  258.     See Picture "Images/BevelBorder"
  259.  
  260.     Click on the Shadow Border Style and then Ok.
  261.  
  262.     See Picture "Images/ShadowBorderStyle"
  263.  
  264.     Click Ok on the Button Editor and then Browse when you return to
  265. the Main Panel.  Your Button looks different but it will still print
  266. the same message when you click on it.
  267.  
  268.     Lets add a Text Field to the Window.  It will allow you to type a
  269. text message into it.  Many CanDo applications use Text Fields as the
  270. primary means for asking the user for information.  A script can get
  271. the text from a Field and do all sorts of things with it.  In this
  272. example, you will do something simple.  Your script will set the
  273. Window Title to the Text entered into the Field.
  274.  
  275.     Click "Add" then the Field button on the Main Panel.
  276.  
  277.     See Picture "Images/AddIcon"
  278.     See Picture "Images/FieldIcon"
  279.  
  280.     As when creating buttons, the Main Panel will disappear allowing
  281. you to position the cross-hairs where you want the upper left corner
  282. of the Field.  Position the cross-hairs under your button near the
  283. coordinates 90,90.  Press and hold the left mouse button and drag the
  284. mouse to the right.  Unlike buttons, Fields have a fixed height so you
  285. will only be defining the width.  Drag the mouse to the right until
  286. the width is about 200, then release the mouse button.
  287.  
  288.     When the Field Editor Requester appears, click on the Border
  289. Button entitled OUTLINE.
  290.  
  291.     See Picture "Images/OutlineBorder"
  292.  
  293.     The new 2.0 Operating System introduced several new border styles
  294. to be used in specific situations.  CanDo allows you to utilize these
  295. new border styles even if you are not using the 2.0 Operating System.
  296. On the bottom row there are two Double border styles.  The one on the
  297. left is the old one which was available prior to 2.0.  The one on the
  298. right is the one which should be used for Fields.  While you can use
  299. many of the other styles (Bevel, Heavy, Checkbox, Rollo, and Button do
  300. not work well with Fields) it is "suggested" you use the new Double
  301. border style.  Click on the new Double border style.
  302.  
  303.     See Picture "Images/DoubleBevelStyle"
  304.  
  305.     Click on Ok.  This will return you to the Field Editor Requester.
  306. Now you can specify an action which will occur when the user of your
  307. application presses the Return Key while the field is selected.  Click
  308. on the Return Button.
  309.  
  310.     See Picture "Images/ReturnButton"
  311.  
  312.     This will display the Script Editor.  You want your script to set
  313. the Window Title Bar to contain the Text entered into the Field.  Type
  314. the following line.
  315.  
  316.     SetWindowTitle TextFrom("Field#1")
  317.  
  318.     The TextFrom portion is a built in Function in CanDo.  It returns
  319. the current text from the Text Field Name specified within the
  320. parenthesis.  The Field you are creating is called "Field#1".  This is
  321. verified by the title in the Script Editor.
  322.  
  323.     The SetWindowTitle Command sets the Window title to a group of
  324. characters.  A grouping of characters is called a Character String or
  325. just a String.  In this example, the string is provided by the
  326. TextFrom function.  When this command is performed, the TextFrom
  327. Function will retrieve the text from "Field#1" and will be displayed
  328. in the Window Title.  The characters "Field#1" is a String telling the
  329. TextFrom Function the Name of the Field to get the character string
  330. from.
  331.  
  332.     If you wish, you can doubleclick on SetWindowTitle or TextFrom to
  333. see what the Help System tells you about them.
  334.  
  335.     When you are ready, click the Ok button on the Script Editor.
  336. This will return you to the Field Editor Requester.  Notice the Return
  337. Button is highlighted indicating there is a "Return" script.  Click
  338. Ok.  This will return you to the Main Panel and display your new
  339. field.
  340.  
  341.     Click on the Browse Button on the Main Panel and then click in
  342. your new field.  Enter the Text "Hello Out There!" or whatever you
  343. wish into the field.  When you press Return, the text will appear in
  344. the window title.  You can repeat this as many times as you wish.
  345. When you are ready click on Add then the Key Icon on the Main Panel.
  346.  
  347.     See Picture "Images/AddIcon"
  348.     See Picture "Images/KeyIcon"
  349.  
  350.     Now you are going to make something happen when a key on the is
  351. pressed.  The KeyInput Object Editor Requester allows you to specify
  352. the key or key combination you wish to define.
  353.  
  354.     The Qualifier field allows you to specify things like SHIFT for
  355. the shift keys, ALT for one of the Alt keys.  The Key Code allows you
  356. to specify any of the other "typing" keys on your keyboard.  For this
  357. example, you are going to play a sound when the Help key is pressed
  358. without any "Qualifier" Keys.  Click in the Key Code Field and enter
  359. the text Help.
  360.  
  361.     See Picture "Images/KeyCodeHelp"
  362.  
  363.     Keys usually do something when the key is first pressed, as
  364. opposed to buttons which do something when they are released.
  365. Therefore, click on the Pressed button.
  366.  
  367.     See Picture "Images/PressedButton"
  368.  
  369.     This will display the Script Editor.  Move the Editor Tool Slider
  370. to the bottom to find the Play Sound Editor tool and click on it.
  371.  
  372.     See Picture "Images/Sound_ET_Icon"
  373.  
  374.     This will display the Play Sound Requester.  Click on the "Set the
  375. filename..." button.
  376.  
  377.     See Picture "Images/SetFilenameButton"
  378.  
  379.     This will display the File Requester.  Click on the file name
  380. "DogBark.snd".  If you click the Play Sound Button you will hear a
  381. digitized audio sample of Tim Martin doing a pretty good job imitating
  382. a dog.  Click on the Ok button.  This will return you to the Play
  383. Sound Requester.  You don't need to set the volume or channel so click
  384. Ok to return to the Script Editor.  Click Ok again to return to the
  385. KeyInput Object Editor.  Finally, click Ok to return to the Main
  386. Panel.
  387.  
  388.     Click on the Browse button and press the Help Key on the keyboard
  389. a couple of times.
  390.  
  391.     Now lets have a little fun!  The one thing I'm sure you've always
  392. wanted is to paint a picture and erase it every time you remove and
  393. insert a disk.  Click on the Disk Icon on the Main Panel.
  394.  
  395.     See Picture "Images/DiskIcon"
  396.  
  397.     This brings up the Disk Object Editor Requester.  Click on the
  398. button "When a disk is removed".  This brings up the Script Editor.
  399. Click on the Paint Editor Tool Icon.
  400.  
  401.     See Picture "Images/Paint_ET_Icon"
  402.  
  403.     This will bring up the Paint Editor Tool Requester.
  404.  
  405.     See Picture "Images/PaintEditorTool"
  406.  
  407.     Hopefully you are familiar with using a paint program on the
  408. Amiga.  The Paint Editor Tool acts like a paint program except with
  409. one major difference:  Script Commands are created to reproduce the
  410. actions you take.
  411.  
  412.     Like most paint programs, the best way to learn is to play with
  413. it.  Try out the various paint tools.  If you don't like what you see,
  414. use the Undo tool.  Unlike most Undo tools, it has a complete history
  415. allowing you to undo as many actions as you wish.
  416.  
  417.     Draw as much as you want, keeping in mind Script Commands will be
  418. created for every action you take.  When you are ready click Ok.  This
  419. will take you back to the Script Editor.  Depending on how much you
  420. painted, you could have a script which borders on huge.  But that's
  421. Ok, you didn't have to type a thing.
  422.  
  423.     Click Ok to return to the Disk Object Editor.  Now click the
  424. button "When a disk is inserted".  Click on the Paint Editor Icon
  425. again.  This time, simply click on the CLR button.
  426.  
  427.     See Picture "Images/ClrButton"
  428.  
  429.     Click Ok to return to the Script Editor.  This created a
  430. ClearWindow Command.  Click Ok returning to the Disk Object Editor.
  431. Click Ok again to return once again to the Main Panel.
  432.  
  433.     Click on the Browse button.  Now remove and insert a Disk a couple
  434. of times.
  435.  
  436.     So far, you've been adding everything to a single card.  Adding
  437. objects to a Card creates an "interface" for the user of your
  438. application.  Having additional Cards in your Deck allows you to
  439. easily change "interfaces".  Next, you are going to create a second
  440. card with a text editor, and button on each Card which allows you to
  441. switch between the two.
  442.  
  443.     Click on the Edit Card Icon.
  444.  
  445.     See Picture "Images/CardIcon"
  446.  
  447.     This Brings up the list of Cards.  Buttons are provided for adding
  448. new Cards, and editing, deleting, and duplicating existing ones.  The
  449. Arrows allow you to reorder the cards.  Click on Add.
  450.  
  451.     See Picture "Images/AddCard"
  452.  
  453.     This brings up the Card Editor.  There are a number of scripts
  454. associated with a Card.  For now, you do not have to do anything with
  455. these.  Click Ok to return to the Card Editor Requester.  The List now
  456. contains two entries.  Card#2 is Highlighted, indicating it is the
  457. current Card.  Click on Exit to return to the Main Panel.
  458.  
  459.     Your new Card does not have any objects.  The window initially
  460. inherits the first card's Picture.  However, you can change any of the
  461. window setting for the new card without effecting the first Card.
  462. These window setting will work fine for what you are doing so there is
  463. no need to change them.
  464.  
  465.     Click on the Add button and the Document Icon on the Main Panel.
  466.  
  467.     See Picture "Images/AddIcon"
  468.     See Picture "Images/DocumentIcon"
  469.  
  470.     This will lower the Main Panel allowing you to define the area for
  471. your Document.  Position the cross-hairs near 90,50.  Press and hold
  472. the left mouse button.  Drag the mouse to the right and down until the
  473. width and height are close to 465,115 and release the mouse button.
  474.  
  475.     This will bring up the Document Object Editor.  Select the
  476. Document Field, under the Name Field, and enter "s:Startup-Sequence".
  477.  
  478.     See Picture "Images/DocumentStartup"
  479.  
  480.     You can enter any name in the Document Field.  However, if the
  481. name you enter is an existing File, it will automatically be loaded.
  482. If the Name does not match an existing File, the Document will
  483. initially be empty.  Entering "S:Startup-Sequence" allows us to look
  484. at the startup sequence you used when starting up your Amiga.
  485.  
  486.     Click on the Border Button.  This will bring up the now familiar
  487. Border Requester.  Select the New Double border style (the one on the
  488. right) and click Ok.  This will bring you back to the Document Object
  489. Editor.  Click Ok to create your new Document Object and to return to
  490. the Main Panel.
  491.  
  492.     Click on Browse and then in your new Document.  The Document
  493. should be displaying your Startup-Sequence.  You should be able to
  494. move around and modify the Text.  Never fear:  it will not modify the
  495. one saved on Disk.  If you wanted, it would be easy to add a save
  496. option.  However, for this example we won't tread down the murky path
  497. of modifying a Startup-Sequence.
  498.  
  499.     Now, click on the Previous Card Button on the Main Panel.
  500.  
  501.     See Picture "Images/PreviousIcon"
  502.  
  503.     This will return you to the original Card.  Click on the Previous
  504. Card Button again.  Because you were on the first Card, it will move
  505. you to the last Card.  The last Card in the Deck is Card#2.  You
  506. should see the Startup-Sequence Document again.
  507.  
  508.     The Card Buttons allow you, the designer, to move to any card in
  509. the Deck.  However, if a user was to run this deck without CanDo,
  510. there would not be anyway to move between Cards.  This is because you
  511. have not added anything to do this.
  512.  
  513.     You need a button on each Card to move to the other.  Lets start
  514. by adding one to the current Card.  Click on Add and then the Button
  515. Icons on the Main Panel.
  516.  
  517.     Position the cross-hairs near the upper right corner of the window
  518. at the coordinates 590,15.  Click and and release the mouse button.
  519. You are going to be making an Image Button.  Because the size is
  520. determined by the image, the size you specify when defining the button
  521. is not used.
  522.  
  523.     When the Button Editor appears, click on the box next to Image.
  524.  
  525.     See Picture "Images/ImageBox"
  526.  
  527.     This will bring up the Image Button Requester.  Click on the
  528. Unnamed Button.
  529.  
  530.     See Picture "Images/UnnamedImage"
  531.  
  532.     This will bring up the File Requester.  This requester allows you
  533. to select a Brush File created by a Paint program.  Select the brush
  534. called "left1.br".  Click on the "Show Brush" button.  This will
  535. display a yellow arrow in the center of your window.  Click on the
  536. arrow to return to the File Requester.  Click Ok to return to the
  537. Image Button Requester.  Click Ok again to return to the Button
  538. Editor.
  539.  
  540.     The Current Highlight is Complement.  This means the button will
  541. change (complement) colors when you click on it.  An Image Button has
  542. an additional Highlight option which shows an alternate Brush Image
  543. when it is clicked.  Lets use this option.  Click on the COMPLEMENT
  544. Button.
  545.  
  546.     See Picture "Images/ComplementHighlight"
  547.  
  548.     Click on the Undefined button under the "Another Image" title.
  549.  
  550.     See Picture "Images/AnotherImage"
  551.  
  552.     This will bring up the File Requester again.  This time select the
  553. "left2.br" and click Ok.  Click Ok on the Highlight Style Requester to
  554. return to the Button Editor.
  555.  
  556.     Now to tell the button "what to do" when it is selected.  Click on
  557. the Release Button.  This will bring up the Script Editor.  Click on
  558. the Card Editor Tool Icon.
  559.  
  560.     See Picture "Images/Card_ET_Icon"
  561.  
  562.     This Editor Tool allows you to create all kinds of ways of moving
  563. from one Card to another.  Click on the "Prev" button.
  564.  
  565.     See Picture "Images/PrevButton"
  566.  
  567.     This will create a single command which will cause your deck to
  568. move to the Previous Card when this button is selected.  Click Ok to
  569. return to the Button Editor.  Click Ok once more to return to the Main
  570. Panel.
  571.  
  572.     You should see our bright yellow arrow in the upper right corner.
  573. Click on Browse, and then the yellow arrow button you just made.  Ta
  574. Da!  You are now on the first card.  Now you need to add the same
  575. thing to this card.  However, you don't need to go to all that work
  576. again.  Click on the Previous Card Button on the Main Panel to move
  577. back to the other Card.
  578.  
  579.     You are now going to use a Menu Option to copy the arrow button
  580. and paste it to the first card.  The Main Panel should be the active
  581. window, but just in case, click on a portion which does not have a
  582. Button (the grey under the Screen Up/Down button is a good area).
  583.  
  584.     Press and hold the right mouse button.  You should see four Menu
  585. Titles.  Position the mouse on the one titled "Mode".  Select Copy.
  586. Your Mouse pointer should now include the text "Copy".  This lets you
  587. know you are in Copy Mode.  Click on the yellow arrow button.  The
  588. yellow arrow button is now in the Copy/Paste Buffer.
  589.  
  590.     Click on the Previous Card Button on the Main Panel.  This will
  591. display the First Card.  Now Select Paste from the Mode Menu.  This
  592. will bring up the Button Editor.  This allows us to change the button
  593. before it is created.  You won't need to change anything so click Ok.
  594.  
  595.     Now select Browse on the Main Panel.  You can now easily move
  596. between your two Cards.
  597.  
  598.     Well, Congratulations.  You have completed the first Test Drive.
  599. While you may have not created the most useful application, you have
  600. learned the basics for creating real applications using CanDo.
  601.  
  602.     Take a break and have a sandwich or whatever you do when you pull
  603. over for a pitstop.  The second Test Drive will take about hour to
  604. complete.
  605.  
  606.