home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 November
/
Pcwk1197.iso
/
LOTUS
/
Eng-ins
/
FLG
/
045.LSS
< prev
next >
Wrap
Text File
|
1996-05-16
|
2KB
|
76 lines
Use "LTAPVN11"
Sub Initialize
ClientMainWinClass = "FLWApp"
ClientID = AN_AVERY
ClientModName = "LTAPVN11"
ClientLotusAppID = "FLW"
ShowMeModName = "045"
AnimVersionNum = 2.18
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_V, "", POINTERTOOL_V, 0, 0, 0, ClientID)
If ObjInfo.winHdl <> 0 Then
Exit Sub
End If
X = DoWhereIs (GUTTER_CONTROL_V,"",DRAW_TOOLS_BUTTON_V,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_V,"",LINETOOL_V,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_V,"",PAGE_BKGND_V,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_V,"",PAGE_BKGND_V,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_V,"",PAGE_BKGND_V,0,0,0,ClientID)
MoveToObjRel 60 , 30
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
End Select
End Sub