Auto-resizing a control based on parent Window size

I have a number of custom controls that are dependent on the width of the parent window. Is there a way to make these controls aware that their parent window is being resized?

I can resize these controls properly by calling their respective sizing methods manually in each window’s Window.resizing event, but am hoping there’s a way to have them automatically notified and avoiding the manual call.

Have each of your controls implement some class interface, such as resizeable. Then you can loop through all the controls and resize all that you can.

for i = 0 to ControlCount - 1 if control(i) isa resizeable then resizeable(control(i)).resizeMe end next

Thanks Tim, I’ll give it a shot.