Group selected |
Post Reply |
Author | |
spbrady
Newbie Joined: 26 November 2007 Location: United States Status: Offline Points: 14 |
Post Options
Thanks(0)
Posted: 05 December 2007 at 11:50am |
My first group is expanded, but the group header is not selected. How do i make it so it appears selected?
How do i force an group item or an item to be selected? A code example would be great! Thanks |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Do you need move focus to group caption?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
spbrady
Newbie Joined: 26 November 2007 Location: United States Status: Offline Points: 14 |
Post Options
Thanks(0)
|
I believe that is what I need.
I need the group object (header) to have the focus. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
use FocusedItem property:
Set TaskPanel.FocusedItem = Group
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
spbrady
Newbie Joined: 26 November 2007 Location: United States Status: Offline Points: 14 |
Post Options
Thanks(0)
|
I tried doing that and I got an error:
TaskPanelGroup Group = axTaskPanel1.Groups.Find(ID_TASK_MODELS); axTaskPanel1.FocusedItem = Group; The group is found, not null and an error occurs on the second line. The Error is: "Cannot implicitly convert type 'XtreemTaskPanel.TaskPanelGroup' to 'XtremeTaskPanel.TaskPanelItem'. An explict conversion exists (are you missing a cast?) What am I doing incorrectly? Thanks |
|
spbrady
Newbie Joined: 26 November 2007 Location: United States Status: Offline Points: 14 |
Post Options
Thanks(0)
|
Ok i casted it and it worked...did nto think it was that easy.
Thanks for you help. |
|
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 |