I recently worked a project with addobject and removeobject. If found that by placing an inconspicuous textbox on the parent form and then setting focus to that textbox when my program manipulated the
contained objects, a lot of the little errors went away and the project behaved more predictably. It seems there are some situations when working with contained containers that get zany if the parent container (form) does not explicitly receive a "focus".
The joy of SW development - ahhhh!
>no, damn!!! i didn't try to check that.
>It doesn't work too
>So... it's not due to the disable property...but ?
>Thank you for your answer... i'll keep on checking.
>Alessio
>
>>>in a form a add a container object programmatically by clicking a commandbutton.
>>
Before I create the object i disabled the pageframe in the form and the toolbar on the top of the form to avoid the user to do any ooperation till he close the container box.>>Does it work if you do not disable the pageframe and tool bar?
Imagination is more important than knowledge