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.
"Tim Wilson" wrote:
> 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 Wilson
> ..NET Compact Framework MVP
>
> "Gidi" <(E-Mail Removed)> wrote in message
> news:6B5E0FE9-6DFA-4190-996A-(E-Mail Removed)...
> > 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.
> >
> > "Tim Wilson" wrote:
> >
> > > Have a look at the Anchor property for the appropriate controls.
> > >
> > > --
> > > Tim Wilson
> > > ..Net Compact Framework MVP
> > >
> > > "Gidi" <(E-Mail Removed)> wrote in message
> > > news:5F169490-F793-45B8-A675-(E-Mail Removed)...
> > > > 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.
> > >
> > >
> > >
>
>
>
|