home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 November
/
pcwk_11_98B.iso
/
Lotus
/
FRENCH
/
LOTUS024.DSK
/
020.LSS
< prev
next >
Wrap
Text File
|
1996-10-18
|
5KB
|
180 lines
'Copyright 1995-96, Lotus Development Corporation. All rights reserved.
%if GEMINI
%elseif IBM_OS2
%end if
%if GEMINI
Use "LTAPMN11"
%elseif IBM_OS2
Use "LTAPMO11"
%end if
Sub Initialize
ClientMainWinClass = WORDPRO_MAINWINCLASS
ClientID = AN_AMIPRO
ClientModName = WORDPRO_PERSMODNAME
ClientLotusAppID = "WORDPRO"
ShowMeModName = "020"
AnimVersionNum = 2.31
NumFramesThisAnim = 22
AnimationType = "QuickDemo"
SampleFile = "la2n71??.lwp"
AnimName = GetString( "0200000", IResult% )
End Sub
Public Sub ShowMe (theNextStep As Integer)
GetCursorPos TempPos
CursorPosForStep(theNextStep) = TempPos
Select Case theNextStep
Case 1
X = RunScriptCommand (".GoToBookMark ""style1""", ClientID, DeskwHdl.val )
Exit Sub
Case 2
StepsText = GetString( "0201001", IResult% )
X = DoWhereIs (INSERTION_POINT_M,"",0,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
Exit Sub
Case 3
X = RunScriptCommand (".GoToBookMark ""style2""", ClientID, DeskwHdl.val )
Exit Sub
Case 4
StepsText = GetString( "0201002", IResult% )
ShowTextBubble StepsText, 0, .5, SouthEast
HideTextBubble
DoMouse WM_RBUTTONDOWN%, 0
DoMouse WM_RBUTTONUP%, 0
Exit Sub
Case 5
StepsText = GetString( "0201003", IResult% )
X = DoWhereIs (INSERTION_POINT_M,"",0,0,0,0,ClientID)
ShowTextBubble StepsText, 258, 15, SouthEast
HideTextBubble
SendCtrlKeys "{down}{enter}", 100
Exit Sub
Case 6
StepsText = GetString( "0201004", IResult% )
WhereIsIBControl IBCITABS, 7
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 7
WhereIsIBControl IBCITABS, 7
MoveToObjRel 50 , 150
Exit Sub
Case 8
StepsText = GetString( "0201005", IResult% )
WhereIsIBControl IBCICONTROL, CREATESTYLE_M
ShowTextBubble StepsText, .5, .5, SouthWest
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 9
StepsText = GetString( "0201006", IResult% )
X = DoWhereIs (DIALOG_CONTROL_M,"",25300,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 10
SendTextKeys GetString( "0202010", IResult% ), 50
Exit Sub
Case 11
X = DoWhereIs (DIALOG_CONTROL_M,"",25301,0,0,0,ClientID)
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 12
SendTextKeys GetString( "0202012", IResult% ), 50
Exit Sub
Case 13
StepsText = GetString( "0201007", IResult% )
X = DoWhereIs (DIALOG_CONTROL_M,"",25975,0,0,0,ClientID)
ShowTextBubble StepsText, .5, 1, SouthWest
HideTextBubble
Exit Sub
Case 14
StepsText = GetString( "0201008", IResult% )
X = DoWhereIs (DIALOG_CONTROL_M,"",25550,0,0,0,ClientID)
ShowTextBubble StepsText, .5, 1, SouthEast
HideTextBubble
Exit Sub
Case 15
StepsText = GetString( "0201009", IResult% )
X = DoWhereIs (DIALOG_CONTROL_M,"",1,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 16
WhereIsIBControl IBCICLOSEBOX, 1
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 17
X = RunScriptCommand (".GoToBookMark ""style3""", ClientID, DeskwHdl.val )
Exit Sub
Case 18
X = DoWhereIs (INSERTION_POINT_M,"",0,0,0,0,ClientID)
MoveToObj Center
Exit Sub
Case 19
X = RunScriptCommand (".GoToBookMark ""style4""", ClientID, DeskwHdl.val )
Exit Sub
Case 20
X = DoWhereIs (0,"",STATUS_BAR_STYLE_M,0,0,0,AN_STATUSBAR)
If X <> 0 Then
Y = RunScriptCommand (".ActiveDocWindow.WinViewPrefs.IsViewStatusBarCleanScrn=True", AN_AMIPRO, DeskwHdl.val )
X = DoWhereIs (0,"",STATUS_BAR_STYLE_M,0,0,0,AN_STATUSBAR)
End If
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 21
Delay 1000
MoveToObjRel 50 ,-125
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 22
X = RunScriptCommand (".GoToBookMark ""style3""", ClientID, DeskwHdl.val )
Exit Sub
End Select
End Sub