home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pegasus 5
/
Pegasus_Vol_5_CD2.iso
/
lotus
/
lotus018.dsk
/
SP000010
< prev
next >
Wrap
Text File
|
1995-10-15
|
3KB
|
121 lines
Use "ap_mod"
Sub Initialize
ClientMainWinClass = "ApproachWClass"
ClientID = AN_APPROACH
ClientModName = "ap_mod"
ClientLotusAppID = "APPROACH"
ShowMeModName = "012"
AnimVersionNum = .63
NumFramesThisAnim = 10
AnimationType = "QuickDemo"
SampleFile = "Dmosmpl1.APR"
AnimName = GetString( "0120000", IResult% )
End Sub
Public Sub ShowMe (theNextStep As Integer)
GetCursorPos TempPos
CursorPosForStep(theNextStep) = TempPos
Select Case theNextStep
Case 1
Frame1A:
X = DoWhereIs (ACTIONBAR_OBJ,"",ACTION_DESIGN,0,0,0,ClientID)
If X = 0 Then
GoTo Frame1B
Else
GoTo Frame1AContinue
End If
Frame1B:
SetBubblePosforMenus
ChooseMenuItem d_Design
Exit Sub
Frame1AContinue:
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 2
StepsText = GetString( "0121001", IResult% )
SetBubblePosforMenus
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
ChooseMenuItem d_Named_Style
Exit Sub
Case 3
StepsText = GetString( "0121002", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",103,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 4
StepsText = GetString( "0121003", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",180,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
SendTextKeys GetString( "0122004", IResult% ), 50
Exit Sub
Case 5
StepsText = GetString( "0121004", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",45,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
Exit Sub
Case 6
StepsText = GetString( "0121005", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",1136,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
SendTextKeys GetString( "0122006", IResult% ), 50
Exit Sub
Case 7
X = DoWhereIs (DIALOG_CONTROL,"",1136,0,0,0,ClientID)
SendTextKeys GetString( "0122007", IResult% ), 50
Exit Sub
Case 8
X = DoWhereIs (DIALOG_CONTROL,"",1136,0,0,0,ClientID)
SendTextKeys GetString( "0122008", IResult% ), 50
Exit Sub
Case 9
StepsText = GetString( "0121006", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",01,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 10
StepsText = GetString( "0121007", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",01,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