>>Is it possible to optimize the width of text grid controls in a program?
>>
>>The scenario is that I have a grid where there is just enough room on the screen to display each row using the existing maximum length of data contained in each field. For example, when displaying a product's data, I found the item with the longest description and manually sized the control accordingly. I followed the same procedure for other read only controls. As mentioned above, when completed, the row just fits on the screen without scrolling.
>>However, the data is not static and I would like the controls to automatically resize themselves everytime the form is run.
>>Is this practical? possible?
>>TIA.
>
>You can borrow some ideas from this code:
Nadya,
Thank you, I can see that it would be a good starting point.