Button size and location

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?
 
R

rowe_newsgroups

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
 
H

Herfried K. Wagner [MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top