>>>Does it work in run-time?
>>>
>>
>>No, it doesn't work. I was tracing it yesterday and I saw the container's init firing and adjusting the dimensions, but then for some reason button's Init (cmdMoveOne) fired and the lists dimensions went back to the original.
>>
>Frankly, I don't use anchor (I used custom resize code for long time, i.e. before anchor was introduced). My understanding is that you either use Anchor or change controls size/location in code, but not together.
I will try to re-set the values of anchor to 0 and re-test, but I fear it is not the problem.
If it's not broken, fix it until it is.
My Blog