Print Page | Close Window

Update TaskPanel

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Task Panel
Forum Description: Topics Related to Codejock Task Panel
URL: http://forum.codejock.com/forum_posts.asp?TID=8599
Printed Date: 22 November 2024 at 12:02am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Update TaskPanel
Posted By: lexicon
Subject: Update TaskPanel
Date Posted: 30 October 2007 at 9:09am
How can i update the contents of the TaskPanel after creation?
Thank you



Replies:
Posted By: Oleg
Date Posted: 30 October 2007 at 10:18am
???
What you can't do?


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


Posted By: lexicon
Date Posted: 30 October 2007 at 2:03pm
I'm creating like in the example
 
    Set Group = wndTaskPanel.Groups.Add(0, "Tasks")
    'Group.Tooltip = "These tasks apply to your computer"
    Group.Special = True
    Group.Items.Add ID_TASKITEM_HIDECONTENTS, "Task1", xtpTaskItemTypeLink, 5
    Group.Items.Add ID_TASKITEM_HIDECONTENTS, "Task2", xtpTaskItemTypeLink, 1
    Group.Items.Add ID_TASKITEM_ADDORREMOVE, "Task3", xtpTaskItemTypeLink, 3
    Group.Items.Add ID_TASKITEM_SEARCH, "Task4", xtpTaskItemTypeLink, 12
example:
I want to add an item between the task1 and tast2 and i want to change the text to Task3 to something else


Posted By: Oleg
Date Posted: 31 October 2007 at 2:18am

Hi

to insert
wndTaskPanel.Groups(0).Items.Insert(....);
 
to set text
wndTaskPanel.Groups(0).Items(3).Caption = "New Caption"


-------------
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