G
Guest
I have a report that has text boxes within rectangle objects. The text boxes
have the can grow property set to true. I want the rectangles to grow with
the text boxes. This is the code I came up with, but the rectangles do not
change. When it is stepped through with the debugger it seems to be all
good, but they don't change. I can't find a me.refresh or me.redraw or
anything in the rectangle methods. Am I missing something?
DefectDescription and RootCause are the textboxes.
The original height is set to 1800.
If Me.DefectDescription.Properties("Height") <> 1800 Then
Me.boxDefectDescription.Properties("Height") =
Me.boxDefectDescription.Properties("Height") +
(Me.DefectDescription.Properties("Height") - 1800)
End If
If Me.RootCause.Properties("Height") <> 1800 Then
Me.boxRootCorrective.Properties("Height") =
Me.boxRootCorrective.Properties("Height") +
(Me.boxRootCorrective.Properties("Height") - 1800)
End If
have the can grow property set to true. I want the rectangles to grow with
the text boxes. This is the code I came up with, but the rectangles do not
change. When it is stepped through with the debugger it seems to be all
good, but they don't change. I can't find a me.refresh or me.redraw or
anything in the rectangle methods. Am I missing something?
DefectDescription and RootCause are the textboxes.
The original height is set to 1800.
If Me.DefectDescription.Properties("Height") <> 1800 Then
Me.boxDefectDescription.Properties("Height") =
Me.boxDefectDescription.Properties("Height") +
(Me.DefectDescription.Properties("Height") - 1800)
End If
If Me.RootCause.Properties("Height") <> 1800 Then
Me.boxRootCorrective.Properties("Height") =
Me.boxRootCorrective.Properties("Height") +
(Me.boxRootCorrective.Properties("Height") - 1800)
End If