How to add Tree Panel

How to add tree panel in to VB MDI Form

Page 1 of 1

6 Replies - 3589 Views - Last Post: 04 April 2010 - 05:46 AM Rate Topic: -----

#1 abshaman  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 36
  • Joined: 11-December 09

How to add Tree Panel

Posted 02 April 2010 - 05:08 PM

How to add tree panel in to VB MDI Form
Like this
http://www.dreaminco...47669_thumb.jpg

Attached image(s)

  • Attached Image

This post has been edited by abshaman: 02 April 2010 - 05:09 PM

Is This A Good Question/Topic? 0
  • +

Replies To: How to add Tree Panel

#2 Guest_Guest*


Reputation:

Re: How to add Tree Panel

Posted 02 April 2010 - 07:21 PM

Hi,
I don't think it is easy to add controls to MDI forms however you can add Tree panel to MDI child form.

thankx
Was This Post Helpful? 0

#3 vb5prgrmr  Icon User is offline

  • D.I.C Lover

Reputation: 109
  • View blog
  • Posts: 1,016
  • Joined: 21-March 09

Re: How to add Tree Panel

Posted 02 April 2010 - 10:08 PM

Add a picturebox control to the MDI Parent form... did you see how it snapped to the top? Presently, it is aligned 1-Top (see properties). Make it aligned left and then adjust its width to what you want. Now, you will also notice that if you make a child form visible while the picture box is visible in the parent form, the child does not cover the picture box. In fact, the area taken up by the picture box is unavailable to the child but if you make the picturebox.visible=false, then the child form will be able to occupy that space. So now that you have the picturebox sized and anchored to where you want it, you can now draw the treeview control in it and size it.



Good Luck
Was This Post Helpful? 0
  • +
  • -

#4 abshaman  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 36
  • Joined: 11-December 09

Re: How to add Tree Panel

Posted 03 April 2010 - 05:50 PM

Thanks I Do it...

But I don't know how to create code for treeView Please give me simple codes
1-How to add text to list
2-click on tree text
3-(+)(-) etc...
Was This Post Helpful? 0
  • +
  • -

#5 vb5prgrmr  Icon User is offline

  • D.I.C Lover

Reputation: 109
  • View blog
  • Posts: 1,016
  • Joined: 21-March 09

Re: How to add Tree Panel

Posted 03 April 2010 - 06:43 PM

Well part of that is in the custom properties of the control, as for the rest of it, you can find out how to add nodes in the help files as there is an example...



Good Luck
Was This Post Helpful? 0
  • +
  • -

#6 abshaman  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 36
  • Joined: 11-December 09

Re: How to add Tree Panel

Posted 04 April 2010 - 05:24 AM

I have no help file
Please give me a simple example project
Was This Post Helpful? 0
  • +
  • -

#7 vb5prgrmr  Icon User is offline

  • D.I.C Lover

Reputation: 109
  • View blog
  • Posts: 1,016
  • Joined: 21-March 09

Re: How to add Tree Panel

Posted 04 April 2010 - 05:46 AM

You mean MSDN over at Microsoft.com is down???
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1