diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2015-03-29 18:25:43 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2015-03-29 18:25:43 +0100 |
commit | e6fb987d304e1fd4691d122d93b6d696ab271ada (patch) | |
tree | 3a9d9080d2f578c289351edb0d14e31999043165 | |
parent | 591ef0b520179051d7cea1abf887eb442c1aefa5 (diff) | |
download | fpGUI-e6fb987d304e1fd4691d122d93b6d696ab271ada.tar.xz |
docs: new help for TfpgApplicationBase.MainForm and CreateForm()
-rw-r--r-- | docs/xml/corelib/fpg_base.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/xml/corelib/fpg_base.xml b/docs/xml/corelib/fpg_base.xml index 5cd3a598..3c922712 100644 --- a/docs/xml/corelib/fpg_base.xml +++ b/docs/xml/corelib/fpg_base.xml @@ -1141,6 +1141,28 @@ contains the help for the application.</descr> or HelpKeyword as parameter. The default help viewer is fpGUI's DocView.</descr> </element> +<element name="TfpgApplicationBase.MainForm"> +<short>Identifies which form in the application is the main form</short> +<descr><p><printshort id="TfpgApplicationBase.MainForm"/>. Use the MainForm property to +determine the form that acts as the application's main window. The first form that is +show will be assigned as the main form of the application. If the main form closes, +then all other forms are closed too, and the application quits.</p> +<p>There are cases where the first form that was created and show, you don't want to +act as the application's main form. In such a case, simply assign the form you want to +act as the application's main form to the <var>MainForm</var> property.</p></descr> +<seealso> + <link id="TfpgApplicationBase.CreateForm"/> +</seealso> +</element> + +<element name="TfpgApplicationBase.CreateForm"> +<short>Creates a new form</short> +<descr><printshort id="TfpgApplicationBase.CreateForm"/>. Call CreateForm to dynamically create +a form at runtime. CreateForm creates a new form of the type specified by the InstanceClass +parameter and assigns it to the variable given by the Reference parameter. The owner of +the new form is the fpgApplication object.</descr> +</element> + <element name="TfpgBaseTimer.Enabled"> <short>Allows you to enable or disable the timer</short> |