home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 October A
/
Pcwk10a98.iso
/
Lotus
/
LOTUS
/
WORDPRO
/
075.LSS
< prev
next >
Wrap
Text File
|
1998-03-24
|
3KB
|
150 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 = "075"
AnimVersionNum = 2.36
NumFramesThisAnim = 21
AnimationType = "QuickDemo"
SampleFile = "la2n71??.lwp"
AnimName = GetString( "0750000", IResult% )
End Sub
Public Sub ShowMe (theNextStep As Integer)
GetCursorPos TempPos
CursorPosForStep(theNextStep) = TempPos
Select Case theNextStep
Case 1
StepsText = GetString( "0751001", IResult% )
X = DoWhereIs (INSERTION_POINT_M,"",0,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, SouthEast
HideTextBubble
MoveToObj Center
DoMouse WM_RBUTTONDOWN%, 0
DoMouse WM_RBUTTONUP%, 0
Exit Sub
Case 2
StepsText = GetString( "0751002", IResult% )
ShowTextBubble StepsText, 172.5, 24, NorthEast
HideTextBubble
Exit Sub
Case 3
SendCtrlKeys "{DOWN 2}{ENTER}", 100
Exit Sub
Case 4
StepsText = GetString( "0751003", IResult% )
WhereIsIBControl IBCITABS, 1
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 5
MoveToObjRel 50 , 125
Exit Sub
Case 6
StepsText = GetString( "0751004", IResult% )
WhereIsIBControl IBCICONTROL, PAGETYPELIST_M
ShowTextBubble StepsText, .5, 1, NorthEast
HideTextBubble
Exit Sub
Case 7
StepsText = GetString( "0751005", IResult% )
WhereIsIBControl IBCICONTROL, PAGEBOTTOM_M
ShowTextBubble StepsText, 2, 0, SouthEast
HideTextBubble
Exit Sub
Case 8
WhereIsIBControl IBCICONTROL, PAGETOP_M
MoveToObjRel 25 , 50
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 9
SendCtrlKeys "{end}+{HOME}{DEL}", 100
Exit Sub
Case 10
SendTextKeys GetString( "0752010", IResult% ), 50
Exit Sub
Case 11
WhereIsIBControl IBCICONTROL, PAGELEFT_M
MoveToObjRel 51 , 50
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 12
SendCtrlKeys "{end}+{HOME}{DEL}", 100
Exit Sub
Case 13
SendTextKeys GetString( "0752013", IResult% ), 50
Exit Sub
Case 14
WhereIsIBControl IBCICONTROL, PAGERIGHT_M
MoveToObjRel 51 , 50
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 15
SendCtrlKeys "{end}+{HOME}{DEL}", 100
Exit Sub
Case 16
SendTextKeys GetString( "0752016", IResult% ), 50
Exit Sub
Case 17
WhereIsIBControl IBCICONTROL, PAGEBOTTOM_M
MoveToObjRel 25 , 50
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 18
SendCtrlKeys "{end}+{HOME}{DEL}", 100
Exit Sub
Case 19
SendTextKeys GetString( "0752019", IResult% ), 50
Exit Sub
Case 20
MoveToObjRel 200 , 0
Exit Sub
Case 21
WhereIsIBControl IBCICLOSEBOX, 1
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
End Select
End Sub