The CHT Blogger

Thanks for your interest in The Clarion Handy Tools, an awesome collection of productivity enhancements for Clarion developers. These tools consist of an ever-expanding set of Clarion Templates and OOP Classes that extend or complement the normal functionality of the Clarion Application Development System from SoftVelocity.

Thursday, May 1, 2008

Build 12B1.00 - Released Today

Build 12B1.00 was released to CHT subscribers at 4:20 pm (Easter Daylight Time) May 1, 2008. A summary of changes and additions follows:

These are in no particular order of importance, they're more or less direct extracts from my programmer's notebook pages, scratched out since March 15, 2008 when the last update was posted.

• A font change in HNDFSYNC.APP improves record editing in edit-in-place mode. The earlier font made edit fields difficult to read.

• There's a new server example called HNDCLIENTSV.APP. This is intended to act as a starting point for all CHT Client Server applications. It will start for the first time, in the clarion6\hndapps\hndclientsv\ directory with empty client files and some configuration information as a type 3 server. This application is the basis for our upcoming CHT Client Server video. (See video schedule).

• I fixed a problem with JumpStartGetServerVariablesByLocation(). This was not always returning the default parameter when the entity being fetched was missing from the config file. If you have a server that incorporates this function, you should delete the existing function and re-import this Jumpstart.

• I fixed CHT Scripter's "Local Server" function when the server type was set to "Type 3". This was shortening the window too much.

• CHT Scripter now hides some of the toolbar buttons as well as most of the script editing features, when the server is a "Type 3"(non-HTML) server such as HNDCLIENTSV.APP. This allows you to still interact with a client-style server to create email scripts.

• There's a new Jumpstart for Client Server app configuration. See the example in HNDCLIENTSV.APP. More will be said about this in the upcoming video VTK for Client Server applications.

• There have been some low-level changes in how CHT servers store their configuration information in the registry. All entries that were once "FILE" have been changed to "CONFIG". If you have existing servers, I suggest not re-compiling them with this build until you've had a chance to examine the current registry configuration setups for the demo servers. If you do want to recompile and reconfigure an existing server before the video documenting this change has been released, the easiest way to do this is to go into the registry and rename that server's existing configuration. Next, run the server and complete the
configuration again from that server's configuration dialog. You can always go back into the prior, renamed configuration, to cross check what has changed. I suggest doing this also with any CHT demo server that you may have run in the past, since they will already have configurations in your registry that need to be changed.

• There's a new template called EmbedAppHookFunctions which is illustrated in HNDSETUP.APP.

• There are several new record tagging templates: ExplorerBrowseRecordTaggerEx, LocatorOverRideRecordTaggerEx and HandyMarkerBrowseRecordTaggerEx. These are EXTENSION template versions of the templates of the same name - without the Ex - that you had earlier (and still have). Extensions are just easier to use than CODE templates since you don't have to know on which embed point to drop them. There's also a new one for pure ABC browses called ABCBrowseRecordTaggerEx. This last one will work on any ABC Browse without CHT Extensions.

• HNDLRNSV.APP has had a server user dialog added which allows you to browse and edit the user file right from the server. All starting-point servers of this type now provide you with a user browse and edit form to make early testing easier. Again, more will be said about this in a series of Server VTK videos upcoming this spring and summer.

• The HNDWINDOW class tray icon was not always disappearing when an app was closed, until you passed the mouse over the icon. This is actually the result of a bug in Windows not passing on an event in a timely manner. I found a workaround for this on the Microsoft website that solves the problem.

• There was a problem with the function GetUniqueMachineName() causing a GPF if the function was called on a machine without a "C:\" drive. This does performs a more intelligent drive analysis before deciding on which drive serial number to use.

• I've changed the default file size allowed to be uploaded to a CHT file server. If the file server is a "Secure" server where the user must login in and identify himself or herself, there is no theoretical file size limit, only a practical one. If the file server is not a "Secure" server the upload limit is still 5MB unless you change the equate in HNDEQU.CLW called HPROP:MaxUploadNoSessionCheck.

• There are a couple of new templates called EmbedCalculatorFunctions and HandyCalcEntryControl_ECF which help you to use our revised HNDCalcControl class calculator, HandyCalc() in your procedures. There's a video available in your CHT Flash Help Player (.SWF) or the CHT Video Education Player (.WMV) that explains this in considerable detail. See also demo app HNDCALCULATOR.APP.

• There is a new template for HandyMarkerBrowse that allows you to move records up and down in the sort order or to the top and bottom of the sort order using buttons and/or drag and drop. The template is installed, by way of providing an example, in HNDCMP.APP, the CHT Compile Manager. The main thing required to make this work is a keyed column in your browse that contains sequential numbers. The template is called HandyMarkerBrowseRowMoveButtons. We'll get you a video detailing how this works as soon as possible. We're also planning to provide a similar template for ExplorerBrowse and LocatorOverRideControl, as early as build 12C1.00 in the next quarter.

Build 12B1.00 - Important Links


Summary Descriptions With Index- CHT Templates
Summary Descriptions With Index - CHT Demo Applications
Summary Descriptions With Index - CHT Templates New In 2008
About The Clarion Handy Tools
CHT Class Libraries With Links To Headers
CHT Video Education Page



Cheers...
Gus M. Creces
The Clarion Handy Tools Page

No comments: