home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 February
/
PCWK0297.iso
/
lotus
/
english
/
lotus016.dsk
/
001.LSS
next >
Wrap
Text File
|
1995-10-16
|
5KB
|
210 lines
Use "ap_mod"
Sub Initialize
ClientMainWinClass = "ApproachWClass"
ClientID = AN_APPROACH
ClientModName = "ap_mod"
ClientLotusAppID = "APPROACH"
ShowMeModName = "001"
AnimVersionNum = .63
NumFramesThisAnim = 23
AnimationType = "QuickDemo"
SampleFile = "Dmosmpl2.APR"
AnimName = GetString( "0010000", 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
X = DoWhereIs (FORM_OBJ,"ObjText2",0,0,0,0,ClientID)
SendTextKeys GetString( "0012002", IResult% ), 50
Exit Sub
Case 3
StepsText = GetString( "0011001", IResult% )
X = DoWhereIs (FORM_OBJ,"ObjText2",0,0,0,0,ClientID)
ShowTextBubble StepsText, .01, 1.8, NorthEast
HideTextBubble
MoveToObjRel 1 , 180
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 4
StepsText = GetString( "0011002", IResult% )
SetBubblePosforMenus
ShowTextBubble StepsText, .5, 2, NorthEast
HideTextBubble
ChooseMenuItem d_Repeating_Panel
Exit Sub
Case 5
StepsText = GetString( "0011003", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",301,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
Exit Sub
Case 6
StepsText = GetString( "0011004", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",401,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObjRel 50 , 25
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 7
StepsText = GetString( "0011005", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",403,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 8
StepsText = GetString( "0011006", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",401,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObjRel 50 , 10
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 9
X = DoWhereIs (DIALOG_CONTROL,"",403,0,0,0,ClientID)
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 10
X = DoWhereIs (DIALOG_CONTROL,"",401,0,0,0,ClientID)
MoveToObjRel 50 , 40
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 11
X = DoWhereIs (DIALOG_CONTROL,"",403,0,0,0,ClientID)
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 12
StepsText = GetString( "0011007", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",310,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 13
X = DoWhereIs (DIALOG_CONTROL,"",311,0,0,0,ClientID)
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 14
X = DoWhereIs (DIALOG_CONTROL,"",311,0,0,0,ClientID)
SendTextKeys GetString( "0012014", IResult% ), 50
Exit Sub
Case 15
X = DoWhereIs (DIALOG_CONTROL,"",311,0,0,0,ClientID)
SendTextKeys GetString( "0012015", IResult% ), 50
Exit Sub
Case 16
X = DoWhereIs (DIALOG_CONTROL,"",311,0,0,0,ClientID)
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 17
StepsText = GetString( "0011008", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",350,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
Exit Sub
Case 18
StepsText = GetString( "0011009", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",313,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 19
StepsText = GetString( "0011010", 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( "0011011", 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 21
SendTextKeys GetString( "0012021", IResult% ), 50
Exit Sub
Case 22
SendTextKeys GetString( "0012022", IResult% ), 50
Exit Sub
Case 23
SendTextKeys GetString( "0012023", IResult% ), 50
Exit Sub
End Select
End Sub