GENERATED: MAY 4,2023 - 8:36AM
HNDDates Class Demo [V10.23.04. 27.00]

Previous Page

This application demonstrates the use of a Clarion Handy Tools extension template called "EmbedDateFunctions". This template attaches a CHT OOP class to your procedure called "HNDDates" which is stored in HNDDATES.INC (header module) and HNDDATES.CLW (code module).

As usual, subscribers with a SOURCE code subscription receive the code module as well as the header. DLL version subscribers receive only the header module and the class code is in one of the CHT DLLs.

The application illustrates the syntax used to call many of the functions available in the HNDDates class. There are also two separate implementations of the calendar showing how you can modify the look of the CHT calendar by calling methods like OBJ.SetCalendarIcon() and embedding new calendar image properties in that method.

Count Global Template Name Qty Global Template Description
(0001) AACHTControlPanel(HNDTools) 1 © CHT AACHTControlPanel • (TIER-1) •
(0002) ApplicationImagesEx(HNDTools) 1 © CHT ApplicationImagesEx • (TIER-1) •
(0003) HNDCMPControlPanel(HNDTools) 1 © CHT HNDCMPControlPanel • (TIER-2) •
(0004) HandyVersionResource(HNDTools) 1 © CHT HandyVersionResource • (TIER-1) •
(0005) INIFile(HNDTools) 1 © CHT INIFile • (TIER-1) •
(5) Global Templates • (TIER-2)

 1 – Template Type: Splash
  – – Procedure Name: JumpStartSplash07()
Count Local Template Name Qty Local Template Description
(0006) AppBuildDateTimeStamp(HNDTools) 1 © CHT AppBuildDateTimeStamp • (TIER-2) •
(0007) AppBuildNumberStamp(HNDTools) 1 © CHT AppBuildNumberStamp • (TIER-2) •
(0008) AppCopyRightStamp(HNDTools) 1 © CHT AppCopyRightStamp • (TIER-2) •
(0009) EmbedWindowFunctions(HNDTools) 1 © CHT EmbedWindowFunctions • (TIER-2) • (CODE-TABS) •
(0010) HandyTellMeControl(HNDTools) 1 © CHT HandyTellMeControl • (TIER-2) • (2)
(0011) ProcedureImagesEx(HNDTools) 1 © CHT ProcedureImagesEx • (TIER-1) • (CODE-TABS) •
(6) Local Templates • (TIER-2)

 2 – Template Type: Frame
  – – Procedure Name: Main()
Count Local Template Name Qty Local Template Description
(0012) DateTimeDisplay(ABC) 1 Display the date and/or time in the current window
(0013) EmbedWindowFunctions(HNDTools) 1 © CHT EmbedWindowFunctions • (TIER-2) • (CODE-TABS) •
(0014) HandyPopupCalendar(HNDTools) 3 © CHT HandyPopupCalendar • (TIER-1) • (7)
(0015) ProcedureImagesEx(HNDTools) 1 © CHT ProcedureImagesEx • (TIER-1) • (CODE-TABS) •
(4) Local Templates • (TIER-2)

 3 – Template Type: Window
  – – Procedure Name: CalButtonWindow()
Count Local Template Name Qty Local Template Description
(0016) EmbedInformation(HNDTools) 1 © CHT EmbedInformation • (TIER-4) • (2)
(0017) EmbedWindowFunctions(HNDTools) 1 © CHT EmbedWindowFunctions • (TIER-2) • (CODE-TABS) •
(0018) HandyPopupCalendarButton(HNDTools) 1 © CHT HandyPopupCalendarButton • (TIER-2) • (3)
(0019) ProcedureImagesEx(HNDTools) 1 © CHT ProcedureImagesEx • (TIER-1) • (CODE-TABS) •
(4) Local Templates • (TIER-4)

Copyright © 1996-2023 - CHT Version: [27B.00.00]
Gus M. Creces, CLARION HANDY TOOLS
All Rights Reserved Worldwide

chtlogo001.gif
Application Templates