PC Review


Reply
Thread Tools Rate Thread

How can i resize my screen?

 
 
=?Utf-8?B?R2lkaQ==?=
Guest
Posts: n/a
 
      24th Sep 2005
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.
 
Reply With Quote
 
 
 
 
Tim Wilson
Guest
Posts: n/a
 
      24th Sep 2005
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.



 
Reply With Quote
 
=?Utf-8?B?R2lkaQ==?=
Guest
Posts: n/a
 
      24th Sep 2005
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.

>
>
>

 
Reply With Quote
 
Tim Wilson
Guest
Posts: n/a
 
      24th Sep 2005
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.

> >
> >
> >



 
Reply With Quote
 
=?Utf-8?B?R2lkaQ==?=
Guest
Posts: n/a
 
      24th Sep 2005
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.
> > >
> > >
> > >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resize screen for PPT presentations ? E-Double Microsoft Powerpoint 3 29th May 2009 12:55 PM
Auto resize/fit to screen =?Utf-8?B?RGV2ZWxvcGVybWU=?= Microsoft Access Forms 5 26th Jun 2007 04:44 PM
Can't resize screen TLMM Microsoft Windows 2000 3 4th Mar 2004 03:57 PM
screen resize claude polese Microsoft Powerpoint 3 19th Feb 2004 05:34 PM
Dynamic resize on hi-res screen Vance Green Windows XP Internet Explorer 0 11th Aug 2003 02:35 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:53 AM.