Pausing without a wrapper

Discussion in 'Code Snippets and Tutorials' started by Fexxel, Mar 28, 2009.

  1. Fexxel

    Fexxel Level IV

    Joined:
    Jan 28, 2009
    Messages:
    959
    Likes Received:
    26
    I was wondering how I could pause without using a wrapper.
    I am creating a youtube view in creaser and I need the program to wait 2 seconds. I tried Pause(2) but it doesn't seem to work.
    In past experience I have been doing w.Pause(value)
    Is it needed to use a wrapper (w.) to pause? If not, how do I do it?
     
  2. tharoux

    tharoux Level IV

    Joined:
    Dec 30, 2006
    Messages:
    2,733
    Likes Received:
    126
    Location:
    In front of my PC, Montreal
    Copy the function "pause" from the wrapper to your main class.
    Voilà !
     
  3. Fexxel

    Fexxel Level IV

    Joined:
    Jan 28, 2009
    Messages:
    959
    Likes Received:
    26
    Using TCP...
    Error:
    Code (Text):
    1. Name 'frmMain' is not declared.
    I have 17 of those xD
    ---
    So,
    Pause(1) ?
    Instead of
    Variable.Pause(1)