How to dynamically add controls to a Pane |
Post Reply |
Author | |
coucouman
Newbie Joined: 22 July 2005 Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 22 July 2005 at 4:50am |
Hi,
I create some Panels with this code (SDI Sample) : Dim A as Pane Set A = DockingPaneManager.CreatePane(1, 200, 120, DockLeftOf) A.Title = "Pane A" DockingPaneManager.ImageList = imlPaneIcons my Problem is that I'm not able to create control on that Pane at runtime like I usually do under VB6 : Dim Ctrl as control set Ctrl = Controls.Add(myControlType,myName,myContainer) as I can't know what is the Container to use in a Pane. Anyone can help please ? Best regards. Arthur. PS : I'm using VB6 + XtremeSuitePro 9.70 Trial under XP. PS2 : Oups, sorry, I should have post this in XtremeSuite Pro forum or Xtreme Docking Pane.. Edited by coucouman |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
So you must create Form object and dynamically add controls on this from . After you can attach it to Pane. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |