Print Page | Close Window

Finding Group Height

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Task Panel
Forum Description: Topics Related to Codejock Task Panel
URL: http://forum.codejock.com/forum_posts.asp?TID=4194
Printed Date: 03 May 2024 at 6:24pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Finding Group Height
Posted By: John31
Subject: Finding Group Height
Date 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



Replies:
Posted By: Oleg
Date Posted: 11 May 2006 at 5:00pm

Hello,

In some old version was added AutoHeight parameter to fit height:

call

Item.SetSize x, 0, True



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: John31
Date Posted: 11 May 2006 at 6:04pm

That worked.  Be nice to have this documented somewhere!!!!



-------------
Regards

John Layton


Posted By: Oleg
Date Posted: 11 May 2006 at 8:04pm

From SymbolReference.chm:

 

SetSize Method



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: John31
Date Posted: 12 May 2006 at 10:48am
Thanks.  FYI the SetSize method does not show up in intellisense

-------------
Regards

John Layton


Posted By: Oleg
Date Posted: 12 May 2006 at 6:55pm

Hi,

It is because you declare item as TaskPanelItem and not as TaskPanelGroupItem...



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net