09-18-2018, 06:11 AM
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();
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();