This application illustrates a pair of related CHT templates called EmbedCalculatorFunctions and HandyCalcEntryControl_ECF. Extension template EmbedCalculatorFunctions attaches a CHT class called HNDCalcControl to your application procedure, making its functions available to the procedure. Control template HandyCalcEntryControl_ECF drops an entry control and a button on your procedure window. These controls work in tandem. A numerical value in the entry control is passed to the calculator - accessed via the button control - and the calculator passes a calculated result back into the control. A thread option on the tempate provides for passing data back to the entry control without closing the calculator, which can be left open on top of the application window. |
PROCEDURE (1): JumpStartSplash06 (Procedure Template: Splash) |
|||||
Count | Instance | Class | Type | Methods | Header File |
(0001) | HTellMe | HNDWindow | HND | 206 | HNDWINDO.INC |
(0002) | HWin | HNDWindow | HND | 206 | HNDWINDO.INC |
(0003) | Toolbar | ToolbarClass | ABC | 6 | ABTOOLBA.INC |
(0004) | ThisWindow | WindowManager | ABC | 40 | ABWINDOW.INC |
(4) Class Instances Found In JumpStartSplash06 | |||||
PROCEDURE (2): Main (Procedure Template: Menu) |
|||||
Count | Instance | Class | Type | Methods | Header File |
(0001) | CALC | HNDCalcControl | HND | 32 | HNDCALC.INC |
(0002) | HWin | HNDWindow | HND | 206 | HNDWINDO.INC |
(0003) | Toolbar | ToolbarClass | ABC | 6 | ABTOOLBA.INC |
(0004) | ThisWindow | WindowManager | ABC | 40 | ABWINDOW.INC |
(4) Class Instances Found In Main | |||||