<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:luismiguel.lacosta@gmail.com" title="Luis <luismiguel.lacosta@gmail.com>"> <span class="fn">Luis</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - BASIC-Laufzeitfehler. Eigenschaft oder Methode nicht gefunden: isFormDesignMode."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=111998">bug 111998</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>UNCONFIRMED
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>NOTABUG
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - BASIC-Laufzeitfehler. Eigenschaft oder Methode nicht gefunden: isFormDesignMode."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=111998#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - BASIC-Laufzeitfehler. Eigenschaft oder Methode nicht gefunden: isFormDesignMode."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=111998">bug 111998</a>
              from <span class="vcard"><a class="email" href="mailto:luismiguel.lacosta@gmail.com" title="Luis <luismiguel.lacosta@gmail.com>"> <span class="fn">Luis</span></a>
</span></b>
        <pre>Tested with LO 4.4.7.2 and  5.1.6.2 and 5.3.2.2
The behaviour is the same in all versions:

When the macro OnOpenDocument is called from the main window of base
ThisComponent is bound to the database document and this variable is not
changed after call to loadComponent. The controller of this document has no
method isFormDesignMode.

If then form is opened and the macro is called from the form window then
ThisComponent is bound to the form document and the controller has method
isFormDesignMode.

Changed status.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>