Home All Groups Group Topic Archive Search About

Form objects resize on rebuilds

Author
16 Oct 2006 6:33 PM
BK
We have a strange problem that unfortunately occurs without warning or
reason.  We are using VS 2005.

Grids will sporadically resize themselves so that they no longer fit on
the form, thereby causing the scroll bars to "disappear".  We've tried
locking the grid, but that didn't help.  It only happens on rebuilds
and it doesn't always happen.  We now have to double check every form
with a grid just prior to a release build and want to find a real
solution.  

Any thoughts?  Anyone seen this before?

Author
16 Oct 2006 8:41 PM
Smokey Grindle
what autosize mode do you have your form set in?

Show quoteHide quote
"BK" <bkunn***@hotmail.com> wrote in message
news:1161023601.620522.308220@m7g2000cwm.googlegroups.com...
> We have a strange problem that unfortunately occurs without warning or
> reason.  We are using VS 2005.
>
> Grids will sporadically resize themselves so that they no longer fit on
> the form, thereby causing the scroll bars to "disappear".  We've tried
> locking the grid, but that didn't help.  It only happens on rebuilds
> and it doesn't always happen.  We now have to double check every form
> with a grid just prior to a release build and want to find a real
> solution.
>
> Any thoughts?  Anyone seen this before?
>
Author
17 Oct 2006 11:44 AM
BK
Smokey Grindle wrote:
> what autosize mode do you have your form set in?
>

The form isn't the problem, the grid inside the form is the problem.
FWIW, we've tried various combinations of anchoring and docking.  Also,
the grid is inside a pageframe.