home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 November / Pcwk1197.iso / LOTUS / Eng-ins / WORDPRO / 006.LSS < prev    next >
Text File  |  1996-09-17  |  2KB  |  69 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 = "006"
  17.    AnimVersionNum =  2.31 
  18.    NumFramesThisAnim =  5 
  19.    AnimationType = "QuickDemo"
  20.    SampleFile = "la1n71??.lwp"
  21.    AnimName = GetString( "0060000", 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 ""italicize""", ClientID, DeskwHdl.val )
  33.    Exit Sub
  34.  
  35. Case  2 
  36.    StepsText = GetString( "0061001", IResult% )
  37.    X = DoWhereIs (INSERTION_POINT_M,"",0,0,0,0,ClientID)
  38.    ShowTextBubble StepsText,  .5,  .5, NorthEast
  39.    HideTextBubble
  40.    MoveToObj Center
  41.    Exit Sub
  42.  
  43. Case  3 
  44.    X = RunScriptCommand (".GoToBookMark ""italicize2""", ClientID, DeskwHdl.val )
  45.    Exit Sub
  46.  
  47. Case  4 
  48.    StepsText = GetString( "0061002", IResult% )
  49.    X = DoWhereIs (0,"",STATUS_BAR_ITALIC_M,0,0,0,AN_STATUSBAR)
  50.    If X <> 0 Then
  51.         Y = RunScriptCommand (".ActiveDocWindow.WinViewPrefs.IsViewStatusBarCleanScrn=True", AN_AMIPRO, DeskwHdl.val )
  52.         X = DoWhereIs (0,"",STATUS_BAR_ITALIC_M,0,0,0,AN_STATUSBAR)
  53.    End If
  54.    ShowTextBubble StepsText,  .5,  .5, NorthEast
  55.    HideTextBubble
  56.    MoveToObj Center
  57.    DoMouse WM_LBUTTONDOWN%, 0
  58.    DoMouse WM_LBUTTONUP%, 0
  59.    Exit Sub
  60.  
  61. Case  5 
  62.    X = DoWhereIs (INSERTION_POINT_M,"",0,0,0,0,ClientID)
  63.    MoveToObj Center
  64.    DoMouse WM_LBUTTONDOWN%, 0
  65.    DoMouse WM_LBUTTONUP%, 0
  66.    Exit Sub
  67. End Select
  68. End Sub
  69.