03-10-2020, 03:59 PM
(03-10-2020, 09:14 AM)Lorbass Wrote: Hi Kevin,
try the following:
implementation {of TIWServerControllerBase}
uses
MyMobileForm, MyStandardForm;
and
procedure TApplServer.IWServerControllerBaseNewSession(ASession: TIWApplication);
begin
ASession.Data:=TApplSession.Create(nil, ASession);
if ASession.Browser.IsMobile then TMyMobileForm.SetAsMainForm else TMyStandardForm.SetAsMainForm;
end;
Regards
Lorbass
Thank you Lorbass!