rencarnacion Posted December 11, 2014 Posted December 11, 2014 Hi, is there way to close a MDI Child from the main form thanks Quote
rvasquez2000 Posted December 17, 2014 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
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.