local loForm, lnStart activate screen clear lnStart = Seconds() loForm = Createobject('TestForm', 2000) lnCreatedIn = Seconds() - lnStart loForm.Show(1) lnStart = Seconds() loForm.release() ? 'Created in: ', lnCreatedIn ? 'Destroyed in: ', Seconds() - lnStart define class TestForm as Form nTtlContainer = 1 && Total Group to create. Play around with this value Closable = .F. add object cmdExit as CommandButton with ; Caption = 'Exit', ; Left = 0, ; Top = 0 procedure cmdExit.Click() thisform.Hide() endproc Procedure Init( tnObjects ) Local lcObjName, lnX With ThisForm For lnX = 1 to .nTtlContainer lcObjName = 'conTextBox' + transform( lnX ) .AddObject( lcObjName, 'Container' ) Next .SetAll( 'BackStyle', 0, 'Container' ) .SetAll( 'BorderWidth', 0, 'Container' ) .FillContainer( tnObjects / .nTtlContainer ) EndWith EndProc procedure FillContainer( tnObjects ) local lnObjects, lnObject, lcName, lnX, lcGroup lnObjects = Iif(Vartype(tnObjects) = 'N', tnObjects, 10) For lnX = 1 to ThisForm.nTtlContainer lcGroup = 'This.conTextBox' + transform( lnX ) With &lcGroup for lnObject = 1 to lnObjects lcName = 'Object' + Transform( lnObject ) .AddObject(lcName, 'Label') next EndWith Next EndProc EndDefineHTH