title: Calling the ButtonClicked event
body: <p>I have a script below under a datawindow's <code>buttonclicked</code> event. My problem is how will I call the specific button from other event like parent window <code>post_open</code> event. </p>
  
  <p>In windows <code>post_open</code> event I have the script but returns <code>Bad Argument List For Function: buttonclicked</code> message when I compile. How can I correct this compilation error?</p>
  
  <pre><code>dw_Command.Event buttonclicked('b_read')
  
  
  DWO: Datawindow
  Event: buttonclicked
  
  CHOOSE CASE Lower(dwo.Name)
  
  CASE 'b_read'       
  
          SetPointer(Hourglass!)
          idt_ServerDate = gnv_app.of_getServerDate( )
          of_getInventoryAdvice( )
  
  CASE 'b_exit'       
          MessageBox('','Close')
          Close(Parent) 
  
  END CHOOSE
  </code></pre>