Treeview and Tab Controls

FloBob

Registered User.
Local time
Today, 14:57
Joined
Jul 19, 2002
Messages
108
I am having a bit of an issue using treeview with a tab control. Has anyone else had this problem? It is a hard issue to explain so I have attached an ss, but to be breif it seems that when you place the treeview on the tab itself and then run the form it places the treeview control in the top left hand corner.
 

Attachments

  • Treeview.JPG
    Treeview.JPG
    87.8 KB · Views: 366
You have a listbox, not a tree view.

Tabs can be contancerous when placing controls on them. Cut you listbox, then select the tab it is to appear on, then paste.
 
P no thats a treeview... I just dont have any pictures attached to it. and I know how to place it on the tab.. what I am saying is when I run the form, from design view it pops the treeview up to the top left corner. I dont know why it does this because in design view it is firmly planted on the tab control itself. Thanks for the reply though, any thoughts? If you notice that white area inside the tab it seems as though thats the place holder because that is where I originally put the treeview. Please forgive me if I am not explaining this properly.
 
I don't know what "treeview" your describing. The common dialog? A class view? If it's an Access function, I've never used it. Treeview is not in the Access Help index.
 
TreeView full name is Microsoft TreeView control 6 (sp2) many people use them for menus, if you look up on the website for treeview I am sure you will find many entries. Basically if you go to explorer and look in the left hand window where you can plus and minus items and select from them, That is what a treeview is. I have attached an example of a working treeview.
 

Attachments

  • TreeView2.jpg
    TreeView2.jpg
    24.3 KB · Views: 262
Looks great. Is it an ActiveX control?

I've used Access since '92 and have never seen or read about that control.

Otherwise, I'm young and inexperienced. lol
 
Yah its active X I currently use A2k so if you dont have the version I am not sure if you have that option or not... but I use it when I can. Anyway Does anyone have a solution to my original problem I am very excited to use this control but if it will not work properly obviously that means I am limited to a list box. Thanks in advance.
 
Found it.

When I inserted the control on a form, it would not go onto a particular tab. I cut the control and then selected, one of several tabs, and pasted it . It has Left, Top, etc. properties and can be sized like like any other control.
 

Users who are viewing this thread

Back
Top Bottom