|
|
|
|
Generic Calendar Template 6.1 |
|
|
|
|
Introduction |
|
|
Generic Calendar
Template for Clarion 5~5.5~6.3 Legacy/ABC.
White box Procedure Template to add Calendar functionality to your
application. In a matter of seconds you can add the calendar procedure in your application and customize it visually just as normal Clarion window. Can be used as a lookup procedure or as a part of a complex window. Supports 2 major Calendar styles. Move cursor on top of the right image to see the difference. You can translate it to any European language (which can go with 256 ASCII characters :-) ). Compatible with ClarioNET (see comment below). Get Demo. No template settings - no learning |
![]() |
| You probably ask yourself now: why one more calendar if we have quite a few already? | |
| Well, this calendar is very very special. Unlike other calendars, this one can be | |
| absolutely indistinguishable from all other windows of yours. | |
| To do that you do not need to learn template language or read our boring instructions. | |
| Just generate a Calendar procedure and it is yours. Now you can open Calendar | |
| window in the window editor and you are free to do absolutely everything. | |
| Change font size to make your calendar microscopically small of barely fitting the screen. | |
| Play with different fonts, colours, images etc. | |
| Download demo program to see the Generic Calendar template in action | |
| Main advantages: | |
|
|
Installation |
|
| Run the installation wizard. It will guide you through a few simple steps. | |
| IMPORTANT: If you are using Clarion 5 or 5.5, after selecting Clarion5 or C55 directory wizard | |
| will offer you to install it into C:\Clarion5\Clarion6 or C:\C55\Clarion6 directory respectively. | |
| So do not forget to get rid of last \Clarion6. But even if you do - it is not a problem. | |
| Just uninstall template and run installation once again. | |
| To start using template you have to manually register it. | |
| If you do not know how to do that - VIEW ANIMATED HELP | |
| IMPORTANT: This help was developed with another product of ours - Online | |
| Animated Help Builder. To run it you need a JAVA enabled browser. Both MS Internet | |
| and Netscape Navigator support JAVA, but in earlier versions of IE and in the 6th version | |
| of NS you need explicitly say during installation that you need MS virtual machine or | |
| Java support respectively. If you have it installed without this support yet it | |
| does not hurt to run installation again and install those components required. | |
| This will allow you not only watch our help, but will help you to discover | |
| amazing world of Java on the Net. So all of a sudden you will be | |
| able to see millions of wonderful effects instead of ugly rectangles | |
| which you used to see instead. Try it and you will not be disappointed... | |
| Just in case you could not get your browser to be Java enabled or you just do not | |
| want to bother here is the verbal instruction: Open Clarion (no application must be open). | |
| Go to menu Setup -> Template Registry ->Register. Select four new templates | |
| abcalend.tpl, abcalsu.tpl, lgcalend.tpl, and lgcalsu.tpl and then hit Open button. | |
| First and third - Monday version and the second and fourth - Sunday one | |
Using Template |
|
| IMPORTANT | |
| Template requires Global Extension to be added to | |
| application global extensions. | |
| Move cursor on top of a Tab to open! | |
|
|
| This features were added following request of one of our Spanish customers. | |
| First it was just Spanish Calendar. But then we were completely lost. Whether | |
| we should use "Setiembre" or "Septiembre". Should we stick on Select button | |
| "Seleccionar", "Aceptar", or "Elegir" etc., etc. So finally we came to conclusion that | |
| developer should define what to use for September themselves. How to translate | |
| word "Select" into their language. So here it goes - International Calendar Template! | |
| The Generic Calendar Template is a Procedure template. | |
| So use it as any other procedure template, say, Browse one. | |
| If you do not like our default calendar stile you have got three options: | |
| First, you can generate our Calendar in your main DLL where you define all dictionary files, | |
| customize it anyway you want and then call it as external procedure in all other DLLs/EXE | |
| You can go even further and open your customized calendar window definition (property -> | |
| Window -> ... button). Copy it and paste on top of template window definition | |
| You will easily find it in either abcalend.tpl (abcalsu.tpl) or lgcalend.tpl (lgcalsu.tpl ) | |
| in the beginning of those files. In this case template will generate your window instead | |
| of ours every time you use the template | |
| To get started, just open an application and ADD CALENDAR TEMPLATE PROCEDURE | |
| We installed an example into your Clarion*/ Examples/VHCalend | |
| directory so to get some ideas how to use template you can investigate the source | |
|
Here is example how for few minutes you can
convert English Calendar into Spanish one (of course if you know that "January"
is "Enero" :-) ). If you are not happy with word "Setiembre"
you can replace it with modern "Septiembre" in a matter of seconds
and in all Calendars of the applications! This feature can be used even if
you are developing for English speakers, say, to replace calendar headers S M T W
... with Sun, Mon, Tue, Wed etc. Or do any other customization you like.
It's exactly what we've done in demo
application.
|
|
| ClarioNET | |
| To use Generic Calendar in ClarioNet you have to replace the month spin control | |
| (which doesn't work properly) with respective combo. | |
| So just open source for calendar Window, find these 2 lines: | |
|
|
| and replace them with those 2: | |
|
|
| and you will get the only Calendar working with ClarioNet: | |
![]()
|
|
|
Copyright (C) 2002 Vivid Help Systems Pty Ltd |
|