home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pegasus 5
/
Pegasus_Vol_5_CD2.iso
/
lotus
/
lotus035.dsk
/
003.LSS
next >
Wrap
Text File
|
1995-10-19
|
3KB
|
118 lines
Use "am_mod"
Sub Initialize
ClientMainWinClass = "WordProAppWndNT"
ClientID = AN_AMIPRO
ClientModName = "am_mod"
ClientLotusAppID = "WORDPRO"
ShowMeModName = "003"
AnimVersionNum = .63
NumFramesThisAnim = 13
AnimationType = "QuickDemo"
SampleFile = "la1n70??.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,"",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 Find_Replace
Exit Sub
Case 3
StepsText = GetString( "0031003", IResult% )
X = DoWhereIs (BAR_CONTROL,"",25975,0,BAR_SEARCHREPLACE,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
SendTextKeys GetString( "0032003", IResult% ), 50
Exit Sub
Case 4
X = DoWhereIs (BAR_CONTROL,"",25975,0,BAR_SEARCHREPLACE,0,ClientID)
SendCtrlKeys "{TAB}", 100
Exit Sub
Case 5
X = DoWhereIs (BAR_CONTROL,"",25976,0,BAR_SEARCHREPLACE,0,ClientID)
SendTextKeys GetString( "0032005", IResult% ), 50
Exit Sub
Case 6
StepsText = GetString( "0031004", IResult% )
X = DoWhereIs (BAR_CONTROL,"",25977,0,BAR_SEARCHREPLACE,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
Exit Sub
Case 7
StepsText = GetString( "0031005", IResult% )
X = DoWhereIs (BAR_CONTROL,"",25701,0,BAR_SEARCHREPLACE,0,ClientID)
ShowTextBubble StepsText, .8, .25, NorthEast
HideTextBubble
Exit Sub
Case 8
StepsText = GetString( "0031006", IResult% )
X = DoWhereIs (BAR_CONTROL,"",25585,0,BAR_SEARCHREPLACE,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
Exit Sub
Case 9
StepsText = GetString( "0031007", IResult% )
X = DoWhereIs (BAR_CONTROL,"",25701,0,BAR_SEARCHREPLACE,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,"",25701,0,BAR_SEARCHREPLACE,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,"",2,0,BAR_SEARCHREPLACE,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
End Select
End Sub