![]() |
Group selected |
Post Reply
|
| Author | |
spbrady
Newbie
Joined: 26 November 2007 Location: United States Status: Offline Points: 14 |
Post Options
Thanks(0)
Quote Reply
Topic: Group selectedPosted: 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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 December 2007 at 12:40pm |
|
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)
Quote Reply
Posted: 05 December 2007 at 12:44pm |
|
I believe that is what I need.
I need the group object (header) to have the focus. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 December 2007 at 1:04am |
|
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)
Quote Reply
Posted: 06 December 2007 at 9:56am |
|
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)
Quote Reply
Posted: 06 December 2007 at 9:59am |
|
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 |