Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Ribbon Tech Support » Page Container Collapse All
Subject Author Date
Humphrey Ngoiya Jan 7, 2010 - 6:36 AM

am trying to make a dialog application that makes use of Page Containers, nothing seems to be working. how do i make form1 to appear within panel1

Humphrey Ngoiya Jan 11, 2010 - 1:07 AM

Sorry for the miss communication, but am acutally using usercontrol.


in the normal vb.net, adding a usercontol to a panel is as easy as


Dim tempObject As New firstControl
        pnlMain.Controls.Clear()  pnlMain is the Panel.

        pnlMain.Controls.Add(tempObject)

how is it done on elegant ribbon since Elegant.UI.Panel.controls is not a member of the class?

Technical Support Jan 29, 2010 - 5:26 AM

Elegant.UI.Panel is inherited from the System.Windows.Forms.Control. So actually the Controls property is available in Elegant.UI.Panel. Could you elaborate?

Technical Support Jan 8, 2010 - 8:04 AM

Why wouldn’t you use a UserControl instead of the Form class?