unigui的ServerModule经常使用属性设置

unigui的ServerModule经常使用属性设置网站

1)压缩设置ui

compression是压缩数据用的。默认启用压缩,且压缩级别是最大的。orm

2)UNIGUI运行时库设置blog

UNIGUI须要4个运行时库,下面用代码分别指定它们的路径。部署

部署的时候带这4个运行时库,就再也不须要在部署的目标机器上安装UNIGUI运行时库,作到绿色部署。it

procedure TUniServerModule.UniGUIServerModuleBeforeInit(Sender: TObject);
begin
Self.UniRoot := 'uni';
Self.ExtRoot := 'ext';
Self.UniMobileRoot := 'unim';
self.TouchRoot := 'touch';
end;io

3)加载页面等待信息设置gui

loadingMessage默认=loading......,能够改成咱们喜欢的等待信息。程序

4)主网页以页面OR窗体模式显示im

MainFormDisplayMode默认以窗体模式显示。

5)网站端口号设置

经过port属性设置。

6)UNIGUI WEB服务程序窗口标题设置

经过Title属性设置。

相关文章
相关标签/搜索