Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Task Panel
  New Posts New Posts RSS Feed - I Want remove selected items...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

I Want remove selected items...

 Post Reply Post Reply
Author
Message
mozaheb View Drop Down
Senior Member
Senior Member


Joined: 03 April 2008
Status: Offline
Points: 104
Post Options Post Options   Thanks (0) Thanks(0)   Quote mozaheb Quote  Post ReplyReply Direct Link To This Post Topic: I Want remove selected items...
    Posted: 25 April 2010 at 6:36am
Hi all

Please help me for how unselect the selected items in taskpanel:

please sea example :
________________________________
http://www.amootco.com
Amoot Data Processing
Back to Top
mozaheb View Drop Down
Senior Member
Senior Member


Joined: 03 April 2008
Status: Offline
Points: 104
Post Options Post Options   Thanks (0) Thanks(0)   Quote mozaheb Quote  Post ReplyReply Direct Link To This Post Posted: 27 April 2010 at 2:28am
no reply?
________________________________
http://www.amootco.com
Amoot Data Processing
Back to Top
cmm2006 View Drop Down
Senior Member
Senior Member


Joined: 26 September 2006
Status: Offline
Points: 118
Post Options Post Options   Thanks (0) Thanks(0)   Quote cmm2006 Quote  Post ReplyReply Direct Link To This Post Posted: 27 April 2010 at 5:16pm

hi,

do you mean that you don't want the selected item to be expanded?
 
Language: Visual Basic 6 SP6
OS: Windows XP Pro SP3
Product: Codejock Xtreme SuitePro 13.1
Back to Top
mozaheb View Drop Down
Senior Member
Senior Member


Joined: 03 April 2008
Status: Offline
Points: 104
Post Options Post Options   Thanks (0) Thanks(0)   Quote mozaheb Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2010 at 2:07am
hi,
 
no i want change state of selected item with code, when i click item in task panel the item is selected; i want unselect the item with code.
 
please help me.
________________________________
http://www.amootco.com
Amoot Data Processing
Back to Top
dentor View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2005
Location: France
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote dentor Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2010 at 2:32am
Hello Mozaheb,
 
For your problem, you can write:
 
------------------------------------------------------------------------------
Dim i as long, j as long
 
With TaskPanel
For i = 1 to .Groups.count
For j = .Groups(i).Count to 1 step -1
If .Groups(i).Items(j).selected = True Then
.Groups(i).Items(j).Remove
End If
Next
Next
End With
-------------------------------------------------------------------------------
 
Hoping, it will give you some help...
 
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0 SP 6
Back to Top
dentor View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2005
Location: France
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote dentor Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2010 at 2:37am
Sorry, I didn't see your last post:
 
You can change the line:
        .Groups(i).Items(j).Remove
 
By
        .Groups(i).Items(j).Selected = False
 
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0 SP 6
Back to Top
dentor View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2005
Location: France
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote dentor Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2010 at 2:42am
Have you try:
 
Private sub TaskPanel_ItemClick((ByVal Item As XtremeTaskPanel.ITaskPanelGroupItem)
 
         Item.Selected = False
End Sub
 
 
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0 SP 6
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.187 seconds.