<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!--
Copyright (c) 2006 UGS Corp.

All Rights Reserved.

This software and related documentation are proprietary to UGS Corp.
-->
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>DIALOG_END</title>
      <script language="javaScript">
        abridged="false";
        displayConditions=new Array();
      </script>
      <link type="text/css" href="../css/main_styles.css" rel="stylesheet">
   </head>
   <body class="bodydocs" onload="top.pageLoader()" bgcolor="#FFFFFF">
      <div class="title_topic4" id="xps10_pagetitle"> DIALOG_END</div>
      <hr noshade="true">
      <table border="0" cellpadding="2" cellspacing="3" width="100%" align="center">
         <tr>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top" width="20%">
               <p class="para_td"> Description</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td"> Marks the termination of a dialog.</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td"> Syntax</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td"> DIALOG_END response, unused value ! Comment</p>
               <p class="para_td"> DIALOG_END item, index into item ! Comment</p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td"> Parameters</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td"> response=response to dialog, where -1=PICK, -2=OK, -3=CANCEL, -4=BACK. The second value is unused under these conditions. These values are mainly based on the navigation buttons on the dialog, or a pick made in the graphics window.</p>
               <p class="para_td"> item position= Item number selected in dialog starting from 0.</p>
               <p class="para_td"> index=Index into the item selected starting from 0.</p>
               <p class="para_td"> If the 6th button was chosen in the 2nd tool palette and it causes a dialog termination. The line would appear as follows:</p>
               <p class="para_td"> DIALOG_END 2, 6</p>
               <p class="para_td"> Comment=The comment indicates the name of the dialog and an indication as to how the dialog terminated. </p>
            </td>
         </tr>
         <tr>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td"> Example</p>
            </td>
            <td bgcolor="#f4f4f4" colspan="1" rowspan="1" valign="top">
               <p class="para_td">DIALOG_END -1, 0 ! Visualization: PICKDIALOG_END -2, 0 ! Class Selection: OKDIALOG_END -3, 0 ! View Options: CANCELDIALOG_END -4, 0 ! gt109: BACKDIALOG_END 0, 1 ! gt101: Manual Trim</p>
            </td>
         </tr>
      </table><br><p class="para_topic"></p>
   </body>
</html>