home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 November
/
Pcwk1197.iso
/
LOTUS
/
Eng-ins
/
WORDPRO
/
075.LSS
< prev
next >
Wrap
Text File
|
1996-08-20
|
3KB
|
143 lines
%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.28
NumFramesThisAnim = 20
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
Exit Sub
Case 5
StepsText = GetString( "0751004", IResult% )
WhereIsIBControl IBCICONTROL, PAGETYPELIST_M
ShowTextBubble StepsText, .5, 1, NorthEast
HideTextBubble
Exit Sub
Case 6
StepsText = GetString( "0751005", IResult% )
WhereIsIBControl IBCICONTROL, PAGEBOTTOM_M
ShowTextBubble StepsText, 2, 0, SouthEast
HideTextBubble
Exit Sub
Case 7
WhereIsIBControl IBCICONTROL, PAGETOP_M
MoveToObjRel 25 , 50
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 8
SendCtrlKeys "{end}+{HOME}{DEL}", 100
Exit Sub
Case 9
SendTextKeys GetString( "0752009", IResult% ), 50
Exit Sub
Case 10
WhereIsIBControl IBCICONTROL, PAGELEFT_M
MoveToObjRel 51 , 50
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 11
SendCtrlKeys "{end}+{HOME}{DEL}", 100
Exit Sub
Case 12
SendTextKeys GetString( "0752012", IResult% ), 50
Exit Sub
Case 13
WhereIsIBControl IBCICONTROL, PAGERIGHT_M
MoveToObjRel 51 , 50
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 14
SendCtrlKeys "{end}+{HOME}{DEL}", 100
Exit Sub
Case 15
SendTextKeys GetString( "0752015", IResult% ), 50
Exit Sub
Case 16
WhereIsIBControl IBCICONTROL, PAGEBOTTOM_M
MoveToObjRel 25 , 50
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 17
SendCtrlKeys "{end}+{HOME}{DEL}", 100
Exit Sub
Case 18
SendTextKeys GetString( "0752018", IResult% ), 50
Exit Sub
Case 19
MoveToObjRel 200 , 0
Exit Sub
Case 20
WhereIsIBControl IBCICLOSEBOX, 1
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
End Select
End Sub