Results 1 to 6 of 6

Thread: Advaced Help For Scar 2.03

  1. #1
    Join Date
    Dec 2006
    Location
    utah
    Posts
    1,427
    Mentioned
    2 Post(s)
    Quoted
    7 Post(s)

    Default Advaced Help For Scar 2.03

    help me on this please!!
    these are Tforms;

    SCAR Code:
    Procedure PressKey(Sender: TObject); // And I don't Know what else i need to put in with this to know When they Pressed the key

    Form.onKeyPress :=  @Presskey;
    that May Not Make Any Sense though

  2. #2
    Join Date
    Oct 2006
    Location
    Kentucky
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Um I don't know exactly what your trying to say, If I could see the whole procedure that would help. But From what I can tell make a Boolean for key pressed. Sorry if this dosn't help but I need more info.
    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly. - put this in your sig

  3. #3
    Join Date
    Dec 2006
    Location
    utah
    Posts
    1,427
    Mentioned
    2 Post(s)
    Quoted
    7 Post(s)

    Default

    Hmm Try and make this work
    SCAR Code:
    //////////////////////////////////////////////
    // Pops Up Window When you press a key
    //
    /////////////////////////////////////////

    Var
    Form: TForm;
     App : TApplication;
     Button : Tbutton;

    Procedure ButtonClick(Sender:TObject);
      begin
        From:= mrOk;
      end;

    Procedure KeyEvent(Sender:TObeject);
    begin
    App.MessageBox('You pressed Some Kind Of Pressed A Button!!!!','Button Pressed',1);
    end;

    Procedure LoadForm;
    begin
    Form:= CreateForm(From);
    Form.OnKeyPress:=@KeyEvent;
    ....
    ....
    ....
    Button.OnClick := @ButtonClick;
    end;

    begin
    LoadForm;
    end;

    You Should be Able To UnderStand That?

  4. #4
    Join Date
    Oct 2006
    Location
    Kentucky
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm sorry I just can't tell were you are going with this due to lack of other parts. Maybe someone a little bit more experienced will help you. Sorry at least I tried!
    Thanks
    DrowningTrout
    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly. - put this in your sig

  5. #5
    Join Date
    Dec 2006
    Location
    utah
    Posts
    1,427
    Mentioned
    2 Post(s)
    Quoted
    7 Post(s)

    Default

    thank yah much i will just use
    Timer : TTimer;
    that should work

  6. #6
    Join Date
    Mar 2006
    Posts
    13,241
    Mentioned
    228 Post(s)
    Quoted
    267 Post(s)

    Default

    Quote Originally Posted by drowningtrout View Post
    I'm sorry I just can't tell were you are going with this due to lack of other parts. Maybe someone a little bit more experienced will help you. Sorry at least I tried!
    Thanks
    DrowningTrout
    he's useing the form maker...no idea what type of form...but something with buttons
    STOP PM'ING ME

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 15
    Last Post: 09-22-2008, 12:32 PM
  2. [Scar IDE] How to set jEDIT to edit scar files corectly!
    By LordGregGreg in forum Outdated Tutorials
    Replies: 16
    Last Post: 06-23-2007, 01:19 AM
  3. Replies: 28
    Last Post: 06-22-2006, 04:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •