Button size and location

  • Thread starter Thread starter Lou
  • Start date Start date
L

Lou

How can I get the size and location into 1 struct
Why is there a "size" variable but not a "loaction" variable

I dynamically create a button and want to store the location into a
rectangle variable
Is there a button property that stores both the size and location?
 
How can I get the size and location into 1 struct
Why is there a "size" variable but not a "loaction" variable

I dynamically create a button and want to store the location into a
rectangle variable
Is there a button property that stores both the size and location?

Why is there a "size" variable but not a "loaction" variable

Maybe because it's called Location and not loaction (sic) ?

Thanks,

Seth Rowe
 
Lou said:
How can I get the size and location into 1 struct
Why is there a "size" variable but not a "loaction" variable

I dynamically create a button and want to store the location into a
rectangle variable
Is there a button property that stores both the size and location?


Are you talking about Windows Forms or Web Forms? The standard Windows
Forms button control provides both a 'Location' and a 'Size' property.
 
Back
Top