Jim Hewson
JHewson at karta.com
Wed Jun 9 11:31:21 CDT 2004
Lembit, I'm trying to change the height of the rectangle because I have several of these in a row on the report. I have tried Me!myRectangle.Height = Me!myTextBox.height + WhatEver The rectangle sizes to the first record but not the rest. Thanks, Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lembit Soobik Sent: Wednesday, June 09, 2004 11:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Resize Rectangle on Report Jim, I have not done this for a long time, but I would set the rectangles width to the textbox width plus something. you will have to find in which event to do this, but the code would be something like me.myRectangle.width = me.myTextbox.width + whatever HTH Lembit Soobik ----- Original Message ----- From: "Jim Hewson" <JHewson at karta.com> To: "AccessD" <accessD at databaseadvisors.com> Sent: Wednesday, June 09, 2004 4:55 PM Subject: [AccessD] Resize Rectangle on Report How do I resize a rectangle on a report? A2K I have a label and a text box inside a rectangle located in a group header. The text box is below the label and the can grow event is set to Yes. Occasionally the text box grows but I can't seem to make the rectangle grow with it. How can I make it grow? Thanks, Jim -------------------------------------------------------------------------------- > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com