By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,987 Members | 971 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,987 IT Pros & Developers. It's quick & easy.

WinPanel Align

P: n/a
Hello,

I just started studying WinForms and first problem i got when i dropped a
panel on the form and wanted to do:

Panel.Align = alClient

but... WinPanel doesn't have such member!!!

How do i align a panel on the form in design-time?

Thank you,
Andrey
Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
There is no "Align" property, but there are Dock and Anchor properties on
all controls. Try playing with the Dock and Anchor properties to see if they
fit your needs.

"MuZZy" <le*******@yahoo.com> wrote in message
news:G8Q0c.159913$uV3.707785@attbi_s51...
Hello,

I just started studying WinForms and first problem i got when i dropped a
panel on the form and wanted to do:

Panel.Align = alClient

but... WinPanel doesn't have such member!!!

How do i align a panel on the form in design-time?

Thank you,
Andrey

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.