xxMariusxx
September 21st, 2000, 11:57 AM
Hi! I am very new to Visual J++ 6.0 (I just installed it last night) though I've programmed in Java since '98 (being a college student though, we just use the Solaris JDK and vi editor in lab). Maybe this is a retard question, but I'll ask it anyway.
I have a form...on the form I have a TabStrip (which contains 2 TabItem's). I want to put a treeView on one of the Tabs. Problem is, J++ won't make the treeview part of the tab...or more correctly, tabItem1 doesn't contain treeView1. If I run the application and switch tabs, the treeview is still visible over tabItem2.
My guess is treeView1 is contained by Form1, rather than tabItem1. But I've been racking my brain trying to fix this...it won't let me change treeView1's parent property...even though it has a setParent() method, J++ whine's at me telling me it has no parent property.
Any ideas? I think I'm just looking at this from the wrong angle...maybe I imagine the controls in J++ interact w/each other differently than they really do...
I have a form...on the form I have a TabStrip (which contains 2 TabItem's). I want to put a treeView on one of the Tabs. Problem is, J++ won't make the treeview part of the tab...or more correctly, tabItem1 doesn't contain treeView1. If I run the application and switch tabs, the treeview is still visible over tabItem2.
My guess is treeView1 is contained by Form1, rather than tabItem1. But I've been racking my brain trying to fix this...it won't let me change treeView1's parent property...even though it has a setParent() method, J++ whine's at me telling me it has no parent property.
Any ideas? I think I'm just looking at this from the wrong angle...maybe I imagine the controls in J++ interact w/each other differently than they really do...