home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 February / PCWorld_2002-02_cd.bin / Software / Komercni / Gopas / pwp1 / cz8005cs.dcr / Behaviors_7.ls < prev    next >
Encoding:
Text File  |  2002-01-14  |  3.6 KB  |  84 lines

  1. on keyUp
  2.   if the text of field "Edit1" = "F" then
  3.     set the text of field "NoEdit1" to "F"
  4.   else
  5.     if the text of field "Edit1" = "Fi" then
  6.       set the text of field "NoEdit1" to "Fi"
  7.     else
  8.       if the text of field "Edit1" = "Fir" then
  9.         set the text of field "NoEdit1" to "Fir"
  10.       else
  11.         if the text of field "Edit1" = "Firs" then
  12.           set the text of field "NoEdit1" to "Firs"
  13.         else
  14.           if the text of field "Edit1" = "First" then
  15.             set the text of field "NoEdit1" to "First"
  16.           else
  17.             if the text of field "Edit1" = "First " then
  18.               set the text of field "NoEdit1" to "First "
  19.             else
  20.               if the text of field "Edit1" = "First Q" then
  21.                 set the text of field "NoEdit1" to "First Q"
  22.               else
  23.                 if the text of field "Edit1" = "First Qu" then
  24.                   set the text of field "NoEdit1" to "First Qu"
  25.                 else
  26.                   if the text of field "Edit1" = "First Qua" then
  27.                     set the text of field "NoEdit1" to "First Qua"
  28.                   else
  29.                     if the text of field "Edit1" = "First Quar" then
  30.                       set the text of field "NoEdit1" to "First Quar"
  31.                     else
  32.                       if the text of field "Edit1" = "First Quart" then
  33.                         set the text of field "NoEdit1" to "First Quart"
  34.                       else
  35.                         if the text of field "Edit1" = "First Quarte" then
  36.                           set the text of field "NoEdit1" to "First Quarte"
  37.                         else
  38.                           if the text of field "Edit1" = "First Quarter" then
  39.                             set the text of field "NoEdit1" to "First Quarter"
  40.                           else
  41.                             if the text of field "Edit1" = "First Quarter " then
  42.                               set the text of field "NoEdit1" to "First Quarter "
  43.                             else
  44.                               if the text of field "Edit1" = "First Quarter S" then
  45.                                 set the text of field "NoEdit1" to "First Quarter S"
  46.                               else
  47.                                 if the text of field "Edit1" = "First Quarter Sa" then
  48.                                   set the text of field "NoEdit1" to "First Quarter Sa"
  49.                                 else
  50.                                   if the text of field "Edit1" = "First Quarter Sal" then
  51.                                     set the text of field "NoEdit1" to "First Quarter Sal"
  52.                                   else
  53.                                     if the text of field "Edit1" = "First Quarter Sale" then
  54.                                       set the text of field "NoEdit1" to "First Quarter Sale"
  55.                                     else
  56.                                       if the text of field "Edit1" = "First Quarter Sales" then
  57.                                         set the text of field "NoEdit1" to "First Quarter Sales"
  58.                                         updateStage()
  59.                                         Advance()
  60.                                       end if
  61.                                     end if
  62.                                   end if
  63.                                 end if
  64.                               end if
  65.                             end if
  66.                           end if
  67.                         end if
  68.                       end if
  69.                     end if
  70.                   end if
  71.                 end if
  72.               end if
  73.             end if
  74.           end if
  75.         end if
  76.       end if
  77.     end if
  78.   end if
  79. end
  80.  
  81. on exitFrame
  82.   go(the frame)
  83. end
  84.