![]() |
Update TaskPanel |
Post Reply ![]() |
Author | |
lexicon ![]() Groupie ![]() Joined: 26 January 2007 Status: Offline Points: 46 |
![]() ![]() ![]() ![]() ![]() Posted: 30 October 2007 at 9:09am |
How can i update the contents of the TaskPanel after creation?
Thank you
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
???
What you can't do?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
lexicon ![]() Groupie ![]() Joined: 26 January 2007 Status: Offline Points: 46 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |