Diff of /docs/trunk/oodguide/en-US/appendix02.xml [r9372] .. [r9373]  Maximize  Restore

Switch to unified view

a/docs/trunk/oodguide/en-US/appendix02.xml b/docs/trunk/oodguide/en-US/appendix02.xml
...
...
48
     including AutoDetection.
48
     including AutoDetection.
49
49
50
     Changes:
50
     Changes:
51
       v01-00 07Jun12: First version.
51
       v01-00 07Jun12: First version.
52
       v01-01 18Dec12: correct trivial typo.
52
       v01-01 18Dec12: correct trivial typo.
53
              15Aug13: Corrected folder names after folder structure change.
53
54
54
-->
55
-->
55
<appendix id="apx-dlgdata">
56
<appendix id="apx-dlgdata">
56
  <title id="dlgdata.title">Dialog Attributes and AutoDetection</title>
57
  <title id="dlgdata.title">Dialog Attributes and AutoDetection</title>
57
  <indexterm><primary>Dialog Attributes</primary></indexterm>
58
  <indexterm><primary>Dialog Attributes</primary></indexterm>
...
...
73
    as "dialog data", and the process of automatically moving data between the ooRexx dialog
74
    as "dialog data", and the process of automatically moving data between the ooRexx dialog
74
    and the underlying Windows constructs is called "automatic data detection" or
75
    and the underlying Windows constructs is called "automatic data detection" or
75
    "auto detection" for short. The aim of this appendix
76
    "auto detection" for short. The aim of this appendix
76
    is to illustrate, through a simple example, how automatic data detection is coded.
77
    is to illustrate, through a simple example, how automatic data detection is coded.
77
    The example, <computeroutput>ASimpleDialog.rex</computeroutput>, can be found
78
    The example, <computeroutput>ASimpleDialog.rex</computeroutput>, can be found
78
    in the <computeroutput>Samples\DlgData</computeroutput> folder. When executed, the dialog looks like this:
79
    in the <computeroutput>Exercise04\Extras\DlgData</computeroutput> folder. When executed, the dialog looks like this:
79
  <figure id="figA0201"><title>A Simple Dialog</title>
80
  <figure id="figA0201"><title>A Simple Dialog</title>
80
    <mediaobject>
81
    <mediaobject>
81
      <imageobject>
82
      <imageobject>
82
        <imagedata fileref="images/appendix02-image1.jpg" scale="100" />
83
        <imagedata fileref="images/appendix02-image1.jpg" scale="100" />
83
      </imageobject>
84
      </imageobject>
...
...
160
      generally held that using only symbolic IDs is best practice. </para>
161
      generally held that using only symbolic IDs is best practice. </para>
161
<para>Section (4) of the code analyzes the user's input. Finally, section (5) displays a message box
162
<para>Section (4) of the code analyzes the user's input. Finally, section (5) displays a message box
162
      to inform the user of the results. </para>
163
      to inform the user of the results. </para>
163
<para>In order to illustrate the same function using <computeroutput>.ResDialog</computeroutput> the
164
<para>In order to illustrate the same function using <computeroutput>.ResDialog</computeroutput> the
164
      program <computeroutput>ASimpleDialog2.rex</computeroutput> is included in the
165
      program <computeroutput>ASimpleDialog2.rex</computeroutput> is included in the
165
      <computeroutput>samples\DlgData</computeroutput> folder together with its *.dll file. </para>
166
      <computeroutput>Exercise04\Extras\DlgData</computeroutput> folder together with its *.dll file. </para>
166
167
167
<para>Finally, when desired, there are two ways to turn auto detection off (by default it is turned on).
168
<para>Finally, when desired, there are two ways to turn auto detection off (by default it is turned on).
168
  <indexterm><primary>AutoDetection</primary><secondary>turning off</secondary></indexterm>
169
  <indexterm><primary>AutoDetection</primary><secondary>turning off</secondary></indexterm>
169
  First, by the Application Manager (see the ooDialog Reference), and second programmatically
170
  First, by the Application Manager (see the ooDialog Reference), and second programmatically
170
  by intercepting the <emphasis role="italic">initAutoDetection</emphasis> message.
171
  by intercepting the <emphasis role="italic">initAutoDetection</emphasis> message.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks