rencarnacion Posted December 11, 2014 Share Posted December 11, 2014 Hi, is there way to close a MDI Child from the main form thanks Quote Link to comment Share on other sites More sharing options...
rvasquez2000 Posted December 17, 2014 Share Posted December 17, 2014 TUniForm( UniApplication.FindComponent(activeform.Text) as TUniForm ).close should works, but does not. but using it like this works fine: labtot := TUniLabel( UniApplication.FindComponent(activeform.Text) as TUniForm ).FindComponent( 'UniLabel1' ) as tunilabel ; labtot.Caption := inttostr(dsToolB.DataSet.RecordCount) + ' Records'; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.