So right now, I have it working by adding up the control sizes and
setting the form size accordingly. This will suffice for now - until I
get a better suggestion.
One other thing I notice is that there are three striped diagnol lines
in the bottom right hand corner - indicating the user can resize the
form. I don't want to allow that - how can I both make the form
non-resizeable and remove those diagnol lines.
Thanks again,
Novice
illegal.pr...@gmail.com wrote:
> Correction - I am adding the controls to a panel that is docked to the
> top of the form.
[quoted text clipped - 14 lines]
> > Thanks for any suggestions,
> > Novice
illegal.prime@gmail.com - 06 Jul 2006 04:58 GMT
Ah - I can just set the FormBorderStyle to FixedDialog.
Now if anyone has a better suggestion for the form resizing I would be
thankful. I seem to remember there is a ShrinkToFit property or
something like that. The code currently works, but no sense in
inventing my own way of doing something when it is already done and
more importantly in a standard way.
Thanks,
Novice
illegal.pr...@gmail.com wrote:
> So right now, I have it working by adding up the control sizes and
> setting the form size accordingly. This will suffice for now - until I
[quoted text clipped - 27 lines]
> > > Thanks for any suggestions,
> > > Novice