eduardosuruagy Posted August 1, 2013 Posted August 1, 2013 Is to check if a form has been created example: if Assigned(Form) then ShowMessage('Ok'); Quote
eduardosuruagy Posted August 1, 2013 Author Posted August 1, 2013 Need to know if a form has been created... Quote
mhmda Posted August 1, 2013 Posted August 1, 2013 hi, You may create forms manually: procedure TMainForm.lblClick(Sender: TObject); var frm:Tfrm2;//your form begin frm := Tfrm2.Create(UniApplication); frm.ShowModal(); end; Or you can use client events with ajaxrequest (to run server side code) or regular js code to run client side code. Quote
eduardosuruagy Posted August 1, 2013 Author Posted August 1, 2013 More need to know if a particular form was created Quote
Hayri ASLAN Posted August 2, 2013 Posted August 2, 2013 if UniMainModule.GetFormInstance(TUniForm1, False)<>nil thenbegin // Form is already createdend; You can use that. 1 Quote
TRodrigues Posted March 16, 2018 Posted March 16, 2018 if UniMainModule.GetFormInstance(TUniForm1, False)<>nil then begin // Form is already created end; You can use that. Thanks 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.