Results 1 to 10 of 10

Thread: My First Form EVER

  1. #1
    Join Date
    Jun 2007
    Location
    Mianus
    Posts
    863
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default My First Form EVER Changed To --> My Third Form Attempt

    OK so i changed the title to My First Form EVER Changed To --> My Third Form Attempt cuz i have done a little more work now i have done a combo box but i still need some help.

    1.how to make the script to login after u press start in form.
    2.color picker.
    3.something ill figure out...

    so the script looks like this now.

    EDIT: THE COMBO BOX IS JUST FOR TESTING MY FORM SKILLS SO IT WONT DO ANYTHING SAME WITH USERNAME&PASSWORD BUT THE START BUTTON WORKS BUT I STILL NEED SOME HELP GETTING THE SCRIPT TO LOGIN AFTER U PRESS START!

  2. #2
    Join Date
    Aug 2007
    Posts
    282
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hey, when I get off this blackberry and home(2 days) I will take a look at it and tell you what I think

  3. #3
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    if you have any questions on doing anything more advnaced in forms you can add my aim Jhildz737 and ill try to help you.

    its ok but resize the width and height so theres not a bunch of blank space.

    edit: once you figure forms out a little more check out my multiplayer form tutorial in my sig. it allows you to put unlimited players into a form.

  4. #4
    Join Date
    Jun 2007
    Location
    Mianus
    Posts
    863
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by jhildy View Post
    if you have any questions on doing anything more advnaced in forms you can add my aim Jhildz737 and ill try to help you.

    its ok but resize the width and height so theres not a bunch of blank space.

    edit: once you figure forms out a little more check out my multiplayer form tutorial in my sig. it allows you to put unlimited players into a form.
    im downloading aim now ill add u and i need some help so thx and im gona put in alot of stuff in a form cuz i want a good start so ill make simple scripts with advanced forms and with ur multiplayer to ALL forms&scripts made by me

  5. #5
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Perhaps, you could add my MSN too if you like...
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

  6. #6
    Join Date
    Feb 2006
    Location
    gmail messnger--evilkukka@gmail.com
    Posts
    272
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    procedure StartClick(sender: TObject);
    begin
      Writeln('Form Has Been Done,Now Cheating');
      frmDesign.ModalResult:= mrok; // Closes the form
    end;
    shouldn't you add
    SCAR Code:
    Players[0].Name:= Edit1.text;
    Players[0].Password:= Edit2.text;
    <SmarterC> mixster: The only reason so many people are homosexuals

  7. #7
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Or he could just do:

    SCAR Code:
    Username:= Edit1.text;
    Password:= Edit2.text;

    Since it's not a multiplayer form...

    Perhaps for the mainloop:

    SCAR Code:
    begin
      try
        SafeInitForm;
        SafeShowFormModal;
      except
        WriteLn('Error In Form');
      end;
    end.
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

  8. #8
    Join Date
    Jun 2007
    Location
    Mianus
    Posts
    863
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by SantaClause View Post
    Or he could just do:

    SCAR Code:
    Username:= Edit1.text;
    Password:= Edit2.text;

    Since it's not a multiplayer form...

    Perhaps for the mainloop:

    SCAR Code:
    begin
      try
        SafeInitForm;
        SafeShowFormModal;
      except
        WriteLn('Error In Form');
      end;
    end.
    umh what is the
    except
    WriteLn('Error In Form');
    for? is it good for a form?

  9. #9
    Join Date
    May 2006
    Posts
    1,230
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    it catches errors.
    SCAR Code:
    try
      //code here
    except
      //if it finds an error with the code above, it does whats here
    finally
      //it runs this code last no matter what, error or not
    end;

    you don't need finally, or except, but thats why people use it, to stop errors from happening.

  10. #10
    Join Date
    Jun 2007
    Location
    Mianus
    Posts
    863
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    plz chek the top for new info

Thread Information

Users Browsing this Thread

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

Posting Permissions

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