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.

Tuesday, August 25, 2009

Small Upated Posted to Build 13C1.00

We've just posted a small update now available via Webupdater (C6) and Webupdater (C7).

FIRST...

The new Tape calculator now has a new function:

PassCalcTapeText PROCEDURE (STRING xTapeText),VIRTUAL

You can embed into this function inside your app to pick up the string that contains the current display tape value. This function is called anytime the EQUAL key on the calculator is pressed. This function works equally well with a threaded or unthreaded calculator.

SECOND...
There was a problem with the calculator maintaining focus when implemented as a Threaded calculator any time the EQUAL key was pressed. This has now been solved so that you can use the calculator entirely from the keyboard (without the mouse) and even after the EQUAL key is pressed, focus on the calculator is maintained.

THIRD...
Both Calculator templates (HandyCalcTapeEntryControl_ECF, HandyCalcEntryControl_ECF) now pass the picture that you place on the template-provided entry control to the calendar. Rather than using ROUND() internally, the HNDCALCCONTROL class now performs a FORMAT() of the calculator register data when you click the RD key.

FOURTH...
I revised the HNDDISK function called DRIVESPACE.

HNDDisk.DriveSpace PROCEDURE (STRING xRootPath, *STRING xFreeBytes, *STRING xTotalBytes)

This should now return the xTotalBytes value correctly for Terrabyte sized drives. The function was and always has worked correctly for drives smaller than one Terrabyte. The data width has now been increased from 40 bits to 64 bits so that we can pick up the size of these drives correctly. One caviat with this function. With terrabyte drives, the function will return smaller sizes if the user asking for drives sizes has been assigned a disk quota. A disk quota determines how much data any user is allowed to place on the drive, so it stands to reason that this is seen as the largest disk size available to the user, hence that is the disk size. Without a disk quota, the true size of the drive is available even with the over 1 terrabyte drives.

FIFTH...
Someone asked last week if the HNDLRNSV.APP was available for C7. It wasn't at that time but we've included it in this update.

SIXTH...
The HNDZIPNEMAIL.APP provided with with C6 and C7 is now the same as the one I posted on the SV forum this past weekend. This later version (V 7.5) allows for multiple configurations that can be recalled with the click of a button.

SEVENTH...
HNDDATES has been changed to reflect a higher Maximum Clarion date value which was introduced a couple of years back, with C6 I believe it was. The enforced Clarion Standard Date range is now January 1, 1801 through December 31, 9999.

That's all for now. You can pick up these changes any time with your WEBUPDATERs.

Cheers...
Gus Creces
The Clarion Handy Tools Page
Visit Website