Hi Agnes,
I think it's the first time I was called Tracy in my life :)
The problem is, that my code doesn't resize the objects. It supposed to resize them, but it doesn't. That's why I need help.
I think #0 anchor settings should not contribute to the problem, it is also for resizing the form in run-time. In my case I resize the container in design-time, but in the Init of the container I adjust positions/dimensions of the inner objects, so they supposed to be properly resized. Why it doesn't work - I can not figure out myself.
>Tracy,
>
>I have no idea what you are doing. All what I see is that some objects have a anchor value#0 and you try to move/resize them.
>
>For all what I know:
>1. store anchor value
>2. set anchor to 0
>3. move (instead of single top,left, hight and width, this will fire moved and resize event of the object only once)
>4. set anchor to stored value
>
>I've never done design time resize, I normaly do the calculation at runtime. (A coworker notoriously move the objects if he click on them)
>
>BTW,
>
>I've answered a specific question in this thread. Please, you do not need to notify me for other branches.
>
>Agnes
>
>>I hoped it would be easy for people here to spot the problem in what I'm doing.
>>
>>Anyone, please?
>>
If it's not broken, fix it until it is.
My Blog