主要形式显示之前登录表单表单、形式

2023-09-07 02:29:39 作者:囍遇你。

我在与形式之间的导航问题。我创建了使用Delphi XE5一个Android Firemonkey移动应用。

I'm having problems with the navigation between the forms. I have created an Android Firemonkey Mobile Application using Delphi XE5.

我现在有一个登录表单和主要形式,现在我想就如何处理登录表单到主窗体出现之前建议。

I currently have a Login Form and the Main Form, now I want advice on how to handle the Login Form to appear before the Main Form.

推荐答案

在项目选项,下表中,选择LogonForm被自动创建,并将所有其他形式的淘汰之列。

In the Project Options, under forms, select the LogonForm to be auto-created, and move all other forms out of the list.

现在,当你启动应用程序,登录表单将显示为第一个(也是唯一一个)的形式。

Now when you start your application, the Logon form will show as the first (and only) form.

一旦登录,您可以根据需要创建其他形式。

Once logged on, you can create the other forms as needed.

 
精彩推荐
图片推荐