home *** CD-ROM | disk | FTP | other *** search
- %if GEMINI
- %elseif IBM_OS2
- %end if
- %if GEMINI
- Use "LTAPMN11"
- %elseif IBM_OS2
- Use "LTAPMO11"
- %end if
-
- Sub Initialize
- ClientMainWinClass = WORDPRO_MAINWINCLASS
- ClientID = AN_AMIPRO
- ClientModName = WORDPRO_PERSMODNAME
- ClientLotusAppID = "WORDPRO"
- ShowMeModName = "003"
- AnimVersionNum = 2.3
- NumFramesThisAnim = 13
- AnimationType = "QuickDemo"
- SampleFile = "la1n71??.lwp"
- AnimName = GetString( "0030000", IResult% )
- End Sub
-
- Public Sub ShowMe (theNextStep As Integer)
-
- GetCursorPos TempPos
- CursorPosForStep(theNextStep) = TempPos
-
- Select Case theNextStep
-
- Case 1
- StepsText = GetString( "0031001", IResult% )
- X = DoWhereIs (INSERTION_POINT_M,"",0,0,0,0,ClientID)
- ShowTextBubble StepsText, .5, .5, NorthEast
- HideTextBubble
- Exit Sub
-
- Case 2
- StepsText = GetString( "0031002", IResult% )
- SetBubblePosforMenus
- ShowTextBubble StepsText, .5, .5, NorthEast
- HideTextBubble
- ChooseMenuItem Edit_Find_Replace_Text_m
- Exit Sub
-
- Case 3
- StepsText = GetString( "0031003", IResult% )
- X = DoWhereIs (BAR_CONTROL_M,"",25975,0,BAR_SEARCHREPLACE_M,0,ClientID)
- ShowTextBubble StepsText, .5, .5, NorthEast
- HideTextBubble
- SendTextKeys GetString( "0032003", IResult% ), 50
- Exit Sub
-
- Case 4
- X = DoWhereIs (BAR_CONTROL_M,"",25975,0,BAR_SEARCHREPLACE_M,0,ClientID)
- SendCtrlKeys "{TAB}", 100
- Exit Sub
-
- Case 5
- X = DoWhereIs (BAR_CONTROL_M,"",25976,0,BAR_SEARCHREPLACE_M,0,ClientID)
- SendTextKeys GetString( "0032005", IResult% ), 50
- Exit Sub
-
- Case 6
- StepsText = GetString( "0031004", IResult% )
- X = DoWhereIs (BAR_CONTROL_M,"",25977,0,BAR_SEARCHREPLACE_M,0,ClientID)
- ShowTextBubble StepsText, .5, .5, NorthEast
- HideTextBubble
- Exit Sub
-
- Case 7
- StepsText = GetString( "0031005", IResult% )
- X = DoWhereIs (BAR_CONTROL_M,"",25701,0,BAR_SEARCHREPLACE_M,0,ClientID)
- ShowTextBubble StepsText, .8, .25, NorthEast
- HideTextBubble
- Exit Sub
-
- Case 8
- StepsText = GetString( "0031006", IResult% )
- X = DoWhereIs (BAR_CONTROL_M,"",25585,0,BAR_SEARCHREPLACE_M,0,ClientID)
- ShowTextBubble StepsText, .5, .5, NorthEast
- HideTextBubble
- Exit Sub
-
- Case 9
- StepsText = GetString( "0031007", IResult% )
- X = DoWhereIs (BAR_CONTROL_M,"",25701,0,BAR_SEARCHREPLACE_M,0,ClientID)
- ShowTextBubble StepsText, .25, .25, NorthEast
- HideTextBubble
- MoveToObjRel 25 , 25
- DoMouse WM_LBUTTONDOWN%, 0
- DoMouse WM_LBUTTONUP%, 0
- Exit Sub
-
- Case 10
- StepsText = GetString( "0031008", IResult% )
- X = DoWhereIs (BAR_CONTROL_M,"",25701,0,BAR_SEARCHREPLACE_M,0,ClientID)
- ShowTextBubble StepsText, .25, .75, NorthEast
- HideTextBubble
- MoveToObjRel 25 , 75
- DoMouse WM_LBUTTONDOWN%, 0
- DoMouse WM_LBUTTONUP%, 0
- Exit Sub
-
- Case 11
- MoveToObjRel 25 , 350
- DoMouse WM_LBUTTONDOWN%, 0
- DoMouse WM_LBUTTONUP%, 0
- Exit Sub
-
- Case 12
- SendTextKeys GetString( "0032012", IResult% ), 50
- Exit Sub
-
- Case 13
- StepsText = GetString( "0031009", IResult% )
- X = DoWhereIs (BAR_CONTROL_M,"",2,0,BAR_SEARCHREPLACE_M,0,ClientID)
- ShowTextBubble StepsText, .5, .5, NorthEast
- HideTextBubble
- MoveToObj Center
- DoMouse WM_LBUTTONDOWN%, 0
- DoMouse WM_LBUTTONUP%, 0
- Exit Sub
- End Select
- End Sub
-