Windows Anchoring

G

Guest

Hello all

Okay, the problem I am having is a weird one. I am unable to reproduce it, so all I have is the client's computer it is happening on

The computer is using Windows 2000 SP4 using the .NET framework 1.1. I have a form with two panels. The right panel is set to (Top, Bottom, Left, Right) and the left panel is set to (Top, Bottom, Left). So now what happens is that anytime the for is resized, the left panel will stay the same width but will adjust its height to the size of the window height. The right panel will grow and shrink with the main window (including the width). In the Right pane there is a user control that has a toolbar at the bottom. The control's anchor is set to (Top, Bottom, Left, Right). So if the right pane shrinks or increases in size, so will the user custom control. The form is set to maximize on load. This behaviour is observed on all machines that the form is running except one

One of the computers, when it runs the form, display's the behaviour but not the initial view. Initially the form shows the control and the toolbar on the bottom. But on this machine the toolbar doesnt show up. It looks as though the user control's height was expanded so as to hide the toolbar. And as I resize the form, the behaviour kicks in, and the panels grow and shrink accordingly.

So the problem is that this machine is not showing the toolbar because it is past the form size. Can anyone tell me or have an inkling as to why this is happening. I am unable to reproduce the problem and I have not seen any other computer display this problem

Thank

Jaime
 
A

Aaron Queenan

Check that the initial form size (as seen in the VS IDE) is smaller than
their display size. The geometry management doesn't seem to cope too well
if it is larger.

Regards,
Aaron Queenan.

Jaime said:
Hello all,

Okay, the problem I am having is a weird one. I am unable to reproduce
it, so all I have is the client's computer it is happening on.
The computer is using Windows 2000 SP4 using the .NET framework 1.1. I
have a form with two panels. The right panel is set to (Top, Bottom, Left,
Right) and the left panel is set to (Top, Bottom, Left). So now what
happens is that anytime the for is resized, the left panel will stay the
same width but will adjust its height to the size of the window height. The
right panel will grow and shrink with the main window (including the width).
In the Right pane there is a user control that has a toolbar at the bottom.
The control's anchor is set to (Top, Bottom, Left, Right). So if the right
pane shrinks or increases in size, so will the user custom control. The
form is set to maximize on load. This behaviour is observed on all machines
that the form is running except one.
One of the computers, when it runs the form, display's the behaviour but
not the initial view. Initially the form shows the control and the toolbar
on the bottom. But on this machine the toolbar doesnt show up. It looks as
though the user control's height was expanded so as to hide the toolbar.
And as I resize the form, the behaviour kicks in, and the panels grow and
shrink accordingly.
So the problem is that this machine is not showing the toolbar because it
is past the form size. Can anyone tell me or have an inkling as to why this
is happening. I am unable to reproduce the problem and I have not seen any
other computer display this problem.
 
G

Guest

Aaron
I changed the resolution of the client machine to 1280x768 and the initial size of the form is 776x680. After launching the form, i saw the same behaviour. So it did not work. Sorry.

Anyone have any other ideas

Thank
Jaime
 
G

Guest

I have also tried to make the original size of the form much smaller then 640x480 desktops. Afterinstalling it on the client machine, it still did not change anything

Does anyone even have any clue as to how to go about debugging and reproducing something like this

Thanks
Jaime
 

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

Similar Threads

Anchoring issue. 1
Inherited form control anchoring 4
Anchoring/overlaying control issue 2
Anchoring question 1
How to use panels 1
Extend size of non client area 0
Anchoring problem 3
Scroll bars and docking 1

Top