Art Component
Fnd_Art_SetStartupDialogForm
Fnd_Art_SetStartupDialogForm (form name)
Parameters
| Parameter | Type | Description |
|---|---|---|
| form name | Text | Name of the form |
Description
Fnd_Art_SetStartupDialogForm allows the developer to specify the project form to display during startup. You must use a project form not a table form. This routine installs a form to use instead of Foundation’s default startup form. The window size of the startup dialog is determined from the form size. The form method should call the Fnd_Art_StartupDialogFormMethod method, and these events must be enabled: On Load On Timer On Outside Call
Call this method from the On Startup database method just before the call to Fnd_Shell_OnStartup. Because this method does not run when you quit and restart Foundation without actually quitting 4D, you will only see this custom form the first time you open your database. However, your end users will always see your custom startup form on startup. You cannot use the Fnd_Gen_GetDatabaseInfo method to get information regarding your application since this will run before Fnd_Shell_OnStartup.
Extracted source text
Fnd_Art_SetStartupDialogForm (form name)
Parameter Type Description
form name Text Name of the form
Fnd_Art_SetStartupDialogForm allows the developer to specify the project form to display during
startup. You must use a project form not a table form.
This routine installs a form to use instead of Foundation’s default startup form. The window
size of the startup dialog is determined from the form size. The form method should call the
Fnd_Art_StartupDialogFormMethod method, and these events must be enabled:
On Load
On Timer
On Outside Call
Call this method from the On Startup database method just before the call to Fnd_Shell_OnStartup.
Because this method does not run when you quit and restart Foundation without actually quitting 4D,
you will only see this custom form the first time you open your database. However, your end users will
always see your custom startup form on startup.
You cannot use the Fnd_Gen_GetDatabaseInfo method to get information regarding your application
since this will run before Fnd_Shell_OnStartup.