![]() |
Adding control into group vb.net |
Post Reply ![]() |
Author | |
swaykid ![]() Newbie ![]() ![]() Joined: 16 November 2006 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() Posted: 30 July 2007 at 4:22am |
We are converting a vb6 app to vb.net and virually all of the code to create the task panels is the same, which is nice.
However when attempting to insert controls (in this case a treeview) in a group panel the control appears outside the and above the group panel
![]() The code here works perfectly in vb6 and the strange thing is that when the group is expanded you can see the treeview placed correctly, once expanded it shift up to the position shown.
Any ideas? |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
try to put tree toControls collection of taskapnel:
tp1.Controls.Add TreeView1...
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
swaykid ![]() Newbie ![]() ![]() Joined: 16 November 2006 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
cheers, that worked a treat
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |