Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to bypass previous form on release ?
#4
if you Release the current form just before you show another\new form - you will always have only 1 form.
like :
Release;
TfrmMyEditForm.Create(WebApplication).Show;

if you want to Release the top\current form, and you don't know which one it is (like in a menu, or a global "ShowForm" procedure etc'), then you can use :
// Release the current form
TIWAppForm(WebApplication.ActiveForm).Release;

don't forget to add IWAppForm to the Uses.
Reply


Messages In This Thread
RE: How to bypass previous form on release ? - by EitanArbel - 03-10-2020, 09:00 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)