home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pegasus 5
/
Pegasus_Vol_5_CD2.iso
/
lotus
/
lotus018.dsk
/
002.LSS
< prev
next >
Wrap
Text File
|
1995-10-15
|
5KB
|
176 lines
Use "ap_mod"
Sub Initialize
ClientMainWinClass = "ApproachWClass"
ClientID = AN_APPROACH
ClientModName = "ap_mod"
ClientLotusAppID = "APPROACH"
ShowMeModName = "002"
AnimVersionNum = .63
NumFramesThisAnim = 21
AnimationType = "QuickDemo"
SampleFile = "Dmosmpl1.APR"
AnimName = GetString( "0020000", IResult% )
End Sub
Public Sub ShowMe (theNextStep As Integer)
GetCursorPos TempPos
CursorPosForStep(theNextStep) = TempPos
Select Case theNextStep
Case 1
StepsText = GetString( "0021001", IResult% )
SetBubblePosforMenus
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
ChooseMenuItem d_Named_Find_Sort
Exit Sub
Case 2
StepsText = GetString( "0021002", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",1001,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 3
StepsText = GetString( "0021003", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",102,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 4
SendTextKeys GetString( "0022004", IResult% ), 50
Exit Sub
Case 5
StepsText = GetString( "0021004", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",555,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObjRel 25 , 50
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 6
X = DoWhereIs (DIALOG_CONTROL,"",534,0,0,0,ClientID)
MoveToObjRel 25 , 5
Exit Sub
Case 7
X = DoWhereIs (DIALOG_CONTROL,"",519,0,0,0,ClientID)
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 8
X = DoWhereIs (DIALOG_CONTROL,"",1000,0,0,0,ClientID)
MoveToObjRel 50 , 45
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 9
X = DoWhereIs (DIALOG_CONTROL,"",528,0,0,0,ClientID)
MoveToObjRel 50 , 45
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 10
X = DoWhereIs (DIALOG_CONTROL,"",530,0,0,0,ClientID)
MoveToObjRel 50 , 25
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
SendTextKeys GetString( "0022010", IResult% ), 50
Exit Sub
Case 11
X = DoWhereIs (DIALOG_CONTROL,"",530,0,0,0,ClientID)
SendTextKeys GetString( "0022011", IResult% ), 50
Exit Sub
Case 12
X = DoWhereIs (DIALOG_CONTROL,"",530,0,0,0,ClientID)
SendTextKeys GetString( "0022012", IResult% ), 50
Exit Sub
Case 13
X = DoWhereIs (DIALOG_CONTROL,"",519,0,0,0,ClientID)
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 14
X = DoWhereIs (DIALOG_CONTROL,"",519,0,0,0,ClientID)
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 15
X = DoWhereIs (DIALOG_CONTROL,"",535,0,0,0,ClientID)
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 16
X = DoWhereIs (DIALOG_CONTROL,"",536,0,0,0,ClientID)
MoveToObjRel 1 , 50
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
SendTextKeys GetString( "0022016", IResult% ), 50
Exit Sub
Case 17
X = DoWhereIs (DIALOG_CONTROL,"",536,0,0,0,ClientID)
SendTextKeys GetString( "0022017", IResult% ), 50
Exit Sub
Case 18
X = DoWhereIs (DIALOG_CONTROL,"",536,0,0,0,ClientID)
SendTextKeys GetString( "0022018", IResult% ), 50
Exit Sub
Case 19
StepsText = GetString( "0021005", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",1,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 20
StepsText = GetString( "0021006", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",1004,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
Exit Sub
Case 21
StepsText = GetString( "0021007", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",1,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
End Select
End Sub