Unigui : Hide Main Form
来源:互联网 发布:非编软件 编辑:程序博客网 时间:2024/06/15 05:32
In our application, the login is a mandatory action so we do a simple thing:
develop a login form, adding the following to be the first form displayed:
initialization
RegisterMainFormClass(TfrmLogin);
and deleting similar lines in the MainForm
If the login succeeds, simply initialize what you need and do:
frmLogin.Hide;
frmMain.Show;
All session flags and shared information, we put them in MainModule.pas as public members of TUniMainModule, so they are available for all session forms through UniMainModule function (be sure that MainModule is present under "uses" clause of your forms).
It is very simple, but it works for us...
Regards,
develop a login form, adding the following to be the first form displayed:
initialization
RegisterMainFormClass(TfrmLogin);
and deleting similar lines in the MainForm
If the login succeeds, simply initialize what you need and do:
frmLogin.Hide;
frmMain.Show;
All session flags and shared information, we put them in MainModule.pas as public members of TUniMainModule, so they are available for all session forms through UniMainModule function (be sure that MainModule is present under "uses" clause of your forms).
It is very simple, but it works for us...
Regards,
- Unigui : Hide Main Form
- hide main() function
- hide insteadof close form
- C# 显示被hide了的form
- uniGUI显示Warning: Form must be shown after it is created的解决办法
- Delphi Form的释放和隐藏:free,hide,close
- Delphi Form的释放和隐藏:free,hide,close
- Delphi Form的释放和隐藏:free,hide,close
- uniGUI 实操感受
- unigui : ServerModule and MainModule
- unigui如何连接数据库
- unigui如何连接数据库
- unigui如何连接数据库
- unigui如何连接数据库
- C# Form.Hide()后再 Show()时,Dock不为 none的 控件将不会显示。
- UNIGUI如何禁止关闭新窗口
- unigui结合JS方法记录
- UniGui手动终止一个会话
- 初来乍到//终于过了三天的期限
- WINCE--流设备驱动简介及往BSP添加
- Android各种链接网络服务器方法
- android获取网络数据到本地并查看
- 解决Tortoise CVS或Tortoise SVN图标状态显示问题
- Unigui : Hide Main Form
- 数据库的概念
- sql load 数据中遇到的几个问题
- XCode4.2 SDK5 中缺少libz.1.2.X.dylib的错误
- onMeasure 画图 适配多分辨率
- Qt C++ 策略模式
- poi-3.8修改源码、编译、打包过程
- C++ Primer 学习笔记十二 —— 类
- 百度搜索的一些高级语法