Setting the location of a button
First off I am new to programming and would appreciate any assistance. Thanks in advance.
I am trying to use the System.Drawing.Point method:
1. to figure out the location of a button.
2. store the location of the button in a variable
3. set the location of another button to that previously found location
This is what I have come up with so far:
//store the original location of the eventDetails button
eventDetailsBtnLocation = System.Drawing.Point.this.btnEventDetails.Location;
But again I don’t event know what type to declare my variable: eventDetailsBtnLocation
Thanks,
Lee
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

jose.acidrain13 reputationPosted Feb 23, 2004, 9:56 AM EST
ibm2207 reputationPosted Mar 2, 2004, 9:24 AM EST