You'll probably need to use the AdjustSize method for each control. I know you can change the height in this method, and I assume you can change the upper position as well.
You might need 2 global variables: MyOffset and MyHeight. MyHeight will be the height of each control, if you want to display it. MyOffset will be the Y position of the control within the frame. In each control: Sub AdjustSize() Position.Y = MyOffset If DataValue = 0 Then Size.Height = 0 Else Size.Height = MyHeight End If MyOffset = MyOffset + MyHeight End Sub You'll have to assign MyOffset = 0 somewhere in the group component, and assign MyHeight = 15 * OnePoint (or something else that you see fit) in the Start method of the main app. Also, make sure that the components are in the correct order in the Report Structure on the left side. You might need to use the Scratch Pad to help with this. This certainly isn't the best solution, but in a pinch, it should work ok. I hope this at least points you down the right path. Regards, Michael |
|