Wrox Programmer Forums
|
BOOK: Beginning Visual C#
This is the forum to discuss the Wrox book Beginning Visual C#, Revised Edition of Beginning C# for .NET v1.0 by Karli Watson, David Espinosa, Zach Greenvoss, Jacob Hammer Pedersen, Christian Nagel, Jon D. Reid, Matthew Reynolds, Morgan Skinner, Eric White; ISBN: 9780764543821
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 11th, 2005, 02:01 AM
Registered User
 
Join Date: Jul 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default about move the button

hello...

i'm hendra
i'm from indonesia

okey, i learn visual c#. and then i found confuse in visual c# about how to move the button.

first in tools we make the button and then we put it in form.
for example button where we put it in form in properties have location.x=36 and location.y=72. and my question is how the button move, every i push button right in the keyboard the location.x increment 1 otherwise we push button left in the keyboard the location.x decrement 1.

please help me to explaination it.
with example how we make it into coding in visual c#


thank you......

sorry my english is bad

 
Old August 2nd, 2005, 11:25 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

I know its too late but:
u'll have 2 variable (MXpos for X location & MYpos for Y location).
set MXpos & MYpos for button postion & then increase & decrease the MXpos & MYpos in MouseClick event checking the click was right or left.

HTH.

Always:),
Hovik Melkomian.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Make a image button as default submit button toshi ASP.NET 1.0 and 1.1 Basics 1 June 1st, 2006 05:25 AM
Loop and move next surendran PHP How-To 3 July 27th, 2004 12:17 PM
How to move sections lxken XSLT 5 April 28th, 2004 06:44 PM
Button acts depending on radio button values janise Access 4 March 10th, 2004 12:53 AM
Move Next, Previous, First and Last nvillare Classic ASP Basics 1 August 1st, 2003 04:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.