home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 November
/
Pcwk1197.iso
/
LOTUS
/
Eng-ins
/
123
/
020.LSS
< prev
next >
Wrap
Text File
|
1996-09-25
|
3KB
|
124 lines
' Copyright 1995-97, Lotus Development Corporation. All rights reserved.
%if GEMINI
%elseif IBM_OS2
%end if
%if GEMINI
Use "LTAPGN11"
%elseif IBM_OS2
Use "LTAPGO11"
%end if
Sub Initialize
ClientMainWinClass = GEMINI_MAINWINCLASS
ClientID = AN_GEMINI
ClientModName = GEMINI_PERSMODNAME
ClientLotusAppID = "GEMINI"
ShowMeModName = "020"
AnimVersionNum = 2.24
NumFramesThisAnim = 12
AnimationType = "QuickDemo"
SampleFile = "ssdn02??.123"
AnimName = GetString( "0200000", IResult% )
End Sub
Public Sub ShowMe (theNextStep As Integer)
GetCursorPos TempPos
CursorPosForStep(theNextStep) = TempPos
Select Case theNextStep
Case 1
StepsText = GetString( "0201001", IResult% )
X = SetTargetWindow (ToolWin_G, "ssdn02??.123", ClientID, DeskwHdl.val)
X = DoWhereIs (CELL_OBJ_G,"",5,4,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, SouthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 2
Exit Sub
Case 3
StepsText = GetString( "0201002", IResult% )
SetBubblePosforMenus
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
ChooseMenuItem ShCellComment_g
Exit Sub
Case 4
WhereIsIBControl IBCITABS, 8
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 5
WhereIsIBControl IBCISYSMENU, 1
MoveToObjRel 150 , 50
DoMouse WM_LBUTTONDOWN%, 0
Exit Sub
Case 6
X = SetTargetWindow (ToolWin_G, "ssdn02??.123", ClientID, DeskwHdl.val)
X = DoWhereIs (CELL_OBJ_G,"",1,2,0,0,ClientID)
MoveToObj Center
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 7
StepsText = GetString( "0201003", IResult% )
Delay 500
WhereIsIBControl IBCICONTROL, TRTRGMANIP_PROP_CELLNOTE_G
ShowTextBubble StepsText, .1, 1.1, SouthEast
HideTextBubble
MoveToObjRel 10 , 110
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 8
StepsText = GetString( "0201004", IResult% )
Delay 1000
WhereIsIBControl IBCICONTROL, TRTRGMANIP_PROP_CELLNOTE_G
ShowTextBubble StepsText, .03, .15, SouthEast
HideTextBubble
MoveToObjRel 3 , 15
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 9
Delay 500
SendCtrlKeys "{END}{ENTER}", 100
Exit Sub
Case 10
SendTextKeys GetString( "0202010", IResult% ), 50
Exit Sub
Case 11
StepsText = GetString( "0201005", IResult% )
Delay 500
WhereIsIBControl IBCICLOSEBOX, 1
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 12
X = SetTargetWindow (ToolWin_G, "ssdn02??.123", ClientID, DeskwHdl.val)
X = DoWhereIs (CELL_OBJ_G,"",5,5,0,0,ClientID)
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
End Select
End Sub