New Templates In Build 13B1.00
More Support For ABC Source Code Procedure Template
We've made it easier to add some of CHT's low-level classes to your procedures built with the ABC source procedure template. In this build, we've added the following templates: Source_EmbedDateFunctions,Source_EmbedDiskFunctions, Source_EmbedUtilityFunctions, Source_EmbedEncryptionFunctions.
ABC source procedures don't have the normal range of embed points provided in ABC window-based procedures, so in order to attach classes in which derivation is automated the way it is in all other ABC procedures, a special template
is required. These four templates provide that special design. You're able to see the class functions inside the procedure and you are able to embed code inside these methods the same way you can in a Window, Browse, Report and Process template. All four are extension templates so they're added to your source procedure via the IDE extensions interface.

Soon we'll give you at least one example application using these templates to illustrate what you can do with them.
This build, we've given you a Pop-Up menu template called HandyPopUpMenuButton. With this template you're able to easily build pop up menus which include images. The template provides a button control which is used to trigger the pop up menu. Clever developers know that they really don't need to display this button to make it work for them. By simply hiding the button, and posting EVENT:Accepted to it from any other control or from an embed in your procedure, the pop up menu can be made to do what you've set it up to do.


For an example application illustrating HandyPopUpMenuButton look at HandyPopUpMenuDemo.
We've revised the HandyNTServiceFunctions template with a switch which when checked, makes the window service "silent" whenever it is installed or removed. In the previous version of this template, the service displayed messages when it was first installed and when it was removed. While displaying messages is still the default mode of operation, now you can suppress the messages if you choose to (see image).

Look at application HndWindowsServiceDemo.APP for an example illustrating use of this template. While we were at it we also fleshed out this functionality in-code by adding two commands /ISQ (install service quietly) and /RSQ (remove service quietly). The image that follows is from the service application's interface. We use this application set for 3:30 AM daily, to back up our tool kit source code by having it start HNDFSYNC.APP, passing it a sync control file called hndfsync_driveo.tps.

For a full review of new and revised templates so far in 2009, follow this link: New/Revised Templates YTD 2009.
Cheers...
Gus Creces
The Clarion Handy Tools Page
www.cwhandy.com
support@cwhandy.com
April 1, 2009
No comments:
Post a Comment