|
<< Click to Display Table of Contents >> Navigation: Forum > Change active form |
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();
09-18-2018, 11:26 AM:
Hi, try REMOVE if.
Code:
TIWAppForm(WebApplication.ActiveForm).Release;
TuserAddForm.Create(WebApplication).Show();