What is the code that is handling the resize?
>I have a form with from 1 to n textboxes added with AddObject(). Each item is placed on the form 'on the fly', with the top, left, width, color etc. properties handled at load time.
>
>Everything works perfectly until I resize the form, at which point the objects all revert to left = 0, top = 0 and width = their base class width.
>
>I can certainly place a for-next loop to handle this in the form resize, but why does this happen? Identical controls placed on the form with the form-designer resize correctly.
>
>TIA
>Barbara
Eric Shaneson
Cutting Edge Consulting