How can i resize my screen?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I created a form that contains datagrid, buttons,textbox and etc. i want to
set my window to the maximum size when the form is loaded, i changed the
window size property to maximum, but now all my form object are set like the
window size is normal, how can i set my objects to be where i put them (i
want that no matter what the window's size is, the object will be placed
always at the same place).

Thanks,
Gidi.
 
Hi Tim,
Thanks,

i tried but then i have another problem: my form is designed like this:
i have a group of buttons, lets say that their position is X.
then i have few more groups of buttons that are not visible and click the
relevent button will show the specific group of buttons, it goes something
like this:
X
X
X
X
i tried to anchor the first group (the main group), and it worked just fine.
but i couldn't make the other groups to be anchord too, to the position i
want them to be (like when the window is in normal size).

how can i fix it?

thanks,
Gidi.
 
Are you looking to center the groups of buttons when the form is maximized
or are you more interested in expanding the groups of buttons to fill the
extra space? If it's the latter, then you should be able to work out the
anchoring, and then depending on the button layout you may need to do some
manual calculations to spread out the buttons, if applicable. When you state
that "i couldn't make the other groups to be anchord too, to the position i
want them to be (like when the window is in normal size)", can you describe
in more detail what you expect to see?
 
Tim thanks again for your quick reply.
I found my problem, and i manged to do what i wanted using the Anchor
property.

Thank you very much.
Gidi.
 

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

Back
Top