You have to add this line in the form you want to be the main form and remove it form tha actual mainform:
initialization
RegisterMainFormClass(TfrmMY_MAIN_FORM);
Terminate UniApplication:
MainModule.UniMainModule.Terminate;
and you can redirect your browser to an url like this:
Put this code in ServerModule, TerminateTemplate option.
<script type="text/javascript">
<!--
window.location = "http://somethinghere.html"
//-->
</script>
I think that most of us are desktop programers and we dont have too much experience with Javascript or others. Thats why we are delighted with UNIGUI and we ask questions that, for you, are obvios.
Well, if I understand, you have to change the property MainFormDisplayMode located in uniservermodule. You probably have the mfWindow value and you must change it to mfPage.
Best regards.
This happends because there is not path to the dcu file generated with the first build. So you need to add the directory in Tools/options/delphi options/library/ --> library path. Probably is C:\Users\Public\Documents\RAD Studio\9.0\Dcp