<commit_before><?xml version="1.0" encoding="UTF-8"?>
<fpdoc-descriptions>
  <package name="fpGUI">
    <module name="fpg_form">
      <short>This unit contains the class implementation representing a Form/Window on the screen</short>
	  <descr><printshort id="fpg_form"/>.</descr>

<element name="TWindowPosition.wpUser">
<short>OS or Desktop/Window manager decides the position.</short>
</element>

<element name="TWindowPosition.wpAuto">
<short>Window gets placed in exact x,y coordinates set by developer.</short>
</element>

<element name="TWindowPosition.wpScreenCenter">
<short>Window gets centered horizontally and vertically in the current desktop window.</short>
</element>

<element name="TWindowPosition.wpOneThirdDown">
<short>Following the "golden ratio 1.618" rules or ideas as to what is
pleasing to the eye. The window is positioned one third from
the top of the screen, using the desktop height to calculate, and centered
horizontally.
</short>
</element>

    </module>
  </package>
</fpdoc-descriptions><commit_msg>docs: Added some documentation on TfpgBaseForm events<commit_after><?xml version="1.0" encoding="UTF-8"?>
<fpdoc-descriptions>
  <package name="fpGUI">
    <module name="fpg_form">
      <short>This unit contains the class implementation representing a Form/Window on the screen</short>
	  <descr><printshort id="fpg_form"/>.</descr>

<element name="TWindowPosition.wpUser">
<short>OS or Desktop/Window manager decides the position.</short>
</element>

<element name="TWindowPosition.wpAuto">
<short>Window gets placed in exact x,y coordinates set by developer.</short>
</element>

<element name="TWindowPosition.wpScreenCenter">
<short>Window gets centered horizontally and vertically in the current desktop window.</short>
</element>

<element name="TWindowPosition.wpOneThirdDown">
<short>Following the "golden ratio 1.618" rules or ideas as to what is
pleasing to the eye. The window is positioned one third from
the top of the screen, using the desktop height to calculate, and centered
horizontally.
</short>
</element>

<element name="TfpgBaseForm">
<short>TfpgBaseForm is the base class from which to derive a window such as a form or dialog</short>
<descr><printshort id="TfpgBaseForm"/>.</descr>
</element>

<element name="TfpgBaseForm.OnCloseQuery">
<short>Occurs when close is attempted</short>
<descr><p><printshort id="TfpgBaseForm.OnCloseQuery"/>. Use OnCloseQuery to specify the conditions
under which the form can close. An OnCloseQuery event handler returns a Boolean CanClose value
that determines whether a form is allowed to close. Its default value is True.</p>
<p>You can use an OnCloseQuery event handler to ask users if they are sure they really want
the form closed immediately. For example, you can use the handler to display a message box
that prompts the user to save a file before closing the form.</p></descr>
<seealso>
<link id="fpg_form.TfpgBaseForm.OnClose">OnClose</link>
</seealso>
</element>

<element name="TfpgBaseForm.OnClose">
<short>Occurs when the form closes</short>
<descr><p><printshort id="TfpgBaseForm.OnClose"/>. Use OnClose to perform special processing when
the form closes. The OnClose event specifies which event handler to call when a form is about
to close. The handler specified by OnClose might, for example, test to make sure all fields in
a data-entry form have valid contents before allowing the form to close.</p>
<p>A form is closed by the Close method or when the user chooses Close from the form's system
menu.</p>
<remark>Closing or hiding the main form terminates the application.</remark></descr>
<seealso>
<link id="fpg_form.TfpgBaseForm.OnCloseQuery">OnCloseQuery</link>
</seealso></element>

    </module>
  </package>
</fpdoc-descriptions>
{'fraction_non_alphanumeric': 0.10627503337783711, 'fraction_numerical': 0.003738317757009346, 'mean_word_length': 5.4475043029259895, 'pattern_counts': {'":': 0, '<': 98, '<?xml version=': 2, '>': 98, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '630597', 'n_tokens_mistral': 1090, 'n_tokens_neox': 1060, 'n_words': 421}