>>>>My first impression is that it is not refreshed properly. Could you toggle Form.Lockscreen=.T./.F. around your code?
>>>>
>>>Ok, now (after I corrected some logic problems, got rid of anchors) it works almost perfectly. The only thing I think I need to implement is the Min Height and Width. Unfortunately, containers don't have MinHeight/MinWidth properties (would be nice if they do). So, what would be my options here?
>>>
>>>Try to use Height/Width assign methods to check for minimum (as recently discussed with Bhav)?
>>
>>Use Max() function any time you calculate height/width, e.g.
>>This.Container.Height=Max(100,...your calculations here...)
>
>Good idea, thanks. Though I mean min.
>
That's exactly enforcing min height.
>However, I wanted this for the outer container. I removed anchors from the inner parts, but I set the container's itself Anchor to 45. I don't want in run-time my container get smaller than certain point.
>
>Though I think I will just set minimum values for the form itself and this should take care of the problem.
>
>Nice talking to you again, I think we just came up with the solution.
Edward Pikman
Independent Consultant