Results 1 to 4 of 4

Thread: Forms Button click!

  1. #1
    Join Date
    Aug 2006
    Posts
    151
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Forms Button click!

    Well instead of writing out the usernames and passes into the forms i figured its time to learn how to make the button click go to SRL Random player forms or whatever the include is({.include SRL\SRL\misc\PlayerForm.Scar) so the person can set up his players thier
    ~thnx to all that help ahead of time!

  2. #2
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    call setupplayers on the button click

  3. #3
    Join Date
    Aug 2006
    Posts
    151
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    procedure ButtonClick(sender: TObject);
    begin
    frmDesign.Caption:= frmDesign.Caption + '.';
    frmDesign.ModalResult:= PlayerForm;
    end;

    Would it be something like that or where would i put it?

  4. #4
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    procedure ButtonClick(sender: TObject);
    begin
    if sender = (whateverbutton) then setupplayers;
    end;

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How do you click and hold mouse button?
    By Kasmember13 in forum OSR Help
    Replies: 1
    Last Post: 01-18-2009, 09:33 PM
  2. color picker button in forms?
    By RudeBoiAlex in forum OSR Help
    Replies: 4
    Last Post: 10-25-2007, 07:39 PM
  3. Find a Chest & Left Click,Right Click
    By yanix in forum OSR Help
    Replies: 3
    Last Post: 10-03-2007, 06:40 PM
  4. Button click and savesettings?
    By wtf i sp4nk in forum OSR Help
    Replies: 2
    Last Post: 02-07-2007, 02:13 AM

Posting Permissions

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