Print Page | Close Window

TaskPanel and Groups

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3297
Printed Date: 17 November 2024 at 11:43am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TaskPanel and Groups
Posted By: SteveStraley
Subject: TaskPanel and Groups
Date Posted: 28 November 2005 at 12:39pm
Hi,

Is it possible to have SUB-groups within a TaskPanel group?

Thanks,

Steve



Replies:
Posted By: Oleg
Date Posted: 28 November 2005 at 1:47pm
no.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: SteveStraley
Date Posted: 28 November 2005 at 4:37pm
Oleg,

Thank you.   Any plans for this?

Steve


Posted By: Oleg
Date Posted: 29 November 2005 at 1:02am

 

 

 

Hmm.. You can try to insert one task panel to another using xtpTaskItemTypeControl:

    Set Group = TaskPanel1.Groups.Add(1, "Group1")
    Group.Items.Add 1, "Item1", xtpTaskItemTypeLink, 1
    Group.Items.Add 2, "Item2", xtpTaskItemTypeLink, 1
    Set Item = Group.Items.Add(2, "Item3", xtpTaskItemTypeControl, 1)
    Item.Control = TaskPanel2



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: SteveStraley
Date Posted: 29 November 2005 at 12:40pm
Oleg -

Thank you... that is EXACTLY what I was looking for.   Much obliged!

Steve


Posted By: Oleg
Date Posted: 02 December 2005 at 2:06pm

Hi,

 

For your C# 2005 code will looks like:

 

private void Form1_Load(object sender, EventArgs e)

{

XtremeTaskPanel.TaskPanelGroup Group = axTaskPanel2.Groups.Add(1, "Group1");

Group.Items.Add(1, "Item1", XtremeTaskPanel.XTPTaskPanelItemType.xtpTaskItemTypeLink, 1);

Group.Expandable = false;

Group = axTaskPanel1.Groups.Add(1, "Group1");

Group.Items.Add(1, "Item1", XtremeTaskPanel.XTPTaskPanelItemType.xtpTaskItemTypeLink, 1);

Group.Items.Add(2, "Item2", XtremeTaskPanel.XTPTaskPanelItemType.xtpTaskItemTypeLink, 1);

XtremeTaskPanel.TaskPanelGroupItem Item = Group.Items.Add(2, "Item3", XtremeTaskPanel.XTPTaskPanelItemType.xtpTaskItemTypeControl, 1);

Item.Handle = axTaskPanel2.hWnd;

axTaskPanel2.Parent = axTaskPanel1;

}



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net