Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change active form
#1
how to change active page(form) 
i immediately release active form before jump to next form

The problem is if more than 1 user try to change form. it saying form already exist

below code will show you
TdashboardForm has labels. Each of them has different form to jump in

if not (WebApplication.ActiveForm is TdashboardForm) then
  TIWAppForm(WebApplication.ActiveForm).Release;
TuserAddForm.Create(WebApplication).Show();
Reply
#2
Hi, try REMOVE if.

Code:
TIWAppForm(WebApplication.ActiveForm).Release;
TuserAddForm.Create(WebApplication).Show();
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)