Welcome to the Xceed Community | Help
Community Search  

ExplorerTaskPane and "main zone"

Sort Posts: Previous Next
  •  04-03-2007, 4:01 AM Post no. 5872

    ExplorerTaskPane and "main zone"

    Hi,

    this is quite a beginner question but I would like some advise on how to correctly/nicely perform the following:
    1) I have an explorer taskpane on the left of my main form, let's call it "Menu" ;)
    2) I have the left over zone, the "Main" zone

    How can I easily design my forms and add it dynamically to the Main zone when clicking on the smarttask items of the Menu?
    For the moment, I would use a panel filling the whole Main zone, and adding a usercontrol into this panel on menu items click.

    I hope I'm clear, and I'm waiting for your advices (or code samples).

    Thanks
    Eric
  •  04-03-2007, 2:21 PM Post no. 5873 in reply to 5872

    Re: ExplorerTaskPane and "main zone"

    Can you confirm that you are indeed using the ActiveX version of SmartUI in Viusal Basic 6? We do not have a ExplorerTaskPane in this version however, you maybe created your own.
    Mathieu Drimonakos
    -Technical Designer-
  •  04-04-2007, 3:46 AM Post no. 5874 in reply to 5873

    Re: ExplorerTaskPane and "main zone"

    Oups... sorry I picked up the "Smart UI forum" but didn't pay enough attention to the parent forum "ActiveX".
    This post should be in the "other winforms .Net" section.

    I will detail my solution so far:
    1) an explorertaskpane as "menu"
    2) a panel filling the whole space left as "main"
    3) on "itemtask" click in the menu, I do the following:
    private void loadMain(Control control, String title)
    {
    this.pnlMain.Visible = false;
    this.pnlMain.Controls.Clear();
    this.pnlMain.Controls.Add(control);
    control.Dock = DockStyle.Fill;
    this.Text = title;
    this.pnlMain.Visible = true;
    }

    The "control" is simply a personal UserControl containing the gui part. This way I can easily design each usercontrol.
    What do you think ?

    ps: thanks if you can move the topic ;)
  •  04-04-2007, 3:33 PM Post no. 5875 in reply to 5874

    Re: ExplorerTaskPane and "main zone"

    This is not really related to SmartUI. You are probably looking more for an MDI environment. You can look at the FolderExplorer sample, it demonstrates something like you want.

    Under XP :

    C:\Program Files\Xceed Components\Xceed SmartUI for .NET <version>\Samples\CSharp\Advanced\FolderExplorer

    Under Vista :

    C:\Xceed Component Samples\Xceed SmartUI for .NET <version>\Samples\CSharp\Advanced\FolderExplorer
    André
    Software Developer and Tech Support
    Xceed Software Inc.
  •  04-05-2007, 3:48 AM Post no. 5876 in reply to 5875

    Re: ExplorerTaskPane and "main zone"

    Hello,

    yes it's more related on how people use smart explorer. It's cool to have a nice menu but you still need a way to handle the content part.

    anyway, I already had checked the sample. But I must confess I'm not a big fan of MDI env. It's not far from I look for, but I don't want a lot of children forms "lost" in the content part.
    That's why I'm actually using this "content panel" and clearing it each time a menu entry is chosen.

    Yet I will take another look the the MDI sample.

    Thanks for your advices.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.