Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - How to dynamically add controls to a Pane
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to dynamically add controls to a Pane

 Post Reply Post Reply
Author
Message
coucouman View Drop Down
Newbie
Newbie


Joined: 22 July 2005
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote coucouman Quote  Post ReplyReply Direct Link To This Post Topic: How to dynamically add controls to a Pane
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 22 July 2005 at 11:12am

 

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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.