Page 3 of 6 FirstFirst 12345 ... LastLast
Results 51 to 75 of 126

Thread: THE big form tutorial ~ by MK

  1. #51
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Death, please wait a while, cause LoadFP Isn't that easy When I have a few hours free I'll work on this, buy for now I really should learn for my lasts tests of the first year IT

  2. #52
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Umm.. I need to know if I could like.. Have a map of RS that you could move around, then when you mouse over a certain part, it will highlight it then if you click it, that will be the place you want to use for the script? And also it will have a list of multiple places so when you mouse over the text of the multiple places, it will highlight the patches I want it to and show you where they are? (Zoom out and show) thanks, MK!

  3. #53
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    That would be very hard to make What you can do and wish is a lot easyer:

    Make a combobox with all the placed you have, when the users clicks on falador for example the TImage will change to a picture of falador. something like this:

    SCAR Code:
    If OnClickComboBox({bla}) Then
    Begin
      Case ComboBox[?].IndexItem Of
        0: // load image falador
        1: // load image varrock
        // ect
      End;
    End;

  4. #54
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh okay. Would that lag at all? (Like would there be any way to make it load first and then when you choose that box it just immediately changes the picture?)

  5. #55
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    My eyes are bleeding, I see pixels flying around my room, but I did it, I've completed the "Create a player setup form" tutorial.

    ENJOY!

    ~ Rick.

  6. #56
    Join Date
    Dec 2006
    Posts
    908
    Mentioned
    1 Post(s)
    Quoted
    17 Post(s)

    Default

    Zomg@!!!!!!! Tyssszzz

  7. #57
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    ZOMG i love you.

    + rep fo sho
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  8. #58
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    I really hope the tutorials is helping, and I would love to see screenshots of results, wish I'll post in the first post

  9. #59
    Join Date
    Jul 2007
    Location
    Ohio
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    When I finish, I will definitely show you the results!

    Rep ++ and this tutorial explains everything, great job!!

    ~KotN

  10. #60
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Awesome guide, it's really working for me so far. I do have one question.

    Can you not take away the border from TButtons? I have:

    SCAR Code:
    Buttons[i].BorderStyle := NSNone

    I always get "Unknown identifier BORDERSTYLE in script...". I'm going for the medieval RS look for this form, and I think the current TButton borders look too "futuristic" if you know what I mean. If you have any ideas, please let me know.

    Thanks.
    Last edited by Coh3n; 07-22-2009 at 05:31 AM.

  11. #61
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    Awesome guide, it's really working for me so far. I do have one question.

    Can you not take away the border from TButtons? I have:

    SCAR Code:
    Buttons[i].BorderStyle := NSNone

    I always get "Unknown identifier BORDERSTYLE in script...". I'm going for the medieval RS look for this form, and I think the current TButton borders look too "futuristic" if you know what I mean. If you have any ideas, please let me know.

    Thanks.
    you could make your own buttons using a TImage, and just add a .OnClick to it that way you could have your own custom buttons

    Good luck!

  12. #62
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by MasterKill View Post
    you could make your own buttons using a TImage, and just add a .OnClick to it that way you could have your own custom buttons

    Good luck!
    Ah good call. Thanks.

    EDIT: I'll post a screenshot when I'm done the form.
    Last edited by Coh3n; 07-22-2009 at 05:50 AM.

  13. #63
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    Ah good call. Thanks.
    If you have any doubt you can look at this
    @MK: Nice tutorial, well explained.


  14. #64
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Cazax View Post
    If you have any doubt you can look at this
    Looks nice, thanks.

    @ MK: I like the idea of using TImages to make my own custom buttons, but is there a way that when I hover over that button with my mouse, the image changes to indicate I'm hovered over the button. Just like the default buttons kind of "glow" when the mouse is hovered over them.

    Basically I want the image to "indent" into the screen when I hover over it. If you don't know what I mean, check out the "X" when closing a window in RS.

    While I'm asking questions, I'll also ask if I can have a caption come up when I hover over the button that gives a small explaining like "Exits the form" and things along those lines.

    If this is possible that would be great.

    Thanks.

  15. #65
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Use this events:
    OnMouseMove: When the mouse moves inside the Image it will be convoked.
    OnMouseDown: When the mouse is down inside the Image it will be convoked.
    OnMouseUp: When the mouse is up inside the Image it will be convoked.


  16. #66
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Cazax View Post
    Use this events:
    OnMouseMove: When the mouse moves inside the Image it will be convoked.
    OnMouseDown: When the mouse is down inside the Image it will be convoked.
    OnMouseUp: When the mouse is up inside the Image it will be convoked.
    Talk on MSN? Check PMs.

    I don't know what you mean when you say "inside" the image. Do you mean the mouse is over top the image? Saying it's inside sounds kind of weird to me. Lol.

  17. #67
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Over the Image, if that makes it clear.


  18. #68
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Cazax View Post
    Over the Image, if that makes it clear.
    It does, thanks, except I have no idea how I would use those. It says OnMouseMove is a TMouseMoveEvent and I have no idea what that is.

    Is there like a database or something that has descriptions of all these little functions?

  19. #69
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    It does, thanks, except I have no idea how I would use those. It says OnMouseMove is a TMouseMoveEvent and I have no idea what that is.

    Is there like a database or something that has descriptions of all these little functions?
    Check Daniel's quality () Tutorials

  20. #70
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default



    MasterKill: Adding and delting players, ect Tabs (Thx to you)
    Thanks so much. I made this about a week ago on like 3 car trips. tysm
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  21. #71
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by noidea View Post


    MasterKill: Adding and delting players, ect Tabs (Thx to you)
    Thanks so much. I made this about a week ago on like 3 car trips. tysm
    Pretty nice GUI, what OS are you on?

  22. #72
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by noidea View Post


    MasterKill: Adding and delting players, ect Tabs (Thx to you)
    Thanks so much. I made this about a week ago on like 3 car trips. tysm
    looks pretty nice! You did most by following my tutorial? Good job Wanna be in my first post "wall of fame" ?

    Nau: probably windows vista with another border style

  23. #73
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by MasterKill View Post
    looks pretty nice! You did most by following my tutorial? Good job

    Nau: probably windows vista with another border style
    The tabs and the pic were thx to you <3
    and the wall of fame would be awsome <3
    Last edited by noidea; 07-30-2009 at 01:27 AM.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  24. #74
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by noidea View Post
    The tabs and the pic were thx to you <3
    and the wall of fame would be awsome <3
    I didn't learn tabs though? Or you mean the player adding stuff anyway, added to the first page The form looks nice
    Last edited by MasterKill; 07-30-2009 at 05:14 PM.

  25. #75
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    All learned from this tutorial:


    Thanks mucho... never really learned this stuff until now. Easier than I thought it would be. xD Maybe finish the player array stuff... I might try my hand at it on a 3 hour drive home I got tomorrow though.

Page 3 of 6 FirstFirst 12345 ... LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Complete Form Tutorial
    By BobboHobbo in forum OSR Advanced Scripting Tutorials
    Replies: 10
    Last Post: 05-29-2012, 01:36 PM
  2. The Form Tutorial
    By Dan Cardin in forum OSR Advanced Scripting Tutorials
    Replies: 28
    Last Post: 03-03-2011, 04:42 AM
  3. Newbie Form Tutorial
    By Da 0wner in forum OSR Advanced Scripting Tutorials
    Replies: 45
    Last Post: 12-15-2009, 05:48 AM
  4. Form TPopupMenu tutorial
    By Freddy1990 in forum OSR Advanced Scripting Tutorials
    Replies: 13
    Last Post: 12-14-2009, 07:25 PM
  5. Ultimate form tutorial
    By jhildy in forum OSR Advanced Scripting Tutorials
    Replies: 9
    Last Post: 02-21-2008, 05:07 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
  •