<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>StudioWorks - Version 2007-07-31</title> <meta name="keywords" content="omnis studio, raining data, studioworks documentation" /> <link rel="stylesheet" type="text/css" href="http://www.studiotips.net/css/codedoc.css" /> <link rel="stylesheet" type="text/css" href="http://www.studioworks-dev.net/css/codedoc.css" /> </head> <body> <div id="container"> <p><a href = ../index.html > Sw4 </a> &nbsp &gt; &nbsp <a href = index.html > About </a> &nbsp &gt; &nbsp Version 2007-07-31</p> <a name="version20070731" /> <h2>Version 2007-07-31</h2> <p>The following is a summary of the changes included in this release.</p> <ol> <li><strong>Platform Specific Paths</strong> - Code which figures out platform specific paths have been added to the <span class="code">oPaths</span> object. Methods have been added to <span class="code">oPaths</span> for returning the path to the user's home directory, documents folder, preferences folder, etc. StudioWorks preferences and logs are now stored in the platform specific user preferences files location, outside of the Omnis executible folder. This means that preferences and logs will be retained when upgrading to a new version of Omnis Studio. To implement this you must copy <span class="code">oPaths</span> from the new release to your main library.</li> <li><strong>Omnis Startup</strong> - StudioWorks will now also look for the <span class="file">studioworks</span> folder in an <span class="file">Omnis Startup</span> folder which you can create in your <span class="file">Applications</span> folder (Mac) or <span class="file">Programs Folder</span> (Win). StudioWorks will look for the studioworks folder in the following order: <span class="file">APP, OMNIS, Omnis Startup</span>. The <span class="file">Omnis Startup</span> folder is part of an auto-Omnis-startup utility that is available as a free download from <a href="http://www.studiotips.net">studiotips.net</a>. To implement this you must copy <span class="code">oPaths</span> from the new release to your main library.</li> <li><strong>Error Handler Log Errors To Database</strong> - An enhancement has been added to the error handler so that it can log errors to an <span class="code">Errorlog</span> table in the main database. The StudioWorks default remains to write the errors to a log file on the local client computer. Changing your app so that it logs errors to the database is very simple to do. A big benefit is that the system administrator can view the history all of the errors from all of the users. See <span class="nav">StudioWorks > Error Handler > Log Errors Destination</span> for more information and how to implement logging errors to the database.</li> <li><strong>Find/Search Droplist for FetchAll SQL Classes</strong> - An enhancment, thanks to Andy Hilton, has been added to the search bar and the find prompt. If the user selects the <em>is</em> (=) option in the operators list on a fetchall SQL class, the search bar or find prompt will automatically build a list of all the records so the user can select a specific record in a droplist field rather than guess at the exact spelling.</li> <li><strong>Custom Meta-Data</strong> - A <span class="code">custominforow</span> has been added to the class and columns meta-data. A <span class="nav">Custom Info Row</span> tab has been added to the <span class="nav">SQL Meta-Data Editor</span> subwindows. Custom info row accessor methods have been added to <span class="code">oSQLLists</span>. All of this adds up to giving StudioWorks developers the ability to easily add their own custom meta-data within the StudioWorks framework! See <span class="nav">StudioWorks > SQL > Meta-Data > Custom Meta-Data</span> for more information.</li> <li><strong>Ping Database Server</strong> - A column, <span class="code">pingdbserver</span>, has been added to the sessions row to control whether or not a <span class="code">TCPPing</span> is issued by the <span class="code">$pingDatabase</span> method of <span class="code">oLogon</span>. Some database servers are setup to ignore <span class="code">TCPPing</span>, so you might not want to ping the databaser server. You can control set the column value to false by adding <span class="code">pingdatabase = FALSE ;</span> to the logon group in your <span class="file">startupsettings.txt</span> file.</li> <li><strong>Navigation Treelist</strong> - Modifications have been made to the navigation treelist so that the user can not tab into the treelist from a subwindow. The navigation treelist is disabled and only accepts mouse clicks by trapping <span class="code">On evMouseDown</span>. <br /> <br /> A show/hide nav list button has been added to the main window allowing the user to toggle the nav list, giving more room for the current subwindow. You can override this enhancement by creating a subclass of <span class="code">wMainWindow</span> in your main library and overriding the <span class="code">$:ShowHideNavListVisible</span> property method and returning <span class="code">kFalse</span>. <br /> <br /> Changed the border to <span class="code">kBorderChisel</span> and the <span class="code">$dragborder</span> property to <span class="code">kTrue</span> for the nav list container so that the user can adjust the nav list width. Added code to <span class="code">$destruct</span> and <span class="code">$construct</span> to save and restore the nav list width for the current user.</li> <li><strong>Default OK and Cancel Commands</strong> - You can set default commands to be excecuted when an <span class="code">evOK</span> or <span class="code">evCancel</span> is received by the shell window. If the user presses the <span class="nav">Return</span> key an <span class="code">evOK</span> event happens (except in a multi-line entry field or a headed list field). If the user presses <span class="nav">Esc/Cmnd+.</span> an <span class="code">evCancel</span> event happens. The edit window defaults have been set so that <span class="nav">SaveAndClose</span> is the <span class="code">evOK</span> default and <span class="nav">Cancel</span> is <span class="code">evCancel</span> default. You can override these defaults. For more information see <span class="nav">StudioWorks > Windows > Windows > Default Commands</span></li> <li><strong>Load Saved Session</strong> - You can now specify the name of a saved session in the <span class="code">startupsettings.txt</span> file. The saved session will be loaded by StudioWorks on startup. The tables owner name and password can be stored in the saved session rather than the <span class="code">tableownerlogon.txt</span> file. Both options are available. For more information see <span class="nav">StudioWorks > SQL > Sign-In > Tables Owner Logon </span></li> </ol> <p>To update to this new release:<br /> <ol> <li>Quit Omnis Studio.</li> <li>Backup your application.</li> <li>Replace your old <span class="file">studioworks</span> folder and contents with the new <span class="file">studioworks</span> folder included with this release.</li> <li>Reopen your StudioWorks app.</li> <li>Copy <span class="code">oPaths</span> from <span class="code">swBase4</span> to your main library.</li> <li>Close and reopen your StudioWorks app.</li> <li>Test your app.</li> <li>If you wish to log errors to the main database you will need to make a small addition to your main library <span class="code">Startup_Task</span>. See <span class="nav">StudioWorks > Error Handler > Log Errors Destination</span> for details.</li> </ol></p> Each library and the modifications in the release are listed below. The modifications are compiled from the <span class="code">@MOD</span> tag comments found in the methods of the classes in the library. <a name="mysysadmin" /> <h3>mySysAdmin</h3> <p><span class="code">oMenusList/$addNavigationMenuLines</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Added WinInstID 'ErrorlogListView', a window for the sys admin to look at the errors log in the database if used.</p> <p><span class="code">oWindowsList/$addCustomWinInstIDs</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Added Errorlog windows to the WinInstIDs for the SysAdmin module.</p> <p><span class="code">wUsrEdit/$save</span> <span class="moddateby">(2007-07-20 Doug K.)</span><br /> Bug workaround? If a column of row datatype has a defined row in it, copying over it fails if we don't first calculate it as #NULL.</p> <p><span class="code">wUsrEdit/$save</span> <span class="moddateby">(2007-07-20 Doug K.)</span><br /> Changed ioDBAdmin to local variable oDBAdmin to avoid keeping 2 session open after use.</p> <span class="code">wUsrEdit/changePassword</span> <span class="moddateby">(2007-07-20 Doug K.)</span><br /> Changed ioDBAdmin to local variable oDBAdmin to avoid keeping 2 session open after use. <a name="swbase4" /> <h3>swBase4</h3> <p><span class="code">oAppPrefs/$_retCachedList</span> <span class="moddateby">(2007-07-14 Doug K.)</span><br /> Added missing 'End if'</p> <p><span class="code">oCreateLibrary/$createWebModule</span> <span class="moddateby">(2007-07-16 Doug K.)</span><br /> Added 'Calculate FlagOK as kFalse' after various errors in this method which do not set the flag to false.</p> <p><span class="code">oDBAdminMethods_abstract/$_executeSQLStmnts</span> <span class="moddateby">(2007-07-17 Doug K per Andy H)</span><br /> Remove the rubbish code that was using pStmntObj which doesn't even exist in this method.</p> <p><span class="code">oDBAdminMethods_abstract/$renameColumn</span> <span class="moddateby">(2007-07-20 Doug K.)</span><br /> Changed the $renameColumn method from a 'stub method' to a real method.</p> <p><span class="code">oErrorHandler/$#About</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Overhaul of the oErrorHandler object so that it defaults to tracelog, and can be set to use a log file, or a database.</p> <p><span class="code">oErrorHandler/$#About</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Since the $log...Error methods are being use to log an error, we can't return false from these methods. Therefore if an error occurs in any of methods of this object, the error will always be sent to the trace log and set the iLogErrorsDestination to 'tracelog'. The $log...Error method will then open the trace log.</p> <p><span class="code">oErrorHandler/$:AppName.$assign</span> <span class="moddateby">(2007-07-10 Doug K.)</span><br /> Added method to allow the app name to be assigned to the error handler at any time.</p> <p><span class="code">oErrorHandler/$:LogErrorsDestination</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Added method which returns the current destination of the errors log. (tracelog, logfile, database)</p> <p><span class="code">oErrorHandler/$OPENLOGFILEVIEWER</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Remove dependency on oFunctions. Look for the wLogFileView window class in $ctask.$lib, then $clib.</p> <p><span class="code">oErrorHandler/$OPENLOGFILEVIEWER</span> <span class="moddateby">(2007-07-10 Doug K.)</span><br /> Deprecated the method. Replaced with $openErrorLogViewer method which opens the appropriate error log viewer window.</p> <p><span class="code">oErrorHandler/$initialize</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Change the parameter pLogFilePath to optional, and send it as a parameter to the 'setLogFileAndFileOpsVar' method. Only call the 'setLogFileAndFileOpsVar' method if pLogFilePath_opt has been provided.</p> <p><span class="code">oErrorHandler/$initialize</span> <span class="moddateby">(2007-07-10 Doug K.)</span><br /> Default the log errors destination to the tracelog before attempting to set the log file.</p> <p><span class="code">oErrorHandler/$logAction</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Open trace log if an internal error occurred.</p> <p><span class="code">oErrorHandler/$logCheckDataError</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Open trace log if an internal error occurred.</p> <p><span class="code">oErrorHandler/$logDataError</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Open trace log if an internal error occurred.</p> <p><span class="code">oErrorHandler/$logError</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Open trace log if an internal error occurred.</p> <p><span class="code">oErrorHandler/$logFTPError</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Open trace log if an internal error occurred.</p> <p><span class="code">oErrorHandler/$logFileOpsError</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Open trace log if an internal error occurred.</p> <p><span class="code">oErrorHandler/$logMinorError</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Open trace log if an internal error occurred.</p> <p><span class="code">oErrorHandler/$logProgramError</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Open trace log if an internal error occurred.</p> <p><span class="code">oErrorHandler/$logProgramError_CanNotDoMethod</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Open trace log if an internal error occurred.</p> <p><span class="code">oErrorHandler/$logProgramError_ClassNotFound</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Open trace log if an internal error occurred.</p> <p><span class="code">oErrorHandler/$logProgramError_InvalidParameter</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Open trace log if an internal error occurred.</p> <p><span class="code">oErrorHandler/$logProgramError_SwitchCase</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Open trace log if an internal error occurred.</p> <p><span class="code">oErrorHandler/$logProgramError_UnderConstruction</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Open trace log if an internal error occurred.</p> <p><span class="code">oErrorHandler/$logSMTPError</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Open trace log if an internal error occurred.</p> <p><span class="code">oErrorHandler/$logSQLError</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Open trace log if an internal error occurred.</p> <p><span class="code">oErrorHandler/$logUserError</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Open trace log if an internal error occurred.</p> <p><span class="code">oErrorHandler/$openErrorLogViewer</span> <span class="moddateby">(2007-07-10 Doug K.)</span><br /> Added new log viewer method which opens the appropriate log file viewer based on iLogErrorsDestination (tracelog, logfile, database)</p> <p><span class="code">oErrorHandler/$promptonceLastError</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Add test for wErrorPrompt window class and send error to trace log if not found. Look for wErrorPrompt in $ctask.$lib, then $clib.</p> <p><span class="code">oErrorHandler/$setDatabaseSession</span> <span class="moddateby">(2007-07-10 Doug K.)</span><br /> Added method to set the database session which is to be used for the error log. This allows the main database to be used for the error log rather than individual log files on client computers. The sErrorlog schema class was added to support this enhancement.</p> <p><span class="code">oErrorHandler/$setDatabaseSession</span> <span class="moddateby">(2007-07-18 Doug K)</span><br /> Change ioDBAdmin ivar to oDBAdmin local variable so that the 2 extra sessions are destroyed after the method runs. Get the tables list using our own statement object to avoid opening 2 new sessions using oDBAdmin just to check if the 'Errorlog' table exists.</p> <p><span class="code">oErrorHandler/_writeToLogFile</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Added private method which writes to the log file.</p> <p><span class="code">oErrorHandler/setLogFileAndFileOpsVar</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Set the iLogErrorsDestination ivar to 'logfile' if all goes well in this method, 'tracelog' if not. Set the iLogFilePath ivar if all goes well in this method.</p> <p><span class="code">oErrorHandler/writeErrorToLog</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Renamed 'writeToLogFile' method to 'writeErrorToLog' and then created applicable _writeTo... submethods. Errors will automatically be written to tracelog, logfile, or database depending on the state of iLogErrorsDestination.</p> <p><span class="code">oLogon/$reconnectSession</span> <span class="moddateby">(2007-07-18 Doug K.)</span><br /> Added new method which is to reconnect the session doing as little work as possible and not changing the session name.</p> <p><span class="code">oLogonMethods/$initialize</span> <span class="moddateby">(2007-07-12 Doug K per Andy H)</span><br /> Added parameter pbPingDBServer and ivar ibPingDBServer to control whether or not to send a TCPPing to the database server.</p> <p><span class="code">oLogonMethods/$reconnectSession</span> <span class="moddateby">(2007-07-18 Doug K.)</span><br /> Added new method which is to reconnect the session doing as little work as possible and not changing the session name.</p> <p><span class="code">oLogonMethods_FRONTBASEDAM/$pingDatabase</span> <span class="moddateby">(2007-07-12 Doug K.)</span><br /> Added 'If irSessionRow.pingdbserver' to control whether or not a TCPPing is sent to the DB server.</p> <p><span class="code">oLogonMethods_MYSQLDAM/$pingDatabase</span> <span class="moddateby">(2007-07-12 Doug K.)</span><br /> Added 'If irSessionRow.pingdbserver' to control whether or not a TCPPing is sent to the DB server.</p> <p><span class="code">oPaths/$#About</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Added a slew of platform specific private methods from the free FolderPaths library.</p> <p><span class="code">oPaths/$:ErrorText</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Added method $:ErrorText which returns the last error logged by this object.</p> <p><span class="code">oPaths/$:OmnisStartupFolderName</span> <span class="moddateby">(2007-07-17 Doug K per request by Mike Matthews.)</span><br /> Added assignable property method to allow developers to change the 'Omnis Startup' folder name to their own brand name using the startupsettings.txt file or the Startup_Task.</p> <p><span class="code">oPaths/$:OmnisStartupFolderName.$assign</span> <span class="moddateby">(2007-07-17 Doug K per request by Mike Matthews.)</span><br /> Added assignable property method to allow developers to change the 'Omnis Startup' folder name to their own brand name using the startupsettings.txt file or the Startup_Task.</p> <p><span class="code">oPaths/$:PATHPREFERENCESFOLDER_APP</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Deprecated the poorly named '$:PathPreferencesFolder_app' method.</p> <p><span class="code">oPaths/$:PATHPREFERENCESFOLDER_USER</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Deprecated the poorly named '$:PathPreferencesFolder_user' method.</p> <p><span class="code">oPaths/$:PathAppFolder</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Removed early exits.</p> <p><span class="code">oPaths/$:PathAppPreferencesFolder</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Added method '$:PathAppPreferencesFolder' which supercedes the poorly named '$:PathPreferencesFolder_app'.</p> <p><span class="code">oPaths/$:PathLogsFolder</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Changed the 'logs' folder location to be inside the '$:PathUserPreferencesFolder'.</p> <p><span class="code">oPaths/$:PathOmnisStartupFolder</span> <span class="moddateby">(2007-07-13 Doug K.)</span><br /> Added 'FolderName' variable to make it easier for developers to change 'Omnis Startup' to a different name.</p> <p><span class="code">oPaths/$:PathOmnisStartupFolder</span> <span class="moddateby">(2007-07-17 Doug K per request by Mike Matthews.)</span><br /> Use the $:OmnisStartupFolderName property method to get the 'FolderName' to make it easy for developers to change 'Omnis Startup' to a different name using the startupsettings.txt file or from the Startup_Task.</p> <p><span class="code">oPaths/$:PathTempFilesFolder</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Revised to use private methods copied from the StudioTips 'FolderPaths' library.</p> <p><span class="code">oPaths/$:PathUserDesktop</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Revised to use private methods copied from the StudioTips 'FolderPaths' library.</p> <p><span class="code">oPaths/$:PathUserDocuments</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Revised to use private methods copied from the StudioTips 'FolderPaths' library.</p> <p><span class="code">oPaths/$:PathUserHome</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Revised to use private methods copied from the StudioTips 'FolderPaths' library.</p> <p><span class="code">oPaths/$:PathUserPreferencesFolder</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Added method '$:PathUserPreferencesFolder' which supercedes the poorly named '$:PathPreferencesFolder_user'. The new method uses the platform dependent location for the user preferences folder, not the Omnis Studio folder. By default an /Omnis/[$ctask().$name]/ folder is created inside the platform's 'user preferences' folder. You can override this method in your main library oPaths object to use your own app name for the subfolder(s).</p> <p><span class="code">oPaths/$:PathUserPreferencesFolder</span> <span class="moddateby">(2007-07-17 Doug K per request by Mike Matthews)</span><br /> Use the $:PreferencesParentFolderName method value as the parent folder name, allowing developers to set this in the startupsettings.txt file.</p> <p><span class="code">oPaths/$:PathUserPreferencesFolder</span> <span class="moddateby">(2007-07-17 Doug K)</span><br /> Check for an $:AppName property method in the startup task. If it exists, use the return value as the name for the actual preferences folder.</p> <p><span class="code">oPaths/$:PreferencesParentFolderName</span> <span class="moddateby">(2007-07-17 Doug K per request by Mike Matthews.)</span><br /> Added assignable property method to allow developers to change the 'Omnis' preferences folder name to their own brand name using the startupsettings.txt file or the Startup_Task.</p> <p><span class="code">oPaths/$:PreferencesParentFolderName.$assign</span> <span class="moddateby">(2007-07-17 Doug K per request by Mike Matthews.)</span><br /> Added assignable property method to allow developers to change the 'Omnis' preferences folder name to their own brand name using the startupsettings.txt file or the Startup_Task.</p> <p><span class="code">oPaths/$_FINDSTRINGTABLESINFOLDER</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Deprecated the $_findStringTablesInFolder method. The *.stb files are no longer being used by StudioWorks.</p> <p><span class="code">oPaths/$_logError</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Removed opening the trace log from this method if the sender has the object set to send errors to trace log. Opening the trace log causes all subsequent lines of code to be written to the trace log.</p> <p><span class="code">oPaths/$_logError</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Added an ivar, iErrorText, which is calculated if an error occurs. The sender can get the last error using $:ErrorText.</p> <p><span class="code">oPaths/$initialize</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Removed the old backwards compatible code for 'foldersconfig' settings in the startupsettings file. Removed the ability to set the logs, preferences, or studioworks folder locations from in the startupsettings file. If you want anything other than the defaults you need to modify the methods of oPaths in your main library.</p> <p><span class="code">oPaths/trimPath</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Added new method which trims double quotes off file paths (from Applescript) and trims trailing path delimiters.</p> <p><span class="code">oPrepareNewDatabase/$prepareNewDatabase</span> <span class="moddateby">(2007-07-10 Doug K per Andy H.)</span><br /> After sync'ing the database refresh the session if using the Omnis data file so that the table list will be correct.</p> <p><span class="code">oRebuildCachedLists/$_reloadStringTables</span> <span class="moddateby">(2007-07-19 Doug K per Andy H.)</span><br /> Changed method name 'reloadStringTables' to '$_reloadStringTables' so that the method can be overridden in subclass.</p> <p><span class="code">oRebuildCachedLists/$buildRuntimeWindows</span> <span class="moddateby">(2007-07-19 Doug K per Andy H.)</span><br /> Change 'reloadStringTables' to '$_reloadStringTables' so that the method can be overridden in subclass.</p> <p><span class="code">oRebuildCachedLists/$rebuildAllCachedLists</span> <span class="moddateby">(2007-07-19 Doug K per Andy H.)</span><br /> Change 'reloadStringTables' to '$_reloadStringTables' so that the method can be overridden in subclass.</p> <p><span class="code">oRebuildCachedLists/$reloadStringTables</span> <span class="moddateby">(2007-07-19 Doug K per Andy H.)</span><br /> Change 'reloadStringTables' to '$_reloadStringTables' so that the method can be overridden in subclass.</p> <p><span class="code">oSQLLists/$retSQLClassCustomInfoRow</span> <span class="moddateby">(2007-07-12 Doug K.)</span><br /> Added method to make it easy to get the meta-data custominforow for a class.</p> <p><span class="code">oSQLLists/$retSQLColCustomInfoRow</span> <span class="moddateby">(2007-07-12 Doug K.)</span><br /> Added method to make it easy to get the meta-data custominforow for a column.</p> <p><span class="code">oSessionsManager/$:DefaultSessionRow</span> <span class="moddateby">(2007-07-12 Doug K.)</span><br /> Added 'pingdbserver' to the sSessions_listdef and the default session row, default kTrue.</p> <p><span class="code">oSessionsManager/$pingDatabase</span> <span class="moddateby">(2007-07-12 Doug K.)</span><br /> Added 'If pSessionListRow.pingdbserver' before issuing TCPPing to the database server.</p> <p><span class="code">oStartupTaskDefaultMethods/$signIn</span> <span class="moddateby">(2007-07-10 Doug K per Andy H)</span><br /> Changed $openonce to $open in the error message details.</p> <p><span class="code">oStartupTaskDefaultMethods/openLibraries</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Added missing return FlagOK from initializing oPaths object.</p> <p><span class="code">oStartupTaskVarsTool/$_constructObjRefVar</span> <span class="moddateby">(2007-07-10 Doug K per request by Andy H)</span><br /> Renamed private method 'constructObjRefVar' to protected method '$_constructObjRefVar'</p> <p><span class="code">oStartupTaskVarsTool/$_initializeAppPrefs_localdatafile</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Call oPaths method '$:PathAppPreferencesFolder' instead of deprecated '$:PathPreferencesFolder_app' if $cando.</p> <p><span class="code">oStartupTaskVarsTool/$constructTaskVars</span> <span class="moddateby">(2007-07-10 Doug K per request by Andy H)</span><br /> Changed 'Do method 'constructObjRefVar' to 'Do $cinst.$_constructObjRefVar'</p> <p><span class="code">oStartupTaskVarsTool/$initialize_local_prefs</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Call oPaths method '$:PathUserPreferencesFolder' instead of deprecated '$:PathPreferencesFolder_user' if $cando.</p> <p><span class="code">oStartupTaskVarsTool/$initialize_logn</span> <span class="moddateby">(2007-07-12 Doug K.)</span><br /> Set the 'pingdbserver' column value from to startupsettings 'pingdatabase' or 'pingdbserver' property.</p> <p><span class="code">oStartupTaskVarsTool/$initialize_logn</span> <span class="moddateby">(2007-07-19 Doug K per Andy H.)</span><br /> If a session name is provided by the startupsettings.txt file, then search the saved sessions for a matching 'sessionname'. If a matching saved session is found, then copy it to the SessionRow. Added parameter "bErrorIfNotFound=kFalse" to the 'Do method getTableOwnerLogonInfo' so that the file doesn't have to exist. The tables owner user name and password can be stored in a saved session and used from there if a tablesownerlogon.txt file does not exist.</p> <p><span class="code">oStartupTaskVarsTool/$saveTaskVarPropertiesOnSignOut</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Refresh the session before attemping to save the user preferences. The session may have been lost by the time we sign out. I often lose the database session when moving my laptop from place to place.</p> <p><span class="code">oStartupTaskVarsTool/$setTaskVarPropertiesAfterSignIn</span> <span class="moddateby">(2007-07-10 Doug K.)</span><br /> Added code to set the $:AppName in the error handler.</p> <p><span class="code">oStartupTaskVarsTool/checkandrebuildListsIfReqd</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Don't rebuild the lists if the local_prefs main lib name is empty. This means the app is being opened for the first time by a user.</p> <p><span class="code">oStartupTaskVarsTool/getTablesOwnerLogonInfo</span> <span class="moddateby">(2007-07-19 Doug K per Andy H)</span><br /> Added parameter pbErrorIfNotFound which allows the sender to specify whether or not it is an error if the tableownerlogon.txt file is found.</p> <p><span class="code">oStringTables/_loadSchemas_stb</span> <span class="moddateby">(2007-07-14 Doug K.)</span><br /> Removed the method call to _sortSchemCols. Sorting of schema columns is now done manually by the developer in the Rebuild Lists programmer window.</p> <p><span class="code">tBase/$dodeletesBatch</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Modified method to handle deleting records of tables which do not have a primary key, or have a composite primary key.</p> <p><span class="code">tBase/$dodeletesBatch</span> <span class="moddateby">(2007-07-16 Doug K.)</span><br /> Moved an 'End if' to the correct location. The $includelines and StartLine was not getting reset.</p> <p><span class="code">tBase/$doupdatesBatch</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Modified method to handle updating records of tables which do not have a primary key or a composite primary key.</p> <p><span class="code">wDBAdmin/$construct</span> <span class="moddateby">(2007-07-17 Doug K per Andy H)</span><br /> Added code to make sure the DBAdmin window defaults to the current session which the app (oLogon) is logged on to.</p> <p><span class="code">wSQLMetaDataEditorCustomInfoRow_abstract/$#About</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Added abstract custominforow meta-data superclass which other classes can be subclassed from.</p> <p><span class="code">wSQLMetaDataEditor_abstract/$_setCustomInfoRowSubWin</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Added method to set the custominforow subwindow.</p> <p><span class="code">wSQLMetaDataQueryClassEditor/$editClass</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Added call to $_setCustomWindowInforRow method to set the custominforow subwindow.</p> <p><span class="code">wSQLMetaDataQueryColsEditor/$editClass</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Added call to $_setCustomInfoRowSubWin.</p> <p><span class="code">wSQLMetaDataSchemaClassEditor/$editClass</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Added call to $_setCustomWindowInforRow method to set the custominforow subwindow.</p> <p><span class="code">wSQLMetaDataSchemaColsEditor/$editClass</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Added call to $_setCustomInfoRowSubWin.</p> <p><span class="code">wSecurity_GroupWindows/$save</span> <span class="moddateby">(2007-07-10 Doug K per Andy H.)</span><br /> Bug fix. Change 'to iWindowsList.$line' to 'to iWindowsList.$linecount'</p> <p><span class="code">wSecurity_GroupsList/addUsers</span> <span class="moddateby">(2007-07-19 Doug K per Andy H)</span><br /> Fixed stbid by removing the trailing period character. Added sSecurity_stb rows: 'ThereWereNoUsersFound', 'ThereAreNoMoreUsersToBeAdded', for the other prompts in this method.</p> <p><span class="code">wSecurity_GroupsList/removeUsers</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Added sSecurity_stb row: 'PleaseSelectAtLeastOneUser' for one untranslated prompt in this method.</p> <p><span class="code">wSecurity_UsersList/removeUserFromSelectedGroups</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Added the following rows to sSecurity_stb: PleaseSelectAtLeastOneGroup, UnableToFindTheSelectedUserInTheUsersList, for the prompts in this method.</p> <span class="code">wSessionEdit/$#About</span> <span class="moddateby">(2007-07-12 Doug K.)</span><br /> Added 'pingdbserver' checkbox field to the sessions editor. <a name="swdocs4" /> <h3>swDocs4</h3> <p><span class="code">@00 Error Handler/@31 Log Errors Destination</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Added documentation on configuring the error handler to use the database for the error log.</p> <p><span class="code">@00 Windows/@50 Default Commands</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Added documentation on default commands for evOK and evCancel events.</p> <p><span class="code">@20 Startup Settings/@30 Logon Settings</span> <span class="moddateby">(2007-07-12 Doug K per Andy H.)</span><br /> Added property 'pingdatabase' to the logon settings sample documentation.</p> <p><span class="code">@21 Sign In (Logon)/@11 Tables Owner Logon</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Updated the 'Tables Owner Logon' documentation to include the option of storing the info in a saved session.</p> <p><span class="code">@30 Folders and Files/@50 Folders Configuration</span> <span class="moddateby">(2007-07-17 Doug K.)</span><br /> Updated the folders configuration documentation.</p> <p><span class="code">@50 Meta-Data/@50 Custom Meta-Data</span> <span class="moddateby">(2007-07-12 Doug K.)</span><br /> Added documentation on adding your own custom meta-data using the custominforow.</p> <p><span class="code">oPaths/$#About</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Added a slew of platform specific private methods from the free FolderPaths library.</p> <p><span class="code">oPaths/$:ErrorText</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Added method $:ErrorText which returns the last error logged by this object.</p> <p><span class="code">oPaths/$:OmnisStartupFolderName</span> <span class="moddateby">(2007-07-17 Doug K per request by Mike Matthews.)</span><br /> Added assignable property method to allow developers to change the 'Omnis Startup' folder name to their own brand name using the startupsettings.txt file or the Startup_Task.</p> <p><span class="code">oPaths/$:OmnisStartupFolderName.$assign</span> <span class="moddateby">(2007-07-17 Doug K per request by Mike Matthews.)</span><br /> Added assignable property method to allow developers to change the 'Omnis Startup' folder name to their own brand name using the startupsettings.txt file or the Startup_Task.</p> <p><span class="code">oPaths/$:PATHPREFERENCESFOLDER_APP</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Deprecated the poorly named '$:PathPreferencesFolder_app' method.</p> <p><span class="code">oPaths/$:PATHPREFERENCESFOLDER_USER</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Deprecated the poorly named '$:PathPreferencesFolder_user' method.</p> <p><span class="code">oPaths/$:PathAppFolder</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Removed early exits.</p> <p><span class="code">oPaths/$:PathAppPreferencesFolder</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Added method '$:PathAppPreferencesFolder' which supercedes the poorly named '$:PathPreferencesFolder_app'.</p> <p><span class="code">oPaths/$:PathLogsFolder</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Changed the 'logs' folder location to be inside the '$:PathUserPreferencesFolder'.</p> <p><span class="code">oPaths/$:PathOmnisStartupFolder</span> <span class="moddateby">(2007-07-13 Doug K.)</span><br /> Added 'FolderName' variable to make it easier for developers to change 'Omnis Startup' to a different name.</p> <p><span class="code">oPaths/$:PathOmnisStartupFolder</span> <span class="moddateby">(2007-07-17 Doug K per request by Mike Matthews.)</span><br /> Use the $:OmnisStartupFolderName property method to get the 'FolderName' to make it easy for developers to change 'Omnis Startup' to a different name using the startupsettings.txt file or from the Startup_Task.</p> <p><span class="code">oPaths/$:PathTempFilesFolder</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Revised to use private methods copied from the StudioTips 'FolderPaths' library.</p> <p><span class="code">oPaths/$:PathUserDesktop</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Revised to use private methods copied from the StudioTips 'FolderPaths' library.</p> <p><span class="code">oPaths/$:PathUserDocuments</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Revised to use private methods copied from the StudioTips 'FolderPaths' library.</p> <p><span class="code">oPaths/$:PathUserHome</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Revised to use private methods copied from the StudioTips 'FolderPaths' library.</p> <p><span class="code">oPaths/$:PathUserPreferencesFolder</span> <span class="moddateby">(2007-07-04 Doug K.)</span><br /> Added method '$:PathUserPreferencesFolder' which supercedes the poorly named '$:PathPreferencesFolder_user'. The new method uses the platform dependent location for the user preferences folder, not the Omnis Studio folder. By default an /Omnis/[$ctask().$name]/ folder is created inside the platform's 'user preferences' folder. You can override this method in your main library oPaths object to use your own app name for the subfolder(s).</p> <p><span class="code">oPaths/$:PathUserPreferencesFolder</span> <span class="moddateby">(2007-07-17 Doug K per request by Mike Matthews)</span><br /> Use the $:PreferencesParentFolderName method value as the parent folder name, allowing developers to set this in the startupsettings.txt file.</p> <p><span class="code">oPaths/$:PathUserPreferencesFolder</span> <span class="moddateby">(2007-07-17 Doug K)</span><br /> Check for an $:AppName property method in the startup task. If it exists, use the return value as the name for the actual preferences folder.</p> <p><span class="code">oPaths/$:PreferencesParentFolderName</span> <span class="moddateby">(2007-07-17 Doug K per request by Mike Matthews.)</span><br /> Added assignable property method to allow developers to change the 'Omnis' preferences folder name to their own brand name using the startupsettings.txt file or the Startup_Task.</p> <p><span class="code">oPaths/$:PreferencesParentFolderName.$assign</span> <span class="moddateby">(2007-07-17 Doug K per request by Mike Matthews.)</span><br /> Added assignable property method to allow developers to change the 'Omnis' preferences folder name to their own brand name using the startupsettings.txt file or the Startup_Task.</p> <p><span class="code">oPaths/$_FINDSTRINGTABLESINFOLDER</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Deprecated the $_findStringTablesInFolder method. The *.stb files are no longer being used by StudioWorks.</p> <p><span class="code">oPaths/$_logError</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Removed opening the trace log from this method if the sender has the object set to send errors to trace log. Opening the trace log causes all subsequent lines of code to be written to the trace log.</p> <p><span class="code">oPaths/$_logError</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Added an ivar, iErrorText, which is calculated if an error occurs. The sender can get the last error using $:ErrorText.</p> <p><span class="code">oPaths/$initialize</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Removed the old backwards compatible code for 'foldersconfig' settings in the startupsettings file. Removed the ability to set the logs, preferences, or studioworks folder locations from in the startupsettings file. If you want anything other than the defaults you need to modify the methods of oPaths in your main library.</p> <span class="code">oPaths/trimPath</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Added new method which trims double quotes off file paths (from Applescript) and trims trailing path delimiters. <a name="swgui4" /> <h3>swGui4</h3> <p><span class="code">oConcretizer/_createRuntimeToolbar</span> <span class="moddateby">(2007-07-18 Doug K.)</span><br /> Close the toolbar generator when we're done creating the runtime toolbar. Was causing trouble with prompt window.</p> <p><span class="code">oConcretizer/setRuntimeFieldsAndFieldPropertiesList</span> <span class="moddateby">(2007-07-20 Doug K.)</span><br /> Added kPictureobj to the object types for text and tooltip translation.</p> <p><span class="code">oMenusList_abstract/$_addSpecialMenuLine</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Call 'addSpecialMenuObjectMethod' to add the method with placeholders for the parameters.</p> <p><span class="code">oMenusList_abstract/addSpecialMenuObjectMethod</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> New method to add the special menu object method with placeholders for the parameters.</p> <p><span class="code">oWindowsList/$addCustomWinInstIDs</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Added Errorlog window instances to the WinInstIDs for the swGui4 module. Added Errorlog to sIcon_nav for the Errorlog icon in the nav list.</p> <p><span class="code">oWindowsProperties/checkSizeAndFit_MacOS</span> <span class="moddateby">(2007-07-18 Doug K per Josh L.)</span><br /> Discovered that the applescript doesn't work on older versions of Mac OS X. Added code to check the script result and use default method if empty.</p> <p><span class="code">wBase_ToolbarTitlebar_abstract/$_constructEnabledCmndsCSV</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Revised the method to check $canEdit and remove the 'Edit' command if not permitted.</p> <p><span class="code">wBase_ToolbarTitlebar_abstract/$_constructToolbar</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Check the $:ToolbarVisible property before constructing the toolbar.</p> <p><span class="code">wBase_ToolbarTitlebar_abstract/$construct</span> <span class="moddateby">(2007-07-18 Doug K.)</span><br /> Remove early exits and return FlagOK. Method was returning kTrue even if there was an error.</p> <p><span class="code">wBase_ToolbarTitlebar_abstract/$construct</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Added call to $_constructSetDefaultCmnds to set the default commands to execute on evOK and evCancel.</p> <p><span class="code">wBase_abstract/$:DefaultCmnd_evCancel</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Added property method which returns the default command to do 'On evCancel'.</p> <p><span class="code">wBase_abstract/$:DefaultCmnd_evCancel.$assign</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Added property method to assign the default command to do 'On evCancel'.</p> <p><span class="code">wBase_abstract/$:DefaultCmnd_evOK</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Added property method which returns the default command to do 'On evOkay'.</p> <p><span class="code">wBase_abstract/$:DefaultCmnd_evOK.$assign</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Added property method to assign the default command to do 'On evOK'.</p> <p><span class="code">wBase_abstract/$_constructSetDefaultCmnds</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Added $_constructSetDefaultCmnds method to give subclass methods an opportunity to set specific commands for kBMok and/or kBMcancel.</p> <p><span class="code">wBase_abstract/$construct</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Added call to $_constructSetDefaultCmnds to set the default commands to execute on evOK and evCancel.</p> <p><span class="code">wBase_abstract/$doCmnd</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Added code to handle pCmnd = defaultcancel or defaultokay. This method calls $:DefaultCmnd_evCancel/evOK to get the default command.</p> <p><span class="code">wBase_abstract/$refresh</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Removed the prompt error handler if flag false. Not needed in this method.</p> <p><span class="code">wBase_abstract/$save</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Removed the prompt error handler if flag false. Not needed in this method.</p> <p><span class="code">wBase_abstract/$saveAndClose</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Removed early exit.</p> <p><span class="code">wContainer_Edit_ListChildren_abstract/$subwinCmnd</span> <span class="moddateby">(2007-07-19 Doug K per Andy H)</span><br /> Set the flag to true in cases where it is not an error.</p> <p><span class="code">wContainer_Edit_ListChildren_abstract/$subwinCmnd</span> <span class="moddateby">(2007-07-19 Doug K. per Andy H.)</span><br /> Added 'Default' to switch/case to trap and log errors.</p> <p><span class="code">wContainer_List_Edit_abstract/$listChildRecords</span> <span class="moddateby">(2007-07-18 Josh L.)</span><br /> Improved Error handling in method</p> <p><span class="code">wContainer_List_Edit_abstract/$subwinCmnd</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Added case for 'preparelist' to avoid error.</p> <p><span class="code">wContainer_List_Edit_abstract/$subwinCmnd</span> <span class="moddateby">(2007-07-19 Doug K per Andy H)</span><br /> Added 'Default' to Switch/Case to log error if the case is not found.</p> <p><span class="code">wContainer_List_ListChildren_abstract/$subwinCmndParent</span> <span class="moddateby">(2007-07-19 Doug K per Andy H)</span><br /> Added Default to switch/case to trap and log error. Added FlagOK to the method logic. Replaced the method code with updated code from Andy H.</p> <p><span class="code">wContainer_Tab_abstract/$setupWindow</span> <span class="moddateby">(2007-07-19 Josh L.)</span><br /> Method returns kTrue, so inherited verisons don't break</p> <p><span class="code">wContainer_abstract/$_retActiveCmndsList</span> <span class="moddateby">(2007-07-23 Doug K.)</span><br /> Make 'SaveAndClose' always active for the 'Return' key evOK to close the window.</p> <p><span class="code">wEdit_abstract/$_retActiveCmndsList</span> <span class="moddateby">(2007-07-18 Doug K.)</span><br /> Moved SaveandClose to always active so that user can hit the 'Return' key to close the edit window without using the mouse.</p> <p><span class="code">wEdit_abstract/$editRecord</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Check for primary key in order to be able to fetch the record. Log error if no primary key.</p> <p><span class="code">wEdit_abstract/$editRecord</span> <span class="moddateby">(2007-07-19 Doug K per Josh L.)</span><br /> Refactored method to solve some confusion over the current line in the list vs. multiple line list.</p> <p><span class="code">wErrorlogEdit/$#About</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Added window class wErrorlogEdit for viewing Errorlog table record details.</p> <p><span class="code">wErrorlogList/$#About</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Added window class wErrorlogList for viewing Errorlog table records.</p> <p><span class="code">wErrorlogListView/$#About</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Added container window class wErrorlogListView for viewing Errorlog table records and record details.</p> <p><span class="code">wList_abstract/$#About</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Added $findall method to wList_autoconfig so that the superclass $doCmnd can be used. Inherited the superclass $doCmnd method.</p> <p><span class="code">wList_abstract/$construct</span> <span class="moddateby">(2007-07-18 Doug K.)</span><br /> Added parameter pWinInstID for steppping through Do inherited. Removed multiple exits.</p> <p><span class="code">wList_autoconfig/$edit</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Removed prompt error handler if flag not true. Not required in this method.</p> <p><span class="code">wList_autoconfig/$export</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Removed prompt error handler if flag not true. Not required in this method.</p> <p><span class="code">wList_autoconfig/$find</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Removed prompt error handler if flag not true. Not required in this method.</p> <p><span class="code">wList_autoconfig/$findall</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Added $findall method so that it can be called directly from the superclass $doCmnd.</p> <p><span class="code">wList_autoconfig/$new</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Removed prompt error handler if flag not true. Not required in this method.</p> <p><span class="code">wList_autoconfig/$newCopy</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Removed prompt error handler if flag not true. Not required in this method.</p> <p><span class="code">wList_autoconfig/$print</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Removed prompt error handler if flag not true. Not required in this method.</p> <p><span class="code">wList_autoconfig/$view</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Removed prompt error handler if flag not true. Not required in this method.</p> <p><span class="code">wNav_Treelist/$#About</span> <span class="moddateby">(2007-07-18 Doug K.)</span><br /> Enhancements made to prevent tabbing into the navigation treelist from the list/edit subwindows. Set treelist to $enabled=kFalse. Added On evMousedown to $event treelist method to catch mouse clicks on the treelist. Removed the On evClick code from the $event method of the treelist. Even though the treelist is disabled it is still possible to tab into the treelist. (possible Omnis bug?) Added On evBefore to $event treelist method to Queue tab or shift-tab when focus comes to the treelist.</p> <p><span class="code">wNav_Treelist/$eventShow</span> <span class="moddateby">(2007-07-18 Doug K.)</span><br /> Added method which allows the main window to notify the NavList subwindow that it is about to be shown.</p> <p><span class="code">wPromptFindMultiCriteria/$#About</span> <span class="moddateby">(2007-07-11 Doug K. per Andy H.)</span><br /> Added enhancement to build a droplist for 'fetchall' tables on 'is' comparison.</p> <p><span class="code">wPromptFindMultiCriteria_subwin/$#About</span> <span class="moddateby">(2007-07-11 Doug K per Andy H.)</span><br /> Added droplist field for 'is' on 'fetchall' tables.</p> <p><span class="code">wPromptFindMultiCriteria_subwin/$construct</span> <span class="moddateby">(2007-07-11 Doug K. per Andy H.)</span><br /> Add code to define iList.</p> <p><span class="code">wPromptFindMultiCriteria_subwin/setEntryField</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Added code for setting droplist select on hasfetchall tables.</p> <p><span class="code">wPromptModelessShell/setWindowSizeAndLocation</span> <span class="moddateby">(2007-07-18 Doug K.)</span><br /> Modified method so that the prompt window will always be visible, even if the top window is off screen.</p> <p><span class="code">wPromptShell/$_setWindowSizeAndLocation</span> <span class="moddateby">(2007-07-18 Doug K.)</span><br /> Modified method so that the prompt window will always be visible, even if the top window is off screen.</p> <p><span class="code">wSearchbar/$#About</span> <span class="moddateby">(2007-07-11 Doug K per Andy H.)</span><br /> Added droplist field for 'is' selection on fetchall columns.</p> <p><span class="code">wSearchbar_abstract/$initialize</span> <span class="moddateby">(2007-07-11 Doug K per Andy H.)</span><br /> Check the columns list for hasfetchall and add if required.</p> <p><span class="code">wSearchbar_abstract/$setEntryField</span> <span class="moddateby">(2007-07-11 Doug K.)</span><br /> Add case for 'is' with 'hasfetchall' which then setup the list field rather than the entry field for entries to select.</p> <span class="code">wShell/$#About wShell</span> <span class="moddateby">(2007-07-19 Doug K.)</span><br /> Added 'On evCancel' to the $event method of the shell to trap evCancel and send a $doCmnd('defaultcancel') to the current subwindow so that Esc/Cmnd+. can have default actions. Added 'On evOK' to the $event method of the shell to trap evOK and send a $doCmnd('defaultokay') to the current subwindow so that the 'Return' key can have default actions. <a name="swrefs4" /> <h3>swRefs4</h3> <p><span class="code">oRefs/$:SessionRow</span> <span class="moddateby">(2007-07-10 Doug K.)</span><br /> Added method which returns the Refs database session row. Needed for setting the error handler object to use the same session.</p> <p><span class="code">wRefsEdit/$event_evClick</span> <span class="moddateby">(2007-07-11 Doug K per Andy H)</span><br /> Bug fix. Changed 'Do $cinst.$event_evClick' in $event method to 'Do $cfield.$event_evClick'.</p> <p><span class="code">wRefsLookupList/$buildGroupsList</span> <span class="moddateby">(2007-07-20 Doug K.)</span><br /> Added code to reselect the previous selected group.</p> <span class="code">wRefsLookupList/buildLookupsListForCurrGroup</span> <span class="moddateby">(2007-07-20 Doug K.)</span><br /> Added code to reselect the previous selected lookup record. <a name="swweb4" /> <h3>swWeb4</h3> <p><span class="code">oHTMLTools/$:DefaultSearchOperator</span> <span class="moddateby">(2007-07-16 Doug K.)</span><br /> Added $:DefaultSearchOperator method so that subclass objects can change 'begins with' to 'contains' or other.</p> <p><span class="code">oHTMLTools/$retSearchBarHTML</span> <span class="moddateby">(2007-07-16 Doug K.)</span><br /> Added call to $:DefaultSearchOperator method so that subclass objects can change 'begins with' to 'contains' or other.</p> <p><span class="code">oHTMLTools/$retSearchBarHTML</span> <span class="moddateby">(2007-07-21 Doug K.)</span><br /> Added EntryFieldType for 'date' and 'number' for date, number, and integer column types.</p> <p><span class="code">oHTMLTools/retLookupSelectListHTML</span> <span class="moddateby">(2007-07-21 Doug K.)</span><br /> Add the zero pkey record to the first line of the lookup list for web interface. Web users needs to be able to select the zero pkey record in the select lists on the web page.</p> <p><span class="code">oRemoteTaskMethods/$initializePublicSearchTaskVars</span> <span class="moddateby">(2007-07-16 Doug K.)</span><br /> Added initialize 'logn' task variable to the list of variables to be initialized.</p> <p><span class="code">oSearchPage/$retStaticSearchPage</span> <span class="moddateby">(2007-07-21 Doug K.)</span><br /> Set the ioHTMLTools ivar before calling other methods.</p> <p><span class="code">oSearchPage/retWebModuleRef</span> <span class="moddateby">(2007-07-21 Doug K.)</span><br /> Added private method to find and return a reference to the web module.</p> <p><span class="code">oSearchPage/setVar_ioHTMLTools</span> <span class="moddateby">(2007-07-21 Doug K.)</span><br /> Added private method to point ioHTMLTools to the subclass in the current web module.</p> <p><span class="code">rtDispatcher/$#About</span> <span class="moddateby">(2007-07-16 Doug K.)</span><br /> Added 'webmon' tvar.</p> <span class="code">rtPublicSearch/$#About</span> <span class="moddateby">(2007-07-16 Doug K.)</span><br /> Added 'webmon' tvar. <p class="footer">StudioWorks Documentation - Copyright 2005 Vencor Software </p></div> </body> </html>