Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 05-08-2014, 01:25 AM
delphimpd delphimpd is offline
Senior Member
 
Join Date: Oct 2006
Posts: 701
Default Button Click (Practical Joke)

Hi and thanks for the help in advanced.

I never done this but I want to run a practical joke to a friend of mine which uses a program I developed. The joke consist on the following:

1. He enters his user id, and password (The system automatically recognizes that he is the user who I want to do the joke)
2. When he uses the mouse to enter and try to click on the Login button, I want the login button to move to any random place in the form (Window).
3. He will follow the button and when he enters the button with his mouse again, the button will move again, and again this way he will be going nuts trying to catch the button all over the window, I am planning to film him, to later put it on youtube. I will post the link here.

I hope you can help me with the code on this.

Thanks

Best regards
Reply With Quote
  #2  
Old 05-08-2014, 06:12 AM
kolbasz kolbasz is offline
Senior Member
 
Join Date: Nov 2013
Posts: 841
Default

Your code is ready(see attachment).
Please change JokedUser and JokedPass:
Code:
const
   JokedUser = 'admin';
   JokedPass = 'admin';
If you have any problems feel free to ask.
Attached Files
File Type: zip Joke.zip (10.0 KB, 11 views)
Reply With Quote
  #3  
Old 05-08-2014, 11:39 AM
delphimpd delphimpd is offline
Senior Member
 
Join Date: Oct 2006
Posts: 701
Default

LOL Freaking million Times, that was Awesome

Thank you so much kolbasz!!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 02:41 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.