home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 November
/
Pcwk1197.iso
/
LOTUS
/
Eng-ins
/
APPROACH
/
012.LSS
< prev
next >
Wrap
Text File
|
1996-09-22
|
4KB
|
144 lines
'Copyright 1995-96, Lotus Development Corporation. All rights reserved.
%if GEMINI
%elseif IBM_OS2
%end if
%if GEMINI
Use "LTAPPN11"
%elseif IBM_OS2
Use "LTAPPO11"
%end if
Sub Initialize
ClientMainWinClass = APPROACH_MAINWINCLASS
ClientID = AN_APPROACH
ClientModName = APPROACH_PERSMODNAME
ClientLotusAppID = "APPROACH"
ShowMeModName = "012"
AnimVersionNum = 2.31
NumFramesThisAnim = 11
AnimationType = "QuickDemo"
SampleFile = "Dmosmpl2.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_P,"",ACTION_DESIGN_P,0,0,0,ClientID)
If ObjInfo.winHdl = 0 Then
GoTo Frame1B
Else
GoTo Frame1AContinue
End If
Frame1B:
SetBubblePosforMenus
ChooseMenuItem View_Design_P
Exit Sub
Frame1AContinue:
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 2
X = DoWhereIs (FORM_OBJ_P,"Video Title",0,0,0,0,ClientID)
MoveToObj CenterBottom
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 3
StepsText = GetString( "0121001", IResult% )
SetBubblePosforMenus
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
ChooseMenuItem Field_Object_Named_Style_p
Exit Sub
Case 4
StepsText = GetString( "0121002", IResult% )
WhereIsIBControl IBCICONTROL, 303
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 5
StepsText = GetString( "0121003", IResult% )
X = DoWhereIs (DIALOG_CONTROL_P,"",103,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 6
StepsText = GetString( "0121004", IResult% )
X = DoWhereIs (DIALOG_CONTROL_P,"",1047,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
SendTextKeys GetString( "0122006", IResult% ), 50
Exit Sub
Case 7
StepsText = GetString( "0121005", IResult% )
X = DoWhereIs (DIALOG_CONTROL_P,"",1045,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
Exit Sub
Case 8
StepsText = GetString( "0121006", IResult% )
X = DoWhereIs (DIALOG_CONTROL_P,"",1136,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
SendTextKeys GetString( "0122008", IResult% ), 50
Exit Sub
Case 9
StepsText = GetString( "0121007", IResult% )
X = DoWhereIs (DIALOG_CONTROL_P,"",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( "0121008", IResult% )
X = DoWhereIs (DIALOG_CONTROL_P,"",01,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 11
StepsText = GetString( "0121009", IResult% )
WhereIsIBControl IBCICLOSEBOX, 1
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
End Select
End Sub