home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 November / Pcwk1197.iso / LOTUS / Eng-ins / APPROACH / 012.LSS < prev    next >
Text File  |  1996-09-22  |  4KB  |  144 lines

  1. 'Copyright 1995-96, Lotus Development Corporation. All rights reserved.
  2. %if GEMINI
  3. %elseif IBM_OS2
  4. %end if
  5. %if GEMINI
  6. Use "LTAPPN11"
  7. %elseif IBM_OS2
  8. Use "LTAPPO11"
  9. %end if
  10.  
  11. Sub Initialize
  12.    ClientMainWinClass = APPROACH_MAINWINCLASS
  13.    ClientID = AN_APPROACH
  14.    ClientModName = APPROACH_PERSMODNAME
  15.    ClientLotusAppID = "APPROACH"
  16.    ShowMeModName = "012"
  17.    AnimVersionNum =  2.31 
  18.    NumFramesThisAnim =  11 
  19.    AnimationType = "QuickDemo"
  20.    SampleFile = "Dmosmpl2.APR"
  21.    AnimName = GetString( "0120000", IResult% )
  22. End Sub
  23.  
  24. Public Sub ShowMe (theNextStep As Integer)
  25.  
  26. GetCursorPos TempPos
  27. CursorPosForStep(theNextStep) = TempPos
  28.  
  29. Select Case theNextStep
  30.  
  31. Case  1 
  32.  
  33. Frame1A:
  34.    X = DoWhereIs (ACTIONBAR_OBJ_P,"",ACTION_DESIGN_P,0,0,0,ClientID)
  35.    If ObjInfo.winHdl = 0 Then
  36.       GoTo Frame1B
  37.    Else
  38.       GoTo Frame1AContinue
  39.    End If
  40.  
  41. Frame1B:
  42.    SetBubblePosforMenus
  43.    ChooseMenuItem View_Design_P
  44.    Exit Sub
  45.  
  46. Frame1AContinue:
  47.    MoveToObj Center
  48.    DoMouse WM_LBUTTONDOWN%, 0
  49.    DoMouse WM_LBUTTONUP%, 0
  50.    Exit Sub
  51.  
  52. Case  2 
  53.    X = DoWhereIs (FORM_OBJ_P,"Video Title",0,0,0,0,ClientID)
  54.    MoveToObj CenterBottom
  55.    DoMouse WM_LBUTTONDOWN%, 0
  56.    DoMouse WM_LBUTTONUP%, 0
  57.    Exit Sub
  58.  
  59. Case  3 
  60.    StepsText = GetString( "0121001", IResult% )
  61.    SetBubblePosforMenus
  62.    ShowTextBubble StepsText,  .5,  .5, NorthEast
  63.    HideTextBubble
  64.    ChooseMenuItem Field_Object_Named_Style_p
  65.    Exit Sub
  66.  
  67. Case  4 
  68.    StepsText = GetString( "0121002", IResult% )
  69.    WhereIsIBControl IBCICONTROL, 303
  70.    ShowTextBubble StepsText,  .5,  .5, NorthEast
  71.    HideTextBubble
  72.    MoveToObj Center
  73.    DoMouse WM_LBUTTONDOWN%, 0
  74.    DoMouse WM_LBUTTONUP%, 0
  75.    Exit Sub
  76.  
  77. Case  5 
  78.    StepsText = GetString( "0121003", IResult% )
  79.    X = DoWhereIs (DIALOG_CONTROL_P,"",103,0,0,0,ClientID)
  80.    ShowTextBubble StepsText,  .5,  .5, NorthEast
  81.    HideTextBubble
  82.    MoveToObj Center
  83.    DoMouse WM_LBUTTONDOWN%, 0
  84.    DoMouse WM_LBUTTONUP%, 0
  85.    Exit Sub
  86.  
  87. Case  6 
  88.    StepsText = GetString( "0121004", IResult% )
  89.    X = DoWhereIs (DIALOG_CONTROL_P,"",1047,0,0,0,ClientID)
  90.    ShowTextBubble StepsText,  .5,  .5, NorthEast
  91.    HideTextBubble
  92.    SendTextKeys  GetString( "0122006", IResult% ), 50
  93.    Exit Sub
  94.  
  95. Case  7 
  96.    StepsText = GetString( "0121005", IResult% )
  97.    X = DoWhereIs (DIALOG_CONTROL_P,"",1045,0,0,0,ClientID)
  98.    ShowTextBubble StepsText,  .5,  .5, NorthEast
  99.    HideTextBubble
  100.    Exit Sub
  101.  
  102. Case  8 
  103.    StepsText = GetString( "0121006", IResult% )
  104.    X = DoWhereIs (DIALOG_CONTROL_P,"",1136,0,0,0,ClientID)
  105.    ShowTextBubble StepsText,  .5,  .5, NorthEast
  106.    HideTextBubble
  107.    MoveToObj Center
  108.    DoMouse WM_LBUTTONDOWN%, 0
  109.    DoMouse WM_LBUTTONUP%, 0
  110.    SendTextKeys  GetString( "0122008", IResult% ), 50
  111.    Exit Sub
  112.  
  113. Case  9 
  114.    StepsText = GetString( "0121007", IResult% )
  115.    X = DoWhereIs (DIALOG_CONTROL_P,"",01,0,0,0,ClientID)
  116.    ShowTextBubble StepsText,  .5,  .5, NorthEast
  117.    HideTextBubble
  118.    MoveToObj Center
  119.    DoMouse WM_LBUTTONDOWN%, 0
  120.    DoMouse WM_LBUTTONUP%, 0
  121.    Exit Sub
  122.  
  123. Case  10 
  124.    StepsText = GetString( "0121008", IResult% )
  125.    X = DoWhereIs (DIALOG_CONTROL_P,"",01,0,0,0,ClientID)
  126.    ShowTextBubble StepsText,  .5,  .5, NorthEast
  127.    HideTextBubble
  128.    MoveToObj Center
  129.    DoMouse WM_LBUTTONDOWN%, 0
  130.    DoMouse WM_LBUTTONUP%, 0
  131.    Exit Sub
  132.  
  133. Case  11 
  134.    StepsText = GetString( "0121009", IResult% )
  135.    WhereIsIBControl IBCICLOSEBOX, 1
  136.    ShowTextBubble StepsText,  .5,  .5, NorthEast
  137.    HideTextBubble
  138.    MoveToObj Center
  139.    DoMouse WM_LBUTTONDOWN%, 0
  140.    DoMouse WM_LBUTTONUP%, 0
  141.    Exit Sub
  142. End Select
  143. End Sub
  144.