title: How to use AObject in the AddCheckBox function when using the componentslist?
body: <p>I am trying to understand the AddCheckBox function in inno pascal script. The documentation is limited:</p>
  
  <p><a href="http://www.jrsoftware.org/ishelp/index.php?topic=scriptclasses" rel="nofollow">http://www.jrsoftware.org/ishelp/index.php?topic=scriptclasses</a></p>
  
  <pre><code> function AddCheckBox(const ACaption, ASubItem: String; ALevel: Byte; AChecked, AEnabled, AHasInternalChildren, ACheckWhenParentChecked: Boolean; AObject: TObject): Integer;
  </code></pre>
  
  <p>How to use the "AObject" argument? Of course I can just use "nil" but this causes an error message about a memory once the user clicks on the added checkbox.</p>
  
  <p>It may be relevant that I want to add a checkbox to the componentslist (dynamically) of the WizardForm. So it is something like:</p>
  
  <pre><code> WizardForm.ComponentsList.AddCheckbox(..please help me with the correct arguments).
  </code></pre>
  
  <p>The function seems useful but to use it, I need to know what arguments to use and what they mean.</p>