home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 November / Pcwk1197.iso / LOTUS / Eng-ins / WORDPRO / 009.LSS < prev    next >
Text File  |  1996-09-17  |  2KB  |  73 lines

  1. 'Copyright 1995-96, Lotus Development Corporation. All rights reserved.
  2. %if GEMINI
  3. %elseif IBM_OS2
  4. %end if
  5. %if GEMINI
  6. Use "LTAPMN11"
  7. %elseif IBM_OS2
  8. Use "LTAPMO11"
  9. %end if
  10.  
  11. Sub Initialize
  12.    ClientMainWinClass = WORDPRO_MAINWINCLASS
  13.    ClientID = AN_AMIPRO
  14.    ClientModName = WORDPRO_PERSMODNAME
  15.    ClientLotusAppID = "WORDPRO"
  16.    ShowMeModName = "009"
  17.    AnimVersionNum =  2.31 
  18.    NumFramesThisAnim =  6 
  19.    AnimationType = "QuickDemo"
  20.    SampleFile = "la1n71??.lwp"
  21.    AnimName = GetString( "0090000", IResult% )
  22. End Sub
  23.  
  24. Public Sub ShowMe (theNextStep As Integer)
  25.  
  26. GetCursorPos TempPos
  27. CursorPosForStep(theNextStep) = TempPos
  28.  
  29. Select Case theNextStep
  30.  
  31. Case  1 
  32.    X = RunScriptCommand (".GoToBookMark ""underline""", ClientID, DeskwHdl.val )
  33.    Exit Sub
  34.  
  35. Case  2 
  36.    X = DoWhereIs (INSERTION_POINT_M,"",0,0,0,0,ClientID)
  37.    MoveToObj Center
  38.    Exit Sub
  39.  
  40. Case  3 
  41.    StepsText = GetString( "0091001", IResult% )
  42.    X = DoWhereIs (INSERTION_POINT_M,"",0,0,0,0,ClientID)
  43.    ShowTextBubble StepsText,  .5,  .5, NorthEast
  44.    HideTextBubble
  45.    Exit Sub
  46.  
  47. Case  4 
  48.    X = RunScriptCommand (".GoToBookMark ""underline2""", ClientID, DeskwHdl.val )
  49.    Exit Sub
  50.  
  51. Case  5 
  52.    StepsText = GetString( "0091002", IResult% )
  53.    X = DoWhereIs (0,"",STATUS_BAR_UNDERLINE_M,0,0,0,AN_STATUSBAR)
  54.    If X <> 0 Then
  55.         Y = RunScriptCommand (".ActiveDocWindow.WinViewPrefs.IsViewStatusBarCleanScrn=True", AN_AMIPRO, DeskwHdl.val )
  56.         X = DoWhereIs (0,"",STATUS_BAR_UNDERLINE_M,0,0,0,AN_STATUSBAR)
  57.    End If
  58.    ShowTextBubble StepsText,  .5,  .5, NorthEast
  59.    HideTextBubble
  60.    MoveToObj Center
  61.    DoMouse WM_LBUTTONDOWN%, 0
  62.    DoMouse WM_LBUTTONUP%, 0
  63.    Exit Sub
  64.  
  65. Case  6 
  66.    X = DoWhereIs (INSERTION_POINT_M,"",0,0,0,0,ClientID)
  67.    MoveToObj Center
  68.    DoMouse WM_LBUTTONDOWN%, 0
  69.    DoMouse WM_LBUTTONUP%, 0
  70.    Exit Sub
  71. End Select
  72. End Sub
  73.