home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pegasus 5
/
Pegasus_Vol_5_CD2.iso
/
lotus
/
lotus039.dsk
/
045.LSS
< prev
next >
Wrap
Text File
|
1995-08-09
|
2KB
|
76 lines
Use "av_mod"
Sub Initialize
ClientMainWinClass = "FLWApp"
ClientID = AN_AVERY
ClientModName = "av_mod"
ClientLotusAppID = "FLW"
ShowMeModName = "045"
AnimVersionNum = .58
NumFramesThisAnim = 6
AnimationType = "QuickDemo"
SampleFile = "drawline.prz"
AnimName = GetString( "0450000", IResult% )
End Sub
Public Sub ShowMe (theNextStep As Integer)
GetCursorPos TempPos
CursorPosForStep(theNextStep) = TempPos
Select Case theNextStep
Case 1
StepsText = GetString( "0451001", IResult% )
X = DoWhereIs (TOOLBOX_CONTROL, "", POINTERTOOL, 0, 0, 0, ClientID)
If X <> 0 Then
Exit Sub
End If
X = DoWhereIs (GUTTER_CONTROL,"",DRAW_TOOLS_BUTTON,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 2
StepsText = GetString( "0451002", IResult% )
X = DoWhereIs (TOOLBOX_CONTROL,"",LINETOOL,0,0,0,ClientID)
ShowTextBubble StepsText, .25, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 3
StepsText = GetString( "0451003", IResult% )
X = DoWhereIs (DRAW_OBJ,"",PAGE_BKGND,0,0,0,ClientID)
ShowTextBubble StepsText, .25, .5, NorthEast
HideTextBubble
MoveToObjRel 25 , 50
DoMouse WM_LBUTTONDOWN%, 0
Exit Sub
Case 4
X = DoWhereIs (DRAW_OBJ,"",PAGE_BKGND,0,0,0,ClientID)
MoveToObjRel 78 , 50
Exit Sub
Case 5
StepsText = GetString( "0451004", IResult% )
ShowTextBubble StepsText, .78, .5, NorthEast
HideTextBubble
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 6
X = DoWhereIs (DRAW_OBJ,"",PAGE_BKGND,0,0,0,ClientID)
MoveToObjRel 60 , 30
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
End Select
End Sub