home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 November
/
Pcwk1197.iso
/
LOTUS
/
Eng-ins
/
FLG
/
005.LSS
next >
Wrap
Text File
|
1996-06-12
|
4KB
|
157 lines
Use "LTAPVN11"
Sub Initialize
ClientMainWinClass = "FLWApp"
ClientID = AN_AVERY
ClientModName = "LTAPVN11"
ClientLotusAppID = "FLW"
ShowMeModName = "005"
AnimVersionNum = 2.18
NumFramesThisAnim = 20
AnimationType = "QuickDemo"
SampleFile = "capitals.prz"
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 (DRAW_OBJ_V,"",1,0,0,0,ClientID)
ShowTextBubble StepsText, .4, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 2
StepsText = GetString( "0051002", IResult% )
SetBubblePosforMenus
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
ChooseMenuItem Text_Bullets_Numbers_v
Exit Sub
Case 3
WhereIsIBControl IBCITABS, 2
MoveToObjRel 50 ,-100
DoMouse WM_LBUTTONDOWN%, 0
Exit Sub
Case 4
X = DoWhereIs (DRAW_OBJ_V,"",PAGE_BKGND_V,0,0,0,ClientID)
MoveToObjRel 40 , 20
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 5
StepsText = GetString( "0051003", IResult% )
WhereIsIBControl IBCITABS, 2
ShowTextBubble StepsText, 3, -.75, NorthEast
HideTextBubble
MoveToObjRel 300 ,-75
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 6
SendCtrlKeys "{HOME}{ENTER}", 100
Exit Sub
Case 7
Delay 2000
Exit Sub
Case 8
StepsText = GetString( "0051004", IResult% )
WhereIsIBControl IBCICONTROL, GRATTR_BULLETSIZE_V
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
DoMouse WM_LBUTTONDBLCLK%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 9
SendCtrlKeys "60", 100
Exit Sub
Case 10
SendCtrlKeys "{ENTER}", 100
Exit Sub
Case 11
StepsText = GetString( "0051005", IResult% )
WhereIsIBControl IBCICONTROL, GRATTR_BULLETSTRING_V
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 12
Delay 500
SendCtrlKeys "{DOWN 2}{ENTER}", 100
Exit Sub
Case 13
Exit Sub
Case 14
StepsText = GetString( "0051006", IResult% )
Delay 1000
WhereIsIBControl IBCICONTROL, GRATTR_BULLETCOLOR_V
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 15
SendCtrlKeys "^{HOME}", 100
Exit Sub
Case 16
SendCtrlKeys "{RIGHT 5}{ENTER}", 100
Exit Sub
Case 17
StepsText = GetString( "0051007", IResult% )
WhereIsIBControl IBCITABS, 1
ShowTextBubble StepsText, 1, -1, NorthEast
HideTextBubble
MoveToObjRel 100 ,-90
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 18
Delay 1000
SendCtrlKeys "%{F4}", 100
Exit Sub
Case 19
X = DoWhereIs (DRAW_OBJ_V,"",PAGE_BKGND_V,0,0,0,ClientID)
MoveToObjRel 50 , 25
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 20
X = DoWhereIs (DRAW_OBJ_V,"",PAGE_BKGND_V,0,0,0,ClientID)
MoveToObjRel 25 , 75
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
End Select
End Sub