home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 October A
/
Pcwk10a98.iso
/
Lotus
/
LOTUS
/
WORDPRO
/
090.LSS
< prev
next >
Wrap
Text File
|
1998-03-24
|
3KB
|
106 lines
'Copyright 1995-98, 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 = "090"
AnimVersionNum = 2.36
NumFramesThisAnim = 11
AnimationType = "QuickDemo"
SampleFile = "la2n71??.lwp"
AnimName = GetString( "0900000", IResult% )
End Sub
Public Sub ShowMe (theNextStep As Integer)
GetCursorPos TempPos
CursorPosForStep(theNextStep) = TempPos
Select Case theNextStep
Case 1
X = RunScriptCommand (".GoToBookMark ""header""", ClientID, DeskwHdl.val )
Exit Sub
Case 2
StepsText = GetString( "0901001", IResult% )
X = DoWhereIs (INSERTION_POINT_M,"",0,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, SouthEast
HideTextBubble
Exit Sub
Case 3
StepsText = GetString( "0901002", IResult% )
SetBubblePosforMenus
ShowTextBubble StepsText, .5, .5, SouthEast
HideTextBubble
ChooseMenuItem Insert_Page_Number_m
Exit Sub
Case 4
StepsText = GetString( "0901003", IResult% )
X = DoWhereIs (DIALOG_CONTROL_M,"",&H6577,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, SouthEast
HideTextBubble
Exit Sub
Case 5
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 6
Delay 1500
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 7
StepsText = GetString( "0901004", IResult% )
Delay 1000
X = DoWhereIs (DIALOG_CONTROL_M,"",&H62D4,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, SouthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 8
SendTextKeys GetString( "0902008", IResult% ), 50
Exit Sub
Case 9
StepsText = GetString( "0901005", IResult% )
X = DoWhereIs (DIALOG_CONTROL_M,"",&H62D6,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, SouthEast
HideTextBubble
Exit Sub
Case 10
StepsText = GetString( "0901006", 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 11
Delay 2000
SendCtrlKeys "{ENTER}", 100
Exit Sub
End Select
End Sub