Results 1 to 3 of 3

Thread: Clicking in Delphi?

  1. #1
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default Clicking in Delphi?

    How do you click in delphi? Thanks
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  2. #2
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Code:
    procedure ClickMouse(x, y: Integer; Left: Boolean);
    begin
      if(Left)then
      begin
        mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0, 0);
        mouse_event(MOUSEEVENTF_LEFTUP, x, y, 0, 0);
      end else begin
        mouse_event(MOUSEEVENTF_RIGHTDOWN, x, y, 0, 0);
        mouse_event(MOUSEEVENTF_RIGHTUP, x, y, 0, 0);
      end;
    end;

  3. #3
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Thanks Bullzeye. I was looking in the help manual everywhere.
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Which Delphi Ide is the best?
    By ShowerThoughts in forum Delphi/FPC Help and Tutorials
    Replies: 6
    Last Post: 06-01-2008, 12:01 AM
  2. Delphi 7 & Delphi 7 SE Downloads
    By Freddy1990 in forum Delphi/FPC Help and Tutorials
    Replies: 5
    Last Post: 05-21-2007, 04:08 PM
  3. Delphi For PHP
    By TOB in forum News and General
    Replies: 1
    Last Post: 03-12-2007, 02:15 AM
  4. Delphi?
    By ub3r |<1||3r*1337* in forum News and General
    Replies: 7
    Last Post: 06-03-2006, 12:16 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
  •