From: <mie...@us...> - 2009-10-27 22:31:30
|
Revision: 5287 http://oorexx.svn.sourceforge.net/oorexx/?rev=5287&view=rev Author: miesfeld Date: 2009-10-27 22:31:19 +0000 (Tue, 27 Oct 2009) Log Message: ----------- ooDialog docs - roll back to commit r5097 Modified Paths: -------------- docs/trunk/oodialog/basedialog.sgml docs/trunk/oodialog/dialogcontrolc.sgml docs/trunk/oodialog/listcontrolc.sgml docs/trunk/oodialog/plainuserdialogc.sgml docs/trunk/oodialog/resdialog.sgml docs/trunk/oodialog/resources.sgml docs/trunk/oodialog/standarddialog.sgml docs/trunk/oodialog/userdialog.sgml docs/trunk/oodialog/utilityclasses.sgml Modified: docs/trunk/oodialog/basedialog.sgml =================================================================== --- docs/trunk/oodialog/basedialog.sgml 2009-10-27 16:07:57 UTC (rev 5286) +++ docs/trunk/oodialog/basedialog.sgml 2009-10-27 22:31:19 UTC (rev 5287) @@ -446,8 +446,8 @@ <entry><link linkend="cursorwait">Cursor_Wait</link></entry> </row> <row> -<entry>deInstall <emphasis role="bold">(deprecated)</emphasis></entry> -<entry><link linkend="h001468">deInstall</link> <emphasis role="bold">(deprecated)</emphasis></entry> +<entry>DeInstall</entry> +<entry><link linkend="h001468">DeInstall</link></entry> </row> <row> <entry>DeleteComboEntry</entry> @@ -666,8 +666,8 @@ <entry><link linkend="h000269">GetData</link></entry> </row> <row> -<entry>getDataStem</entry> -<entry><link linkend="mthGetDataStem">getDataStem</link></entry> +<entry>GetDataStem</entry> +<entry><link linkend="h000298">GetDataStem</link></entry> </row> <row> <entry>GetDC</entry> @@ -851,8 +851,8 @@ <entry><link linkend="ismousebuttondown">IsMouseButtonDown</link></entry> </row> <row> -<entry>leaving</entry> -<entry><link linkend="mthLeaving">leaving</link></entry> +<entry>Leaving</entry> +<entry><link linkend="leavi">Leaving</link></entry> </row> <row> <entry>InsertComboEntry</entry> @@ -1063,8 +1063,8 @@ <entry><link linkend="h000264">SetData</link></entry> </row> <row> -<entry>setDataStem</entry> -<entry><link linkend="mthSetDataStem">setDataStem</link></entry> +<entry>SetDataStem</entry> +<entry><link linkend="h000289">SetDataStem</link></entry> </row> <row> <entry>SetEntryLine</entry> @@ -1080,7 +1080,7 @@ </row> <row> <entry>setFont</entry> -<entry><link linkend="mthSetFont">setFont</link></entry> +<entry><link linkend="mthSetFont">SetFont</link></entry> </row> <row> <entry>SetForegroundWindow</entry> @@ -1546,6 +1546,8 @@ dlg~Execute("SHOWTOP", 14) end + dlg~Deinstall + return 0 -- End of entry point. @@ -1752,17 +1754,17 @@ ]]> </programlisting></para> -<para> - At this point the dialog is shown, the entry line will contain "C:\sdk\include", the combo box will - have the Calculator project selected, the release radio button will be checked, (the debug radio button - will not be checked,) and the clean check box will not be checked. -</para> -<para> - The user interacts with the dialog and selects ok to close it. Now the state of the dialog when it was - closed can be determined by checking the DlgData. stem values. +<para>At this point the dialog is shown, the entry line will contain +"C:\sdk\include", the combo box will have the Calculator project selected, the +release radio button will be checked, (the debug radio button will not be +checked,) and the clean check box will not be checked.</para> +<para>The user interacts with the dialog and selects ok to close it. Now the state of +the dialog when it was closed can be determined by checking the DlgData. stem +values. <programlisting> <![CDATA[ ... + dlg~deinstall if DlgData.CHECKBOX_CLEAN == 1 then doClean() @@ -4990,50 +4992,36 @@ </variablelist> </section> -<section id="mthSetDataStem"><title>setDataStem</title> -<indexterm><primary>setDataStem</primary></indexterm> +<section id="h000289"><title>SetDataStem</title> +<indexterm><primary>SetDataStem</primary></indexterm> <programlisting> <![CDATA[ ->>--setDataStem(--dataStem.--)----------------------------->< +>>-aBaseDialog~SetDataStem(--dataStem.--)---------------------->< ]]> </programlisting> -<para> - Sets the <emphasis role="italic">data,</emphasis> (the state,) of a number of Windows dialog controls - to the values specified by the stem. Each index of <emphasis role="italic">dataStem.</emphasis> is the - resource ID of a dialog control. The control with that ID, within the dialog, has its state set to - match the value of the stem variable at that index. The resource ID can be specified using either - numeric resource IDs or symbolic resource IDs. -</para> -<para> - This method only works on controls that have been registered in the data table through one of the - <emphasis role="italic">connect control</emphasis> methods. Every registered control has its state set - when this method is invoked. If the data stem, <emphasis role="italic">data.</emphasis> has no - matching index for a registered control, that control's state is set to the empty string. Any indexes - in the data stem that do not match the resource ID of a registered control are ignored. -</para> +<para>The SetDataStem method sets all Windows dialog +items to the values within the given stem; the suffixes of the stem variable +are the dialog IDs. </para> <variablelist> +<varlistentry><term><emphasis role="bold">Protected:</emphasis></term> +<listitem><para>This method is protected. +</para></listitem></varlistentry> <varlistentry><term><emphasis role="bold">Arguments:</emphasis></term> -<listitem> - <para> - The only argument is: - <variablelist> - <varlistentry><term>dataStem.</term> - <listitem><para> - A stem variable containing the values used to set a dialog control's state. Remember the trailing - period. - </para></listitem></varlistentry> - </variablelist> - </para> -</listitem></varlistentry> +<listitem><para>The only argument is: +<variablelist> +<varlistentry><term>dataStem.</term> +<listitem><para>A stem variable containing initialization data. Remember the trailing +period. +</para></listitem></varlistentry> +</variablelist> +</para></listitem></varlistentry> <varlistentry><term><emphasis role="bold">Example:</emphasis></term> -<listitem> - <para> - The following example initializes the dialog controls with IDs 21, 22, and 23, provided they have - been registered in the data table through one of the <emphasis role="italic">connect - control</emphasis> methods: +<listitem><para>The following example initializes the dialog items with ID 21, 22, and +23: + <programlisting> <![CDATA[ . @@ -5042,56 +5030,40 @@ dlgStem.21="Windows 95" dlgStem.22="0" dlgStem.23="1 2 3" -self~setDataStem(dlgStem.) +self~SetDataStem(dlgStem.) ]]> </programlisting> - </para> -</listitem></varlistentry> +</para></listitem></varlistentry> </variablelist> </section> -<section id="mthGetDataStem"><title>getDataStem</title> -<indexterm><primary>getDataStem</primary></indexterm> +<section id="h000298"><title>GetDataStem</title> +<indexterm><primary>GetDataStem</primary></indexterm> <programlisting> <![CDATA[ ->>--getDataStem(--dataStem.--)----------------------------->< +>>-aBaseDialog~GetDataStem(--dataStem.--)---------------------->< ]]> </programlisting> -<para> - The <emphasis role="italic">getDataStem</emphasis>() method is the reverse of the <link - linkend="mthSetDataStem">setDataStem</link>() method. The method gets the <emphasis - role="italic">data,</emphasis> (the state,) of all the dialog controls that have been registered - through one of the <emphasis role="italic">connect control</emphasis> methods and copies the state of - that control to the given stem. -</para> -<para> - A stem index for each control registered in the data table will be set. The stem index will be the - numeric ID for the control. The value at that index is the state of the matching dialog control. In - addition, if the <link linkend="constdir">constDir</link> directory has a symbolic ID for the numeric - ID of the control, a stem index of the symbolic ID is also set. This of course only works reliably if - the Rexx programmer uses unique numeric IDs for all resouces. -</para> +<para>The GetDataStem method gets the values of all dialog +items and copies them to the given stem. </para> <variablelist> +<varlistentry><term><emphasis role="bold">Protected:</emphasis></term> +<listitem><para>This method is protected. +</para></listitem></varlistentry> <varlistentry><term><emphasis role="bold">Arguments:</emphasis></term> -<listitem> - <para> - The only argument is: - <variablelist> - <varlistentry><term>dataStem.</term> - <listitem> - <para> - The name of a stem variable to which the data is returned. Remember the trailing period. - </para> - </listitem></varlistentry> - </variablelist> - </para> -</listitem></varlistentry> +<listitem><para>The only argument is: +<variablelist> +<varlistentry><term>dataStem.</term> +<listitem><para>The name of a stem variable to which the data is returned. Remember +the trailing period. +</para></listitem></varlistentry> </variablelist> +</para></listitem></varlistentry> +</variablelist> </section> - </section> <section id="man0032"><title>Standard Event Methods</title> @@ -5217,38 +5189,35 @@ </variablelist> </section> -<section id="mthLeaving"><title>leaving</title> -<indexterm><primary>leaving</primary></indexterm> +<section id="leavi"><title>Leaving</title> +<indexterm><primary>Leaving</primary></indexterm> <programlisting> <![CDATA[ ->>-aBaseDialog~leaving----------------------------------------->< +>>-aBaseDialog~Leaving----------------------------------------->< ]]> </programlisting> -<para> - The <emphasis role="italic">leaving</emphasis>leaving method is called when the underlying Windows - dialog is being closed. It is intended to be over-ridden by the programmer, if desired. The default - implementation does nothing. It gives the programmer a chance to do some final clean up. -</para> +<para>The Leaving method is called when the dialog was +closed.</para> </section> -<section id="h001468"><title>deInstall <emphasis role="bold">(deprecated)</emphasis></title> -<indexterm> - <primary>deprecated</primary> - <secondary>BaseDialog class</secondary> - <tertiary>deInstall</tertiary> -</indexterm> -<note><title>Note</title><para> - This method is deprecated. It does nothing and always returns 0. In older versions of Open Object - Rexx, the <emphasis role="italic">deInstall</emphasis>() method was used to deregister the external - functions with the API manager. This mechanism is no longer needed using the modern APIs introduced in - ooRexx 4.0.0. -</para></note> -</section> +<section id="h001468"><title>DeInstall</title> +<indexterm><primary>DeInstall</primary></indexterm> +<programlisting> +<![CDATA[ +>>-aBaseDialog~DeInstall--------------------------------------->< + +]]> +</programlisting> + +<para>The DeInstall method removes the external functions +from the Object Rexx API manager. It should be called at the end of each dialog. +The installed functions are freed when all dialogs are finished.</para> </section> +</section> <section id="comboboxmeth"><title>Combo Box Methods</title> <indexterm><primary>combo box methods</primary></indexterm> @@ -6725,6 +6694,7 @@ if dlg~initCode = 0 then do dlg~create(30, 30, 150, 150, "The Simple Grocery List", "VISIBLE") dlg~Execute("SHOWTOP") + dlg~Deinstall end -- End of entry point. @@ -7090,7 +7060,6 @@ +-MIN------+ +-MAX------+ +-INACTIVE-+ - +-RESTORE--+ ]]> @@ -7135,11 +7104,6 @@ becomes the active window. Using the <computeroutput>INACTIVE</computeroutput> keyword allows the dialog to be shown and let another window remain active. </para></listitem></varlistentry> -<varlistentry><term>RESTORE</term> -<listitem><para> - Shows and activates the dialog. If the dialog is minimized or maximized, the system restores it to its - original size and position. An application should specify this flag when restoring a minimized window. -</para></listitem></varlistentry> </variablelist> </para></listitem></varlistentry> <varlistentry><term><emphasis role="bold">Example:</emphasis></term> @@ -8401,6 +8365,7 @@ if dlg~initCode = 0 then do dlg~createCenter(170, 90, "The File Viewer Dialog", "VISIBLE MAXIMIZEBOX MINIMIZEBOX") dlg~Execute("SHOWTOP", IDI_DLG_OOREXX) + dlg~Deinstall end -- End of entry point. @@ -9407,15 +9372,13 @@ ]]> </programlisting> -<para> - The SetItemFont method changes the font for a particular dialog item. -</para> -<para> - The best place to call this method is within <link linkend="mthInitDialog">InitDialog</link>. If the - font is no longer needed, for instance, when the dialog is closed or another font has been assigned to - the dialog item, you should free the font resource by calling <link - linkend="mthDeleteFont">DeleteFont</link>. A good place to do this is the <link - linkend="mthLeaving">leaving</link> method.</para> +<para>The SetItemFont method changes the font for a particular +dialog item.</para> +<para>The best place to call this method is within <link linkend="mthInitDialog">InitDialog</link>. +If the font is no longer needed, for instance, when the dialog is closed or +another font has been assigned to the dialog item, you should free the font +resource by calling <link linkend="mthDeleteFont">DeleteFont</link>. A good place to +do this is the <link linkend="leavi">Leaving</link> method.</para> <variablelist> <varlistentry><term><emphasis role="bold">Arguments:</emphasis></term> <listitem><para>The arguments are: Modified: docs/trunk/oodialog/dialogcontrolc.sgml =================================================================== --- docs/trunk/oodialog/dialogcontrolc.sgml 2009-10-27 16:07:57 UTC (rev 5286) +++ docs/trunk/oodialog/dialogcontrolc.sgml 2009-10-27 22:31:19 UTC (rev 5287) @@ -318,7 +318,7 @@ </row> <row> <entry>getTextSizeScreen</entry> -<entry><link linkend="mthGetTextSizeScreen">getTextSizeScreen</link></entry> +<entry><link linkend="mthGetTextSizeScreen">getTextSizeScrenn</link></entry> </row> <row> <entry>Group</entry> @@ -437,7 +437,7 @@ <entry><link linkend="setfocustowindow">SetFocusToWindow</link></entry> </row> <row> -<entry>setFont</entry> +<entry>SetFont</entry> <entry><link linkend="mthSetFont">setFont</link></entry> </row> <row> Modified: docs/trunk/oodialog/listcontrolc.sgml =================================================================== --- docs/trunk/oodialog/listcontrolc.sgml 2009-10-27 16:07:57 UTC (rev 5286) +++ docs/trunk/oodialog/listcontrolc.sgml 2009-10-27 22:31:19 UTC (rev 5287) @@ -460,6 +460,10 @@ <entry><link linkend="mthUncheckAll">UncheckAll</link></entry> </row> <row> +<entry>Update</entry> +<entry><link linkend="updatelc">Update</link></entry> +</row> +<row> <entry>UpdateItem</entry> <entry><link linkend="updateitem">UpdateItem</link></entry> </row> @@ -3748,6 +3752,25 @@ </variablelist> </section> +<section id="updatelc"><title>Update</title> +<indexterm><primary>Update</primary> +<secondary>ListControl class</secondary></indexterm> +<programlisting> +<![CDATA[ +>>-aListControl~Update----------------------------------------->< + + +]]> +</programlisting> + +<para>The Update method updates a list view control.</para> +<variablelist> +<varlistentry><term><emphasis role="bold">Return value:</emphasis></term> +<listitem><para>0. +</para></listitem></varlistentry> +</variablelist> +</section> + <section id="ensurevisible"><title>EnsureVisible</title> <indexterm><primary>EnsureVisible</primary> <secondary>ListControl class</secondary></indexterm> Modified: docs/trunk/oodialog/plainuserdialogc.sgml =================================================================== --- docs/trunk/oodialog/plainuserdialogc.sgml 2009-10-27 16:07:57 UTC (rev 5286) +++ docs/trunk/oodialog/plainuserdialogc.sgml 2009-10-27 22:31:19 UTC (rev 5287) @@ -456,8 +456,8 @@ <entry><link linkend="h001506">DefineDialog</link></entry> </row> <row> -<entry>dInstall <emphasis role="bold">(deprecated)</emphasis></entry> -<entry><link linkend="h001468">deInstall</link> <emphasis role="bold">(deprecated)</emphasis></entry> +<entry>DeInstall</entry> +<entry><link linkend="h001468">DeInstall</link></entry> </row> <row> <entry>DeleteComboEntry</entry> @@ -540,8 +540,8 @@ <entry><link linkend="h000269">GetData</link></entry> </row> <row> -<entry>getDataStem</entry> -<entry><link linkend="mthGetDataStem">getDataStem</link></entry> +<entry>GetDataStem</entry> +<entry><link linkend="h000298">GetDataStem</link></entry> </row> <row> <entry>GetEntryLine</entry> @@ -652,8 +652,8 @@ <entry><link linkend="h001348">ItemTitle</link></entry> </row> <row> -<entry>leaving</entry> -<entry><link linkend="mthLeaving">leaving</link></entry> +<entry>Leaving</entry> +<entry><link linkend="leavi">Leaving</link></entry> </row> <row> <entry>ListAddDirectory</entry> @@ -724,8 +724,8 @@ <entry><link linkend="h000264">SetData</link></entry> </row> <row> -<entry>setDataStem</entry> -<entry><link linkend="mthSetDataStem">setDataStem</link></entry> +<entry>SetDataStem</entry> +<entry><link linkend="h000289">SetDataStem</link></entry> </row> <row> <entry>SetEntryLine</entry> Modified: docs/trunk/oodialog/resdialog.sgml =================================================================== --- docs/trunk/oodialog/resdialog.sgml 2009-10-27 16:07:57 UTC (rev 5286) +++ docs/trunk/oodialog/resdialog.sgml 2009-10-27 22:31:19 UTC (rev 5287) @@ -394,6 +394,7 @@ dlg = .SimpleLB~new("listBox.rc", IDD_DIALOG1, dlgData., "resource.h") if dlg~initCode = 0 then do dlg~Execute("SHOWTOP") + dlg~Deinstall end else do say "Problem creating the dialog. Init code:" dlg~initCode Modified: docs/trunk/oodialog/resources.sgml =================================================================== --- docs/trunk/oodialog/resources.sgml 2009-10-27 16:07:57 UTC (rev 5286) +++ docs/trunk/oodialog/resources.sgml 2009-10-27 22:31:19 UTC (rev 5287) @@ -2825,6 +2825,8 @@ dlg~Execute("SHOWTOP", 14) end + dlg~Deinstall + return 0 -- End of entry point. Modified: docs/trunk/oodialog/standarddialog.sgml =================================================================== --- docs/trunk/oodialog/standarddialog.sgml 2009-10-27 16:07:57 UTC (rev 5286) +++ docs/trunk/oodialog/standarddialog.sgml 2009-10-27 22:31:19 UTC (rev 5287) @@ -1050,47 +1050,33 @@ ]]> </programlisting> -<para> - The Play routine can be used to play an audio file using the Windows multimedia capabilities. When the - arguments are omitted, the currently playing sound file is stopped. +<para>The Play routine can be used to play an audio file using the Windows +multimedia capabilities. See also the <link +linkend="fncPlaySoundFile">PlaySoundFile</link> external function. </para> -<para> - The named file is searched for in the current directory and in the directories of the SOUNDPATH - environment variable. +<para>The named file is searched for in the current directory and in the +directories of the SOUNDPATH environment variable. </para> <variablelist> <varlistentry><term><emphasis role="bold">Arguments:</emphasis></term> <listitem><para>The arguments are: <variablelist> <varlistentry><term>fileName</term> -<listitem> - <para> - The file name of an audio (.WAV) file. The file is searched for in the current directory and in the - directories listed in the SOUNDPATH environment variable. If this argument is omitted, the currently - playing sound file is stopped. -</para> -<note><title>Note</title><para> - The system can only play one audio file at a time using the <emphasis role="italic">play</emphasis>() - routine. If an audio file is currently playing, calling the routine with arguments will disrupt the - audio file already playing. -</para></note> -</listitem></varlistentry> +<listitem><para>The file name of an audio (.WAV) file. The file is searched for +in the current directory and in the directories listed in the SOUNDPATH +environment variable. If this argument is omitted, the currently playing sound +file is stopped. +</para></listitem></varlistentry> <varlistentry><term>option</term> -<listitem> - <para> - When this argument is omitted, the audio file is played synchronously. Otherwise, use one of the - following keywords: +<listitem><para>You can set the last argument to: <variablelist> <varlistentry><term>YES</term> -<listitem><para>The audio file is played asynchronously. +<listitem><para>This plays the audio file asynchronously. </para></listitem></varlistentry> <varlistentry><term>LOOP</term> -<listitem> - <para> - The audio file is played asynchronously in a loop. The loop is stopped by calling Play again with no - arguments. - </para> -</listitem></varlistentry> +<listitem><para>Plays the audio file asynchronously and repeats it in a loop. You can +stop the loop by calling Play again omitting all arguments. +</para></listitem></varlistentry> </variablelist> </para></listitem></varlistentry> </variablelist> Modified: docs/trunk/oodialog/userdialog.sgml =================================================================== --- docs/trunk/oodialog/userdialog.sgml 2009-10-27 16:07:57 UTC (rev 5286) +++ docs/trunk/oodialog/userdialog.sgml 2009-10-27 22:31:19 UTC (rev 5287) @@ -461,7 +461,7 @@ <indexterm><primary>Create</primary></indexterm> <programlisting> <![CDATA[ ->>-aUserDialog~create(--x--,--y--,--cx--,--cy--,--title--,------> +>>-aUserDialog~Create(--x--,--y--,--cx--,--cy--,--title--,------> >--+---------------------------+--,--+----------+---------------> | .-----------------. | +-dlgClass-+ @@ -481,12 +481,11 @@ ]]> </programlisting> -<para> - The <emphasis role="italic">create</emphasis>() method creates the Windows dialog you previously - defined with Add... methods. You can set the size, title, and style of the dialog. If <emphasis - role="italic">create</emphasis> returns false the dialog creation failed and you should not try to - execute the dialog object. -</para> +<para>The Create method creates the Windows dialog +you previously defined with Add... methods. You can +set the size, title, and style of the dialog. If the return code of Create +is 0 the dialog creation failed and you should not try to execute the dialog +object.</para> <variablelist> <varlistentry><term><emphasis role="bold">Arguments:</emphasis></term> <listitem><para>The arguments are: @@ -546,12 +545,6 @@ </para></listitem></varlistentry> </variablelist> </para></listitem></varlistentry> - <varlistentry><term><emphasis role="bold">Return value:</emphasis></term> - <listitem> - <para> - This method returns true on success and false on failure. - </para> - </listitem></varlistentry> <varlistentry><term><emphasis role="bold">Example:</emphasis></term> <listitem><para>The following example creates a dialog with a size of 300 by 200 dialog units. The dialog has no system menu in its upper-left corner. It has a thick @@ -560,15 +553,9 @@ <programlisting> <![CDATA[ -success = MyDialog~create(20, 20, 300, 200, "My first Dialog", - - "THICKFRAME NOMENU", , "Courier", 12, 100) - -if success then do - MyDialog~Execute -end -else do - -- do some error recovery -end +rc = MyDialog~Create(20, 20, 300, 200, "My first Dialog", , + "THICKFRAME NOMENU", , "Courier", 12, 100) +if rc <> 0 then MyDialog~Execute ]]> </programlisting> </para></listitem></varlistentry> @@ -2826,6 +2813,7 @@ if dlg~initCode = 0 then do dlg~createCenter(150, 83, "Testing Radio Buttons", "VISIBLE", , "Ms Shell Dlg 2", 8) dlg~Execute("SHOWTOP") + dlg~Deinstall end ::requires "oodWin32.cls" @@ -3629,6 +3617,7 @@ if dlg~initCode = 0 then do dlg~createCenter(215, 83, "Testing Check Boxes", "VISIBLE", , "Ms Shell Dlg 2", 8) dlg~Execute("SHOWTOP") + dlg~Deinstall end ::requires "oodWin32.cls" @@ -3894,8 +3883,9 @@ <varlistentry><term>ENDELLIPSIS</term> <listitem> <para> - If the text does not fit in the rectangle, it is truncated and an ellipsis is added. - Compare this to PATHELLIPSIS. + If the end of the text does not fit in the rectangle, it is truncated and ellipses are + added. If a word that is not at the end of the text goes beyond the limits of the + rectangle, it is truncated without ellipses. </para> </listitem></varlistentry> <varlistentry><term>NOPREFIX</term> @@ -3909,8 +3899,8 @@ <varlistentry><term>PATHELLIPSIS</term> <listitem> <para> - If the text is too big for the specified rectangle, characters in the middle of the text - are replaced with an ellipsis so that the result fits in the rectangle. If the text + If the text is to0 big for the specified rectangle, characters in the middle of the text + are replaced with ellipses so that the result fits in the rectangle. If the text contains backslash (\) characters, this style preserves as much as possible of the text after the last backslash. </para> @@ -4158,8 +4148,9 @@ <varlistentry><term>ENDELLIPSIS</term> <listitem> <para> - If the text does not fit in the rectangle, it is truncated and an ellipsis is added. - Compare this to PATHELLIPSIS. + If the end of the text does not fit in the rectangle, it is truncated and ellipses are + added. If a word that is not at the end of the text goes beyond the limits of the + rectangle, it is truncated without ellipses. </para> </listitem></varlistentry> <varlistentry><term>NOPREFIX</term> @@ -4174,7 +4165,7 @@ <listitem> <para> If the text is too big for the specified rectangle, characters in the middle of the text - are replaced with an ellipsis so that the result fits in the rectangle. If the text + are replaced with ellipses so that the result fits in the rectangle. If the text contains backslash (\) characters, this style preserves as much as possible of the text after the last backslash. </para> @@ -4261,6 +4252,8 @@ dlg~Execute("SHOWTOP", IDI_DLG_OOREXX) end + dlg~Deinstall + return 0 -- End of entry point. @@ -5657,6 +5650,7 @@ if dlg~initCode = 0 then do dlg~create(30, 30, 150, 100, "The Simple Dialog", "VISIBLE") dlg~execute("SHOWTOP", 105) + dlg~deinstall end ::requires "OODWin32.cls" Modified: docs/trunk/oodialog/utilityclasses.sgml =================================================================== --- docs/trunk/oodialog/utilityclasses.sgml 2009-10-27 16:07:57 UTC (rev 5286) +++ docs/trunk/oodialog/utilityclasses.sgml 2009-10-27 22:31:19 UTC (rev 5287) @@ -2393,6 +2393,7 @@ MyDlg=.MyDialog~new MyDlg~execute("ShowTop") +MyDlg~DeInstall exit ::requires "OODWIN32.CLS" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |