Finding Group Height |
Post Reply |
Author | |
John31
Groupie Joined: 08 December 2005 Location: United States Status: Offline Points: 70 |
Post Options
Thanks(0)
Posted: 11 May 2006 at 9:13am |
Is there a way to get the group height when expanded. If you look at the attached screen shot I need to know the height of the Emergency Tickets Group when expanded so I can adjust the height of the Item Control. Is this possible? |
|
Regards
John Layton |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello, In some old version was added AutoHeight parameter to fit height: call Item.SetSize x, 0, True |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
John31
Groupie Joined: 08 December 2005 Location: United States Status: Offline Points: 70 |
Post Options
Thanks(0)
|
That worked. Be nice to have this documented somewhere!!!! |
|
Regards
John Layton |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
From SymbolReference.chm:
SetSize Method DescriptionThe SetSize method sets the size (width\height) of the item. SyntaxPublic Sub SetSize( _
ByVal cx As Long, _
ByVal cy As Long, _
ByVal AutoHeight As Boolean _
)
Parameters
See Also |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
John31
Groupie Joined: 08 December 2005 Location: United States Status: Offline Points: 70 |
Post Options
Thanks(0)
|
Thanks. FYI the SetSize method does not show up in intellisense
|
|
Regards
John Layton |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, It is because you declare item as TaskPanelItem and not as TaskPanelGroupItem... |
|
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 |