![]() |
Update TaskPanel |
Post Reply
|
| Author | |
lexicon
Groupie
Joined: 26 January 2007 Status: Offline Points: 46 |
Post Options
Thanks(0)
Quote Reply
Topic: Update TaskPanelPosted: 30 October 2007 at 9:09am |
|
How can i update the contents of the TaskPanel after creation?
Thank you
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 October 2007 at 10:18am |
|
???
What you can't do?
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
lexicon
Groupie
Joined: 26 January 2007 Status: Offline Points: 46 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
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 |