<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="http://openinsight.wetpaint.com/xsl/rss2html.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://openinsight.wetpaint.com/scripts/wpcss/wiki/openinsight/skin/sporty/rss" type="text/css" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>OpenInsight Community Source Code - Recently Updated Pages</title><link>http://openinsight.wetpaint.com/pageSearch/updated</link><description>Recently Updated Pages on http://openinsight.wetpaint.com</description><language>en-us</language><webMaster>info@wetpaint.com</webMaster><pubDate>Mon, 23 Jun 2008 08:26:59 CDT</pubDate><lastBuildDate>Mon, 23 Jun 2008 08:26:59 CDT</lastBuildDate><generator>wetpaint.com</generator><ttl>60</ttl><image><title>OpenInsight Community Source Code</title><url>http://www.wetpaint.com/img/logo.gif</url><link>http://openinsight.wetpaint.com</link><description>Technical Information for the OpenInsight Developer. Jump start your next OpenInsight applciation development</description></image><item><title>Operating AREV32</title><link>http://openinsight.wetpaint.com/page/Operating+AREV32</link><author>dharmacek</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Operating+AREV32</guid><pubDate>Mon, 23 Jun 2008 08:26:59 CDT</pubDate><description><![CDATA[dharmacek: I just converted one of my client ArevDOS installations to Arev32. I&#39;m going to start a number of threads about my experience. Feel free to ask questions or post your own solutions/problems. PM: The Arev of DOS was version 3.12. It has been interoperating with OI 3.75 for years, and OI 7.3, then OI 8.0.6.<hr size="1"><br/>]]></description></item><item><title>Converting to AREV32</title><link>http://openinsight.wetpaint.com/page/Converting+to+AREV32</link><author>dharmacek</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Converting+to+AREV32</guid><comments>moved details to thread</comments><pubDate>Mon, 23 Jun 2008 08:14:12 CDT</pubDate><description><![CDATA[dharmacek: I just converted one of my client ArevDOS installations to Arev32. I&#39;m going to start a number of threads about my experience. Feel free to ask questions or post your own solutions/problems. PM: The Arev of DOS was version 3.12. It has been interoperating with OI 3.75 for years, and OI 7.3, then OI 8.0.6. <br><hr size="1"><br/>]]></description></item><item><title>RGD OSDirectoryTree</title><link>http://openinsight.wetpaint.com/page/RGD+OSDirectoryTree</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/RGD+OSDirectoryTree</guid><comments>Moved from: Utilities</comments><pubDate>Mon, 26 May 2008 20:47:32 CDT</pubDate><description><![CDATA[A simple utility that returns an @FM delimited array of all the subdirectories under a given directory, including all child subdirectories. The array is returned flat in the order the directories are discovered.<br><hr size="1"><br/>]]></description></item><item><title>OpenInsight Community Source Code</title><link>http://openinsight.wetpaint.com/page/OpenInsight+Community+Source+Code</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/OpenInsight+Community+Source+Code</guid><pubDate>Sun, 25 May 2008 17:05:19 CDT</pubDate><description><![CDATA[ 			<font color="#ff0000"><font color="#333333">An OpenInsight community resource, this wiki stores OpenInsight source code examples to jump start your application development.<br><br>Share your favorite piece of code, help a fellow OpenInsight developer and build a strong community.<br><br><div class="wp-field wp-rss wp-rss-total-5"><a class="external" href="http://openinsight.wetpaint.comhttp://widget.wetpaintserv.us/wiki/openinsight/page/OpenInsight+Community+Source+Code/widget/wetpaintrss/414092328" rel="nofollow" target="_blank"> </a></div><br><b><font color="#ffa500"><font color="#ff0000">Upload your photos from the 2008 User conference to the Photo Gallery</font>.</font> </b><br>Click on the Photo Gallery link above and share your photos of a fantastic conference.<br></font><br></font><br><hr size="1"><br/>]]></description></item><item><title>AREV32</title><link>http://openinsight.wetpaint.com/page/AREV32</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/AREV32</guid><pubDate>Sat, 24 May 2008 18:24:21 CDT</pubDate><description><![CDATA[This section contains information about using AREV32 in OpenInsight.<hr size="1"><br/>]]></description></item><item><title>Google Earth</title><link>http://openinsight.wetpaint.com/page/Google+Earth</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Google+Earth</guid><pubDate>Fri, 23 May 2008 04:23:14 CDT</pubDate><description><![CDATA[Example code that builds a Google Earth .kml file using OpenInsight data.<br>  <div align="left"> </div>  <div align="left"><font color="#000000">There are 3 procedures and one insert</font></div><br><div align="left"> </div>  <div align="left"><font color="#000000">oi_dataconv    - the hub of a convert oi data to other formats system I&#39;m working on</font></div>  <div align="left"><font color="#000000">oi_dataconv_kml   - the bit that actually creates the kml file</font></div>  <div align="left"><font color="#000000">oi_dataconv_common - a label common used by the oi_dataconv process</font></div>  <div align="left"><font color="#000000">oi_dataconv_kml_example - the example procedure you run to see the magic happen.</font></div>  <div align="left"> </div>  <div align="left"><font color="#000000">this example uses google earth. You must have google earth installed for it to work.</font></div><br><hr size="1"><br/>]]></description></item><item><title>OLE Adobe PDF - FDF</title><link>http://openinsight.wetpaint.com/page/OLE+Adobe+PDF+-+FDF</link><author>bornecw</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/OLE+Adobe+PDF+-+FDF</guid><pubDate>Mon, 28 Apr 2008 22:15:37 CDT</pubDate><description><![CDATA[ 			In order to get this to work, you must have Adobe Professional installed on the machine that will be running this code. Adobe Pro will install the necessary files to get the OLE working. <br><br>1) Create or edit a pdf file by adding text controls in the necessary places.<br>2) Paste the below code into OI.<br>3) Basic Utilization - <br> <br> <font>CLB_PDF(<font>&#39;CREATE&#39;</font><font>,</font><font>&#39;\\Ns1\test.pdf&#39;</font><font>)<br>CLB_PDF(</font><font>&#39;SET&#39;</font><font>,</font><font>&#39;DealershipName&#39;</font><font>,</font><font>&#39;TEST&#39;</font><font>)<br>CLB_PDF(</font><font>&#39;SET&#39;</font><font>,</font><font>&#39;MailingAddress&#39;</font><font>,</font><font>&#39;123 1st St&#39;</font><font>)<br>CLB_PDF(</font><font>&#39;SET&#39;</font><font>,</font><font>&#39;CityStZip&#39;</font><font>,</font><font>&#39;Ny, NY 21236&#39;</font><font>)<br>CLB_PDF(</font><font>&#39;SET&#39;</font><font>,</font><font>&#39;DealerNumber&#39;</font><font>,</font><font>&#39;&#39;</font><font>)<br>CLB_PDF(</font><font>&#39;SET&#39;</font><font>,</font><font>&#39;DateFromThrough&#39;</font><font>,fdate:</font><font>&#39;-&#39;</font><font>:tdate)<br>CLB_PDF(</font><font>&#39;SET&#39;</font><font>,</font><font>&#39;DealerContactPerson&#39;</font><font>,</font><font>&#39;MikeVince&#39;</font><font>)<br>CLB_PDF(</font><font>&#39;SET&#39;</font><font>,</font><font>&#39;DealerContact&#39;</font><font>,</font><font>&#39;713-555-1212&#39;</font><font>)<br> </font><font>CLB_PDF(</font><font>&#39;SET&#39;</font><font>,</font><font>&#39;PageNumber&#39;</font><font>,PNo)<br>CLB_PDF(</font><font>&#39;SET&#39;</font><font>,</font><font>&#39;OfPageNumber&#39;</font><font>,TPages)</font></font><br> <font>CLB_PDF(<font>&#39;SET&#39;</font><font>,</font><font>&#39;PageTotal&#39;</font><font>,OConv(AmtTotal,</font><font>&#39;MD2,$&#39;</font><font>))<br>CLB_PDF(</font><font>&#39;SET&#39;</font><font>,</font><font>&#39;TotalNumberOfAgreements&#39;</font><font>,</font><font>@Reccount</font><font>)<br>CLB_PDF(</font><font>&#39;CLOSE&#39;</font><font>,</font><font>&#39;&#39;</font><font>,</font><font>&#39;&#39;</font><font>,</font><font>&#39;Register</font><font>.fdf&#39;</font><font>)</font></font> <font><br>CLB_PDF(<font>&#39;OPEN&#39;</font><font>,</font><font>&#39;&#39;</font><font>,</font><font>&#39;&#39;</font><font>,nfilename)</font></font>  <br><br>_________________________________________________________________________________<br><br>Subroutine FDF_PDF(Type, Param2, Param3, FileName)<br>************************************************************************************************ <br>*                                                                                                                 <br>*                                                                                               <br>* Name:         FDF_PDF     <br>*<br>* Original Programmer:  Clay Borne                                                           <br>*                                                                                                <br>* Description: The FDF_PDF procedure fills in form fields in an Adobe PDF<br>*                                                                                               <br>* Parameters:                                                                                    <br>*   Type            [in]     -- CREATE, SET, CLOSE, OPEN<br>*                                                       <br>*   Param2          [in]     -- If CREATE - FileName with path<br>*                               If SET - Control Name <br>*                               If CLOSE - BLANK<br>*                               If OPEN - BLANK<br>*       <br>*   Param3          [in]     -- If CREATE - BLANK<br>*                               If SET - Value to Set Control to <br>*                               If CLOSE or OPEN - BLANK                    <br>*                                                                                               <br>* Returns:                                                                                       <br>*   Nothing                                                                  <br>*                                                                                                <br>* History (Date, Initials, Notes)<br>*   07/24/07    CWB     Original Programmer                                                     <br>*                                                                                                <br>************************************************************************************************<br>COMMON /%%FDF_PDF%%/ FileName@,FDFName@,FdfAcX@,myFdf@ <br>DECLARE FUNCTION OleCreateInstance,OleCallMethod<br><br>BEGIN CASE<br><blockquote>    CASE TYPE = &#39;CREATE&#39;<br><blockquote>        FdfAcX = OleCreateInstance(&quot;FdfApp.FdfApp&quot; )<br>        FdfAcX@ = FdfAcX<br>        myFdf = OleCallMethod(FdfAcX,&#39;FDFCreate&#39;)<br>        myFdf@ = myFdf <br>        FileName@ = Param2<br></blockquote><br>    CASE TYPE = &#39;SET&#39;<br><blockquote>         ret = OleCallMethod(myFdf@,&#39;fdfsetvalue&#39;,Param2,Param3, 0)<br></blockquote><br>    CASE TYPE = &#39;CLOSE&#39; <br><blockquote>        ret = OleCallMethod(myFdf@,&#39;FDFSetFile&#39;,FileName@)<br>        ret = OleCallMethod(myFdf@, &#39;FDFSaveToFile&#39;,{PATH}:FileName )<br>        ret = OleCallMethod(myFdf@,&#39;fdfclose&#39;)<br></blockquote><br>    CASE TYPE = &#39;OPEN&#39;<br><blockquote>        program= {PATH}:Filename<br><font>        mode=</font>3<br><font>          <font size="3">rv=Utility(</font><font size="3">&quot;RUNWIN&quot;</font><font size="3">,program,mode)</font></font><br></blockquote></blockquote>                         <br>END CASE<br>        <br><br>return<br><br><hr size="1"><br/>]]></description></item><item><title>Configuring OECGI2</title><link>http://openinsight.wetpaint.com/page/Configuring+OECGI2</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Configuring+OECGI2</guid><pubDate>Wed, 12 Mar 2008 16:45:52 CDT</pubDate><description><![CDATA[White paper discussing how to install and configure the OECGI2 gateway on IIS and apache.<br><br>See also the whitepaper on <a href="http://openinsight.wetpaint.com/page/installing+and+running+the+oeSocketServer+service" target="_self">installing and running the oeSocketServer service</a> and the <a href="http://openinsight.wetpaint.com/page/Prototypejs+Ajax+Framework+Examples" target="_self">Prototype Ajax Framework Example</a> .<br><hr size="1"><br/>]]></description></item><item><title>Installing and running the oeSocketServer Service</title><link>http://openinsight.wetpaint.com/page/Installing+and+running+the+oeSocketServer+Service</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Installing+and+running+the+oeSocketServer+Service</guid><pubDate>Wed, 12 Mar 2008 16:45:11 CDT</pubDate><description><![CDATA[A whitepaper discussing how to install and run the oeSocketServer service.<br><br>See also the white paper on <a href="http://openinsight.wetpaint.com/page/Configuring+OECGI2" target="_self">Configuring OECGI2</a> and the <a href="http://openinsight.wetpaint.com/page/Prototypejs+Ajax+Framework+Examples" target="_self">Proptype Ajax Framework example</a><hr size="1"><br/>]]></description></item><item><title>Rev Guy Reveals No1. Promoted Events</title><link>http://openinsight.wetpaint.com/page/Rev+Guy+Reveals+No1.+Promoted+Events</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Rev+Guy+Reveals+No1.+Promoted+Events</guid><comments>Moved from: Whitepapers</comments><pubDate>Wed, 12 Mar 2008 16:43:35 CDT</pubDate><description><![CDATA[Backgound information on Event Processing in OpenInsight and covers how to create a promoted event.<hr size="1"><br/>]]></description></item><item><title>Popups under Control/EdiTable cell</title><link>http://openinsight.wetpaint.com/page/Popups+under+Control%2FEdiTable+cell</link><author>BarryStevens</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Popups+under+Control%2FEdiTable+cell</guid><pubDate>Sun, 09 Mar 2008 17:32:23 CDT</pubDate><description><![CDATA[This function will call a popup and place it under a control or EditTable cell.<br>the value will be returned to the control; OR the calling ssp only ( NoCtrlRet)<br><br>Can be used as a quickevent.<br><hr size="1"><br/>]]></description></item><item><title>Whitepapers</title><link>http://openinsight.wetpaint.com/page/Whitepapers</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Whitepapers</guid><comments>Moved from: OpenInsight Community Source Code</comments><pubDate>Sun, 02 Mar 2008 15:13:49 CST</pubDate><description><![CDATA[A collection of whitepapers on various OpenInsight topics.<hr size="1"><br/>]]></description></item><item><title>Mail</title><link>http://openinsight.wetpaint.com/page/Mail</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Mail</guid><comments>Moved from: OpenInsight Community Source Code</comments><pubDate>Thu, 21 Feb 2008 15:05:44 CST</pubDate><description><![CDATA[There is no abstract available for this page revision.<hr size="1"><br/>]]></description></item><item><title>Sending and receiving e-mail using MAPI</title><link>http://openinsight.wetpaint.com/page/Sending+and+receiving+e-mail+using+MAPI</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Sending+and+receiving+e-mail+using+MAPI</guid><pubDate>Tue, 19 Feb 2008 15:16:27 CST</pubDate><description><![CDATA[This whitepaper covers everything you need to know about sending and receiving e-mail via the MAPI interface built in to OpenInsight since v3.5x.<br><br><hr size="1"><br/>]]></description></item><item><title>RGD LatLong Conversion</title><link>http://openinsight.wetpaint.com/page/RGD+LatLong+Conversion</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/RGD+LatLong+Conversion</guid><comments>Moved from: Utilities</comments><pubDate>Tue, 19 Feb 2008 15:12:19 CST</pubDate><description><![CDATA[Function to convert latitude and longitude between degrees minutes and seconds and decimal format.<br><br>Pass the latitude and longitude in either format to this function and it will return the other format.<br><br>Handy for <a href="http://openinsight.wetpaint.com/page/mapping" target="_self">mapping</a> applications.<br><br>Source code attached below.<br><br><hr size="1"><br/>]]></description></item><item><title>Prototypejs Ajax Framework Examples</title><link>http://openinsight.wetpaint.com/page/Prototypejs+Ajax+Framework+Examples</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/Prototypejs+Ajax+Framework+Examples</guid><pubDate>Wed, 13 Feb 2008 23:24:42 CST</pubDate><description><![CDATA[ 			An easy to use and powerful <a href="http://openinsight.wetpaint.com/page/AJAX" target="_self">AJAX</a> framework with event processing. Prototypejs is the base <a href="http://openinsight.wetpaint.com/page/AJAX" target="_self">AJAX</a> framework for <a class="external" href="http://openinsight.wetpaint.comhttp://script.aculo.us" rel="nofollow" target="_blank">script.aculo.us</a>, which then integrates with other <a href="http://openinsight.wetpaint.com/page/web" target="_self">web</a> development environments like Ruby On Rails, perl, PHP etc.<br><br>Visit <a class="external" href="http://openinsight.wetpaint.comhttp://prototypejs.org" rel="nofollow" target="_blank">www.prototypejs.org</a> for more information about prototypejs. You can view some great screencast tutorials about using prototypejs at <a class="external" href="http://openinsight.wetpaint.comhttp://www.peepcode.com" rel="nofollow" target="_blank">www.peepcode.com</a> which explain in great detail how to create event driven <a href="http://openinsight.wetpaint.com/page/AJAX" target="_self">AJAX</a> applications using prototypejs.<br><br>Attached below are some example html pages that use prototypejs and oecgi2.exe to create dynamic <a href="http://openinsight.wetpaint.com/page/web" target="_self">web</a> 2.0 content. <br><br>The <a href="http://openinsight.wetpaint.com/page/AJAX" target="_self">AJAX</a> is triggered by events that occur in the HTML pages, like a click on a link, or an onBlur (lostfocus for us OI developers) on a text input control, so this is similar to the event processing in OpenInsight forms, and should be easily understood by OpenInsight developers. <br><br>The examples assume that you have OECGI2.EXE installed and configured to access the EXAMPLES application. Attached are two white papers explaining how to install and configure OECGI2 and the OESocketServer service. OECGI2.EXE was introduced in OpenInsight V7.1. <br><br>These examples would also work well with OECGI.EXE, which was released with OpenInsight 3.7x and above, but you will need to edit the HTML pages and replace OECGI2.EXE with OECGI.EXE, and install and configure OECGI.EXE. See the OpenInsight help files for more information on installing and configuring OECGI.EXE. <u><i>It is recomended to use OECGI2.EXE though.</i></u><br><br>There are two simple OpenInsight procedures to install and compile into the EXAMPLES application (source code included). Apart from that, these examples are using the standard OpenInsight EXAMPLES application.<br><br>The HTML pages have been designed to work in nearly all browers, even those that do not support javascript. But, of course, for non-javascipt enabled browsers, the <a href="http://openinsight.wetpaint.com/page/AJAX" target="_self">AJAX</a> event processing does not work. The pages will still work, and act as traditional HTML pages, where the whole page will be refreshed. <br><br>The examples should work on most <a href="http://openinsight.wetpaint.com/page/web" target="_self">web</a> servers. They have been tested on <a class="external" href="http://openinsight.wetpaint.comhttp://www.iis.net/default.aspx?tabid=1" rel="nofollow" target="_blank">Microsoft IIS server</a> (Windows XP, Windows 2003 Server) and <a class="external" href="http://openinsight.wetpaint.comhttp://www.apache.org/" rel="nofollow" target="_blank">apache</a>. <br><br>Please see the readme.txt file contained in the zip file below for more information on setup and running the examples.<hr size="1"><br/>]]></description></item><item><title>RGD Change App</title><link>http://openinsight.wetpaint.com/page/RGD+Change+App</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/RGD+Change+App</guid><pubDate>Wed, 13 Feb 2008 20:35:45 CST</pubDate><description><![CDATA[ 			This utility will help you move OpenInsight entities from one application to another. <br><br>E.G. move a window/procedure/popup etc from one application to another.<br><br>To change an entities application, you do the following:<br><br>1. Create an RDK deployment of the entities you want to change<br>2. run the RGD_CHANGEAPP <a href="http://openinsight.wetpaint.com/page/form" target="_self">form</a> to change the application name<br>3. RDKinstall the changed entities into the new application.<br><br>Attached below is a zipped RDK install of the <a href="http://openinsight.wetpaint.com/page/form" target="_self">form</a> RGD_CHANGEAPP and the stored procedure RGD_CHANGEAPP. (Both get installed into SYSPROG)<br><br>To run the RGD_CHANGEAPP window, type the following into the SYSTEM MONITOR<br><br>EXEC RGD_CHANGEAPP.<br><br><h3>NOTE</h3>Please ensure that you have a backup of the entities before you change the application name.<br><hr size="1"><br/>]]></description></item><item><title>RGD Calculate GST</title><link>http://openinsight.wetpaint.com/page/RGD+Calculate+GST</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/RGD+Calculate+GST</guid><pubDate>Wed, 13 Feb 2008 19:08:27 CST</pubDate><description><![CDATA[ 			Use this function to calculate the value of tax (gst, vat) for a given amount. <br><br>The amount can include or exclude the tax amount, and the ex-tax amount is returned as well.<br><br>You can round the tax amount by specifying a rounding value, for example, to round to the nearest 5 cents pass 5 as the rounding value.<br><br><h3>::Example::</h3><font color="#0000ff" face="Courier" size="2">amount = 11000   ;* dollar value of the amount to calculate the tax on, in cents (MD2)<br>type = &quot;I&quot;        ;* does the amount include or exclude the tax (I for include, E for exclude)<br>taxRate = &quot;10%&quot; ;* the tax rate, can be passed as 10% or 10 or 0.01<br>rounding = 5  ;* round the tax amount to the nearest 5 cents.<br><br>taxAmount = rgd_calculate_GST(amount,type,taxRate,rounding,exTaxAmount)<br><br>* taxAmount will be set to 1000 (in cents MD2)<br>* exTaxAmount will be set to 10000 (in cents MD2)</font><br><br>source code attached below.<br><br><hr size="1"><br/>]]></description></item><item><title>StartMdichild</title><link>http://openinsight.wetpaint.com/page/StartMdichild</link><author>BarryStevens</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/StartMdichild</guid><pubDate>Tue, 12 Feb 2008 15:39:10 CST</pubDate><description><![CDATA[There was a problem with start_mdichild in the days up to and including (I think) 7.0, where any new mdi child widows would display starting from the cascade location of the last mdi child position, even if there were no mdi child windows open. ie. you could get a windows in the middle of your mdi.<br><br>Note: This routine works in versions from 4.0 to current 8.0<br><br>This routine will use the next available cascade position starting from the TopLeft pos.<br><br>Create this in the SYSPROG account. <br>In the form designer, quickevent event select &quot;Start mdichild window&quot; and change START_MDICHILD to STARTMDICHILD<br><br><br><table cellpadding="0" cellspacing="0" width="100%">  <tbody>  <tr>  <td width="16"><br></td>  <td><br></td>  <td width="16"><br></td></tr>  <tr>  <td width="16"><br></td>  <td>  <font size="+0"><font size="+0">function </font><font size="+0">StartMDIChild(mdichildgroupID, mdiframeID, createparam, mdichildinstanceID, mdichildtitle, initialappearancemode , initx, inity, winStruct)<br></font></font><br><font size="+0"><font size="+0">declare function </font><font size="+0">utility, fieldcount, get_property, start_mdichild<br><br>InitUsed=</font><font size="+0">&#39;&#39; <br><br></font><font size="+0">AllChildWindows = Utility(</font><font size="+0">&#39;OBJECTLIST&#39;</font><font size="+0">, </font><font size="+0">&#39;MAINMENU&#39;</font><font size="+0">, </font><font size="+0">&#39;WINDOW&#39;</font><font size="+0">)<br>Cnt = fieldcount(AllChildWindows,</font><font size="+0">@fm</font><font size="+0">)<br></font><font size="+0">for </font><font size="+0">X = </font><font size="+0">1 </font><font size="+0">to </font><font size="+0">Cnt<br><blockquote>  Size=get_property(AllChildWindows&lt;X&gt;,</blockquote></font><font size="+0">&quot;SIZE&quot;</font><font size="+0">)  <br>InitUsed&lt;-</font><font size="+0">1&gt; </font><font size="+0">= Size&lt;</font><font size="+0">1&gt; </font><font size="+0">next </font><font size="+0">X<br>Ok=</font><font size="+0">0<br></font><font size="+0">InitX=</font><font size="+0">0<br></font><font size="+0">loop until </font><font size="+0">Ok<br><blockquote>  </blockquote></font><font size="+0">locate </font><font size="+0">InitX </font><font size="+0">in </font><font size="+0">InitUsed </font><font size="+0">using @fm setting </font><font size="+0">foo </font><font size="+0">then  <br><blockquote>  </blockquote></font><font size="+0">InitX+=</font><font size="+0">22 </font><font size="+0">end else  <br><blockquote>  </blockquote></font><font size="+0">Ok=</font><font size="+0">1 </font><font size="+0">end repeat  <br></font><font size="+0">InitY=InitX <br><br>WinId= Start_MDIChild(mdichildgroupID, mdiframeID, createparam, mdichildinstanceID, mdichildtitle, initialappearancemode, initx, inity,WinStruct)<br><br></font><font size="+0">return </font><font size="+0">WinId<br></font></font></td>  <td width="16"><br></td></tr>  <tr>  <td width="16"><br></td>  <td><br></td>  <td width="16"><br></td></tr></tbody></table><hr size="1"><br/>]]></description></item><item><title>RGD Window Place</title><link>http://openinsight.wetpaint.com/page/RGD+Window+Place</link><author>zapher67</author><guid isPermaLink="false">http://openinsight.wetpaint.com/page/RGD+Window+Place</guid><pubDate>Mon, 11 Feb 2008 17:36:10 CST</pubDate><description><![CDATA[This routine places a window on the screen at a specified x and y position.<br><br>You can specify the X and Y position explicitly, or you can center the window inside it&#39;s parent or center the window in the desktop. <br> <br>You usually call this routine from the create event for the window. The windows visible property should be set to not visible, so that the window is moved into position before it is displayed on the screen.<br><br>Source code attached below.<br><br><br><hr size="1"><br/>]]></description></item></channel></rss>