Rezise scroll area

Hy everyone,
I need some help!!
My application has a reziseble window showing some different kind of widgets, for example, polygons, texts and labels in the scroll area (container). When that window is rezised, only the size´s window had been changed, but the widgets inside (and sroll area) had staying at same size and position, what can I do to change position and size the widgets automaticly?

Thanks a lot

Try PtExtentWidgetFamily() on the container and see if that helps. Assuming the widgets are anchored properly it should work - or perhaps that is the problem - check how the widgets are anchored.


Thanks, it works fine, but unfortunatly it didn´t solve my trouble.
Do you know if there is any function to do anything like ZOOM?
That is what I really need.

Thanks again.