"Able" <ab**************@portalen.no> schrieb
I have placed a Listbox on a Usercontrol. How do I move the Listbox
to upper left corner and make the listbox same size as usercontrol
when resizing usercontrol in designtime?
Have a look at the Dock property. To fully fill the Usercontrol, set it to
"Fill". The Anchor property might also be useful.
If there are no other controls in the Usercontrol and the Listbox always
totally fills the control, you might consider deriving your own Listbox from
the Listbox class instead of creating a Usercontrol.
--
Armin