However, since each Textbox has its .Dock property set to Top, the Textbox
controls have no space between them. I'd like to have some space between the
Textbox controls. How can this be easily achieved? Or should I be satisfied
that the Textbox controls have a common top and bottom edge?
What I am trying to achieve is a vertically stacked set of Textboxes, with
some vertical space between them, that will automatically resize in width as
the panel changes width.
Thanks!
> However, since each Textbox has its .Dock property set to Top, the
> Textbox controls have no space between them. I'd like to have some space
> between the Textbox controls. How can this be easily achieved?
Just put another control between them, also Dock.Top. A blank label would
work, or if you want to get sexy try a splitter.
--
Bert Hyman St. Paul, MN be...@visi.com
> What I am trying to achieve is a vertically stacked set of Textboxes, with
> some vertical space between them, that will automatically resize in width as
> the panel changes width.
Then you don't need Dock at all, you just need to anchor the Textboxes
to the left and right edges of their container (the Panel). They will
then resize as the panel is resized.
"Kevin P. Fleming" <kpfl...@cox.net> wrote in message
news:3ETQb.11567$bg1.6749@fed1read05...