|
BCTCalSmall is a control template to be dropped on a window. Notice handy Group surrounding Calendar to drag it around. Right Click on a control other than the group to delete the entire template and controls at once. Because they are controls, you can change properties and salt to taste.
The Prompts are simple and straight forward.
Date Display Format is how the selected date is displayed on top of the calendar. Defaults to Windows Long Date for Machine it is being run on. For Internationalization purposes.
Week Starts On Monday Checkbox will have the Calendar Grid Start on Monday instead of Sunday and follows the ini file set from the WeekMonCheckBox control.
This Calendar is A selector is to be used if you put in on a procedure and use it for a Calendar Lookup in combination with the BCTSelectButton Template. If you use the Calendar for a Selector, you must specify the INI name to use for passing the dates back and forth. .\BST.INI is used thru out the templates for storing format settings for the different templates and passing dates. Usually there is no need to change this setting. It is stored in the root directory of the app, allowing individual settings for users.
Appearance Button
Set your bevels here for your appearances. Check the box if want the "button look" on your calendar, and any appropriate bevel you may want as well.
Days Button
These are the Headings used for the Calendar Display, and can be changed as needed.
Months Button Deprecated with new Date Display Format above.
These are the Headings used for the Calendar Display, and can be changed as needed.
BCTCal Embeds
Setup Date embed is used to Change the default Date the calendar sets up with, which is Bs:UseDate = Today().
If it is used as a selector, it uses the date stored in the field of the calling procedure. IF(GETINI('CalReturn','CalReturn',,'.\BST.INI') <> 0) Bs:UseDate = GETINI('CalReturn','CalReturn',,'.\BST.INI') ELSE Bs:UseDate = Today() END
You can change the startup date in this embed by using Bs:UseDate = MyVariable
When Selecting New Date embed is fired whenever a new date is selected with the calendar. You can use this embed to trigger your own update events in the procedure.
Do MyRoutine ! etc, etc.
|