imagina Posted May 18, 2011 Posted May 18, 2011 Hello there Version 0.85, only in web mode. Having "wsNormal" as default form state,issuing "MainForm.WindowState := wsMaximized;" on Activate event of MainForm, I get the ajax error that can you see in attached file. If I set wsMaximized state as default and remove "MainForm.WindowState := wsMaximized" on the events, works as expected. Bye
Administrators Farshad Mohajeri Posted May 19, 2011 Administrators Posted May 19, 2011 Hello there Version 0.85, only in web mode. Having "wsNormal" as default form state,issuing "MainForm.WindowState := wsMaximized;" on Activate event of MainForm, I get the ajax error that can you see in attached file. If I set wsMaximized state as default and remove "MainForm.WindowState := wsMaximized" on the events, works as expected. Bye Is it in OnActivate event? I can't reproduce it.
Administrators Farshad Mohajeri Posted May 19, 2011 Administrators Posted May 19, 2011 I attached a sample (D2009). Thx Your mainForm is in page mode. In page mode Form is always maximized. I fixed the wrong call to maximize in page mode.
Recommended Posts