I've done it many times before, but I'll try it again now...

...Yup, it still works.

Did you actually follow the steps I gave you?  Try it in the exact order I
specified.  If you don't dock the controls, or if you set their dock
property at the wrong time then the splitter will probably not appear
between the two controls, or will not resize both of them properly.  You
*must* have the controls docked as I described.  And they *must* be in the
correct Z order, which they will be if you follow the steps I described.
(If you dump them onto the form in some other order then it is possible to
fix it after you've done this.  But it's usually simpler to get it right in
the first place.)


--
Ian Griffiths
DevelopMentor

----- Original Message -----
From: "george antony" <[EMAIL PROTECTED]>


> Did u try this ...I am not able to put a splitter
> control in between  treeview and listview  on windows
> forms .net. .In VB U  can choose explorer style in
> creating a application Wizard..Is there anything .Net
> like that??
>
> regards
> gan
> --- Ian Griffiths <[EMAIL PROTECTED]> wrote:
> > Have you considered creating a form with a treeview
> > on one side and a list
> > view on the other?
> >
> > :-)
> >
> > Seriously though, what exactly do you need that
> > isn't trivial to achieve in
> > seconds?  Here's my standard explorer-style
> > application setup:
> >
> >  (1) Create a new Windows Application project
> >  (2) Drop a TreeView onto the form
> >  (3) Set the TreeView's Dock property to Left
> >  (4) Drop a Splitter control onto the form
> >  (5) Drop a ListView onto the form
> >  (6) Set the ListView control's Dock property to
> > Fill
> >
> > Does the VB application Wizard do anything else that
> > this doesn't do?
> >
> > (Obviously this puts the treeview on the left and
> > the listview on the right,
> > but I'm guessing that's what you meant to say -
> > that's the way round they
> > are in every version of Windows Explorer I've ever
> > used.)
> >
> >
> > --
> > Ian Griffiths
> > DevelopMentor
> >
> > ----- Original Message -----
> > From: "george antony" <[EMAIL PROTECTED]>
> >
> >
> > > it ia treeview on the right side and a list view
> > on
> > > the left side.
> > > --- franklin gray
> > <[EMAIL PROTECTED]>
> > > wrote:
> > > > you mean a treeview and a treelist?
> > > >
> > > > -----Original Message-----
> > > > From: george antony [mailto:[EMAIL PROTECTED]]
> > > >
> > > > Is there any way to get an Explorer style
> > interface
> > > > .Net like in Vb appication Wizard.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to