home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 November
/
Pcwk1197.iso
/
LOTUS
/
Eng-ins
/
WORDPRO
/
005.LSS
< prev
next >
Wrap
Text File
|
1996-09-04
|
3KB
|
86 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 = "005"
AnimVersionNum = 2.3
NumFramesThisAnim = 4
AnimationType = "QuickDemo"
SampleFile = "la1n71??.lwp"
AnimName = GetString( "0050000", IResult% )
End Sub
Public Sub ShowMe (theNextStep As Integer)
GetCursorPos TempPos
CursorPosForStep(theNextStep) = TempPos
Select Case theNextStep
Case 1
StepsText = GetString( "0051001", IResult% )
X = DoWhereIs (DIVISION_TABS_M,"Body",0,0,0,0,ClientID)
If ObjInfo.winHdl = 0 Then
Y = RunScriptCommand (".ActiveDocWindow.WinViewPrefs.IsViewSectionTabs = True", AN_AMIPRO, DeskwHdl.val )
Delay 250
X = DoWhereIs (DIVISION_TABS_M,"Body",0,0,0,0,ClientID)
End If
ShowTextBubble StepsText, .5, .5, SouthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
DoMouse WM_LBUTTONDBLCLK%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 2
X = DoWhereIs (DIVISION_TABS_M,"Body",0,0,0,0,ClientID)
If ObjInfo.winHdl = 0 Then
Y = RunScriptCommand (".ActiveDocWindow.WinViewPrefs.IsViewSectionTabs = True", AN_AMIPRO, DeskwHdl.val )
Delay 250
X = DoWhereIs (DIVISION_TABS_M,"Body",0,0,0,0,ClientID)
End If
MoveToObjRel 25 , 175
Exit Sub
Case 3
StepsText = GetString( "0051002", IResult% )
X = DoWhereIs (DIVISION_TABS_M,"Body",0,0,0,0,ClientID)
If ObjInfo.winHdl = 0 Then
Y = RunScriptCommand (".ActiveDocWindow.WinViewPrefs.IsViewSectionTabs = True", AN_AMIPRO, DeskwHdl.val )
Delay 250
X = DoWhereIs (DIVISION_TABS_M,"Body",0,0,0,0,ClientID)
End If
ShowTextBubble StepsText, .5, .5, SouthEast
HideTextBubble
SendTextKeys GetString( "0052003", IResult% ), 50
Exit Sub
Case 4
StepsText = GetString( "0051003", IResult% )
X = DoWhereIs (DIVISION_TABS_M,"Body",0,0,0,0,ClientID)
If ObjInfo.winHdl = 0 Then
Y = RunScriptCommand (".ActiveDocWindow.WinViewPrefs.IsViewSectionTabs = True", AN_AMIPRO, DeskwHdl.val )
Delay 250
X = DoWhereIs (DIVISION_TABS_M,"Body",0,0,0,0,ClientID)
End If
ShowTextBubble StepsText, .75, 2.5, SouthEast
HideTextBubble
MoveToObjRel 75 , 250
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
End Select
End Sub