Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Task Panel
  New Posts New Posts RSS Feed - Update TaskPanel
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Update TaskPanel

 Post Reply Post Reply
Author
Message
lexicon View Drop Down
Groupie
Groupie


Joined: 26 January 2007
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote lexicon Quote  Post ReplyReply Direct Link To This Post Topic: Update TaskPanel
    Posted: 30 October 2007 at 9:09am
How can i update the contents of the TaskPanel after creation?
Thank you
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 30 October 2007 at 10:18am
???
What you can't do?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
lexicon View Drop Down
Groupie
Groupie


Joined: 26 January 2007
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote lexicon Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.