home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 October A
/
Pcwk10a98.iso
/
Lotus
/
LOTUS
/
123
/
210.LSS
< prev
next >
Wrap
Text File
|
1998-03-19
|
5KB
|
191 lines
'Copyright 1995-98, 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 = "210"
AnimVersionNum = 2.36
NumFramesThisAnim = 23
AnimationType = "QuickDemo"
SampleFile = "ssdn16??.123"
AnimName = GetString( "2100000", IResult% )
End Sub
Public Sub ShowMe (theNextStep As Integer)
GetCursorPos TempPos
CursorPosForStep(theNextStep) = TempPos
Select Case theNextStep
Case 1
StepsText = GetString( "2101001", IResult% )
SetBubblePosforMenus
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
ChooseMenuItem DtFilePrintPreview_g
Exit Sub
Case 2
'Position the InfoBox so you can see Preview...
Sleep 0
Sleep 0
WhereIsIBControl IBCIHELPBUTTON, 1
MoveToObjRel -50 , 50
DoMouse WM_LBUTTONDOWN%, 0
Exit Sub
Case 3
X = SetTargetWindow (ToolWin_G, "ssdn16??.123", ClientID, DeskwHdl.val)
X = DoWhereIs (CELL_OBJ_G,"",1,3,0,0,ClientID)
MoveToObjRel -550 , 250
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 4
Delay 500
'Move the mousepointer away from the bubble...
WhereIsIBControl IBCITABS, 3
MoveToObjRel 150 , 300
Exit Sub
Case 5
StepsText = GetString( "2101002", IResult% )
X = SetTargetWindow (ToolWin_G, "ssdn16??.123", ClientID, DeskwHdl.val)
X = DoWhereIs (CELL_OBJ_G,"",1,1,0,0,ClientID)
ShowTextBubble StepsText, .5, 1, SouthWest
HideTextBubble
Exit Sub
Case 6
StepsText = GetString( "2101003", IResult% )
Delay 250
WhereIsIBControl IBCITABS, 3
ShowTextBubble StepsText, .75, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 7
'Prevent hover help...
MoveToObjRel 150 , 300
Exit Sub
Case 8
StepsText = GetString( "2101004", IResult% )
WhereIsIBControl IBCICONTROL, TRTPRINTSET_PROP_UITOPMARGIN_G
ShowTextBubble StepsText, 2, .9, SouthEast
HideTextBubble
Exit Sub
Case 9
Delay 1000
Exit Sub
Case 10
WhereIsIBControl IBCICONTROL, TRTPRINTSET_PROP_UILEFTMARGIN_G
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
DoMouse WM_LBUTTONDBLCLK%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 11
SendCtrlKeys "{DEL}", 100
Exit Sub
Case 12
Delay 1000
SendTextKeys GetString( "2102012", IResult% ), 50
Exit Sub
Case 13
SendCtrlKeys "{ENTER}", 100
Exit Sub
Case 14
WhereIsIBControl IBCICONTROL, TRTPRINTSET_PROP_UITOPMARGIN_G
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
DoMouse WM_LBUTTONDBLCLK%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 15
SendCtrlKeys "{DEL}", 100
Exit Sub
Case 16
SendTextKeys GetString( "2102016", IResult% ), 50
Exit Sub
Case 17
SendCtrlKeys "{ENTER}", 100
Exit Sub
Case 18
StepsText = GetString( "2101005", IResult% )
X = SetTargetWindow (ToolWin_G, "ssdn16??.123", ClientID, DeskwHdl.val)
X = DoWhereIs (CELL_OBJ_G,"",1,1,0,0,ClientID)
ShowTextBubble StepsText, 1, 3, SouthWest
HideTextBubble
Exit Sub
Case 19
StepsText = GetString( "2101006", IResult% )
Delay 2000
X = SetTargetWindow (ToolWin_G, "ssdn16??.123", ClientID, DeskwHdl.val)
X = DoWhereIs (CELL_OBJ_G,"",1,1,0,0,ClientID)
ShowTextBubble StepsText, 1, 3, SouthWest
HideTextBubble
MoveToObjRel 100 , 300
DoMouse WM_RBUTTONDOWN%, 0
DoMouse WM_RBUTTONUP%, 0
Exit Sub
Case 20
Delay 1000
SendCtrlKeys "{UP}", 100
Exit Sub
Case 21
Delay 1000
SendCtrlKeys "{ESC}", 100
Exit Sub
Case 22
StepsText = GetString( "2101007", IResult% )
Delay 1000
WhereIsIBControl IBCICLOSEBOX, 1
ShowTextBubble StepsText, .5, .5, SouthWest
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 23
StepsText = GetString( "2101008", IResult% )
Delay 500
X = SetTargetWindow (ToolWin_G, "ssdn16??.123", ClientID, DeskwHdl.val)
X = DoWhereIs (CELL_OBJ_G,"",1,1,0,0,ClientID)
ShowTextBubble StepsText, 12, 0, SouthWest
HideTextBubble
SendCtrlKeys "^{F4}", 100
Exit Sub
End Select
End Sub