Suppose you have a form with a horizontal Line object that goes all the way across the form. You could handle form resizing by making the line excessively long, or you can resize it with the form’s onSize event handler:

function form_onSize( nSizeType, nWidth, nHeight )

   form.line1.right := nWidth 

return