包含Daily PlanIt之后,Calendar Objx可以满足您的程序开发团队的所有需要,包括在任意应用程序上显示或者选择数据或/和时间值。现在通过Calendar Objx,您可以方便在您的程序界面上整合丰富的日程表或者时间表的特点。
Calendar Objx, now including Daily PlanIt, gives you all the components your development team needs to visually display or select date and/or time values in any application. By including a calendar control, a clock control, a poster control and a schedule control, Calendar Objx makes it easy to incorporate robust calendar or schedule features to your program's interface today.
Calendar普通特性
选择多种日历显示格式(年,月,周,日,或几天的范围)。
创建自己的自定义日历外观或从五种自动样式(传统的、现代的、活动的、流形式和平面样式)中选择一种开始,以帮助您创建常用的日历外观。
可自定义的Calendar控件,可以使用国际的或用户自定义的月,周,和日期名字。
选择显示周名字的格式(1-3个字母或全名)。
使用文本和图片自定义的所有的日历元素(天,星期,选定部分,标题等)
星期的数字在日历的左边或右边对齐。
使用可定义的speedscroll增量快速的滚动年份和月份。
使用预定义的函数计算日期(360天,调整日期,从日期中返回工作日,从日期中返回第几周等)。
您的用户可以放大和缩小日历来在不同日历格式中转换,例如,从每年的到每月的格式的放大或从每天道每周的缩小。
Calendar元素
您可以通过更改不同部分,或元素,或控件的特征自定义fpCalendar控件的外观,包括:
Calendar 功能
该日历控件包含几个内置的功能,使其按您的需要调整日期值。
CalAdjustDate
CalDateFromDateValue
CalDateValueFromDate
CalDays360
CalEnumRecurringDates
CalEnumSpecificDates
CalGetDateStatus
CalReset
CalSetDateStatus
CalWeekDayFromDate
CalWeekNumberFromDate
Clock控件
Poster 控件
Daily PlanIt 新特性
Daily PlanIt ActiveX控件支持ActiveX Data Object(OLE DB)数据绑定,以及DAO和RDO数据绑定。
一个新的事件已被添加到Daily Planit 控件: TimeIntervalChange. 当您通过设置TimeInterval 属性更改时间间隔的设置时,该事件发生。
HeaderBackColor, HeaderForeColor, TaskBackColor,的默认值以及用于选定的标题和任务的TaskForeColor属性值,现在都是使用的Wnidows系统颜色。
在Daily PlanIt控件中的数据绑定功能已被增强,以在多用户应用程序中提供更容易的实作。
TaskQuery方法和PlnTaskQuery函数已被修改,以支持查询控件可视范围以外的任务,(这就是说,在控件中被载入的任务,但不是当前能够看到的,因为它们发生在控件的开始时间之前,或在控件的结束时间之后)。
Daily PlanIt 普通特性
设定的时间间隔为一小时,30分钟,15分钟,10分钟,5分钟或30秒。
能够为任务和标题设置闹钟。当闹钟被触发,或者一个TaskAlarm事件或一个HeaderAlarm事件会发生。
气球帮助可通过TextTip属性和事件来实现。
TaskKey 属性可以被用作一个外部数据库键来访问任务的附加信息。
支持全键盘导航。
控件的方向可以被更改,以便让时间可以从左到右或从上到下运行,并且时间标题能够显示在左边,上边和右边,或底部。
通过自动的任务排列管理可得到控件的最大化的可使用区域。
Daily PlanIt Task特性
在期望的开始时间或结束时间通过点击鼠标右键,拖动鼠标到适当的伴随时间后放开,可将任务添加到控件中。同时还可以使用键盘或TaskAdd方法来添加任务。
通过使用鼠标拖动选定的任务的边框到另一个时间间隔,或通过使用键盘或TaskMove方法,更改Task开始时间和持续时间。
使用键盘或TaskDelete方法可以删除任务。
通过键盘或TaskTextChange方法添加任务文本。使用键盘通过鼠标或键盘选定任务更改任务文本,或者双击进入编辑模式,或通过输入文字自动地设置任务为编辑模式。按’Esc’键推出编辑模式。
任务的文本和图片可以旋转90,180,或270度。
图标,位图,或图元文件可以在任务中显示。
任务可以被锁定以防止编辑和在固定的任务中查看。
可对指定类型的任务设置属性。
Daily PlanIt Header特性
General Features
- The Calendar Objx ActiveX controls support ActiveX Data Objects (OLE DB) data binding, as well as DAO and RDO data binding.
- Calendar Objx ActiveX controls are apartment-threaded controls.
- Three new elements have been added to the fpCalendar control: recurring days, specific days, and header buttons.
- In the fpCalendar control, selected days do not inherit settings from the lower levels in the element hierarchy. In Calendar Objx , you can use the InheritOverride property to allow selected day elements to inherit settings from lower levels in the calendar element hierarchy.
- The fpCalendar control now provides five AutoStyles (Traditional, Modern, Active, Streamlined, and Flat) to help you create commonly used calendar looks. You can modify the AutoStyles as you please.
- The fpCalendar control has a new compact format that displays a day, month, year or a single date (day, month, year) on one line, allowing you to change the date easily using drop downs. If you display a single date, you can specify the order in which the day, month, and year appear on the line.
- The default date value for the fpCalendar control is now the current system date (as determined by the Windows Control Panel setting).
- You can now specify a mask color for element pictures in the fpCalendar control. Parts of the picture that contain pixels the same color as the mask color are transparent.
- You can now specify how and whether grid lines display. You can display only horizontal grid lines, only vertical grid lines, a full grid, or only header grid lines.
- The fpCalendar control provides two new properties that allow you to return an enumerated and string value for the element the pointer is over. For example, if the pointer is over a day in the calendar, the MouseOverValue property returns the day in the "YYYYMMDD" format and the MouseOverElement property returns a "4" indicating the pointer is over a specific day.
- You can now choose not to display buttons in the calendar month header, the year header, or both.
- The fpCalendar VBX and ActiveX controls now contain the standard Visual Basic MouseDown, MouseMove, and MouseUp events.
- The fpCalendar control provides new functions and methods to enumerate recurring and specific dates and to reset specified property settings at run time.
- The fpCalendar control now follows ISO standard 8601 for week numbering.
- Calendar Objx now uses system colors as defaults for some color property settings.
Calendar General Features
- Choose from multiple calendar display formats (year, month, week, day, or range of days).
- Create your own custom calendar appearance or begin by choosing from one of five AutoStyles (Traditional, Modern, Active, Streamlined, and Flat) to help you create commonly used calendar looks.
- Customize the Calendar control to use international or user-defined month, week, and day names.
- Choose a format for displaying the name of the week (1-3 letters or the full name).
- Customize all calendar elements (days, weeks, selections, headers, etc.) with text and pictures.
- Align week numbers on the right or left side of the calendar.
- Rapidly scroll through years and months using definable speedscroll increments.
- Calculate the date using predefined functions (days 360, adjust date, return weekday from date, return week number from date, and more).
- Your user can zoom in and out in the calendar to change between calendar formats, for example, to zoom in from yearly to monthly format or to zoom out from daily to weekly format.
Calendar Elements
You can customize the appearance of the fpCalendar control by changing characteristics of different parts, or elements, of the control including:
- the year header
- the month header
- the entire weekday header
- an individual weekday name in the weekday header
- all days
- an individual day
- the drop-down year or month list
- the currently selected day or days and the currently selected year or month in the drop-down year or month list
- the entire week number column
- a specified portion of the week number column
- all unavailable days
- all recurring days
- all specific days
- month header or year header buttons
Calendar Functions
The calendar control includes several built-in functions, making it easy to adjust date values as needed.
- CalAdjustDate
- Calculates a new date value based on a specified date value and year, month, and day offset values.
- CalDateFromDateValue
- Converts a date serial value to a date string in "YYYYMMDD" format.
- CalDateValueFromDate
- Converts a date string in "YYYYMMDD" format to a date serial value.
- CalDays360
- Calculates the number of days between two specified dates based on a 360-day calendar year.
- CalEnumRecurringDates
- Returns the next recurring date.
- CalEnumSpecificDates
- Returns the next specific date.
- CalGetDateStatus
- Returns the status of the specified date in an fpCalendar control.
- CalReset
- Resets specified element settings at run time.
- CalSetDateStatus
- Sets the status of the specified date or dates in an fpCalendar control.
- CalWeekDayFromDate
- Calculates the day of the week on which the specified date falls.
- CalWeekNumberFromDate
- Calculates the week number in which the specified date falls.
Clock Control
- Choose the clock face format (digital, analog, 4 or 12 Roman or Arabic numerals).
- Add pictures to the background and/or foreground of the clock.
- Customize the hour, minute, and second hands, as well as the display.
- Move the clock face position to create a custom appearance.
- Use the right or left mouse button to move the hands of the clock.
- Respond to an alarm event when a specified time is reached.
Poster Control
- Use the OverlayPicture and Picture properties to layer multiple images in one control, creating a number of special effects.
- Customize the Poster and Clock controls by choosing a color to be transparent or by allowing color tints to wash through the picture.
Daily PlanIt New Features
- The Daily PlanIt ActiveX control supports ActiveX Data Objects (OLE DB) data binding, as well as DAO and RDO data binding.
- A new event has been added to the Daily Planit control: TimeIntervalChange. This event occurs when you change the setting of the time intervals by setting the TimeInterval property.
- The default values for HeaderBackColor, HeaderForeColor, TaskBackColor and TaskForeColor properties for the selected header and task now use Windows system colors.
- The data binding functionality in the Daily PlanIt control has been enhanced to provide easier implementation in multi-user applications.
- The TaskQuery method and the PlnTaskQuery function have been modified to query tasks outside of the control's viewable scope (that is, tasks that are loaded in the control, but not currently viewable because they occur prior to the control's begin time or after the control's end time).
Daily PlanIt General Features
- Set the time interval to one hour, 30 minutes, 15 minutes, 10 minutes, 5 minutes, or 30 seconds.
- Alarms can be set for tasks or headers. When the alarm is hit, either a TaskAlarm event or a HeaderAlarm event occurs.
- Balloon help can be provided through the TextTip properties and events.
- The TaskKey property can be used as a foreign database key to access additional information for a task.
- Full keyboard navigation is supported.
- The control orientation can be changed so that time runs from left-to-right or from top-to-bottom, and the time headers can be displayed on the left, top, right, or bottom.
- Maximize the usable area of the control with automatic task arrangement.
Daily PlanIt Task Features
- Tasks can be added to the control by pressing the right mouse button over the desired begin time or end time, dragging the mouse to the appropriate accompanying time, and releasing. Tasks can also be added using the keyboard or the TaskAdd method.
- Task begin time and duration can be changed by using the mouse to drag the selected task's border to another time interval, or by using the keyboard or the TaskMove method.
- Tasks can be deleted by using the keyboard or the TaskDelete method.
- Task text can be added via the keyboard or the TaskTextChange method. Modify the task text with the keyboard by selecting the task with the mouse or keyboard, and either double-click to enter edit mode, or automatically set the task in edit mode by typing the text. Press the 'Esc' key to exit edit mode.
- Task text and pictures can be rotated 90, 180, or 270 degrees.
- Icons, bitmaps, or metafiles can be displayed within tasks.
- Tasks can be locked to prevent editing and viewing of certain tasks.
- Properties can be set for specific types of tasks. Daily PlanIt includes eight defined task types:
- All Tasks - Task properties will apply to all displayed tasks.
- Individual Task - This task type is used in conjunction with the Task property to apply task property settings to individual tasks.
- Past Due Tasks - Task properties will apply to all tasks where the end time is prior to the current time interval.
- Current Tasks - Task properties will apply to all tasks that span the current time interval.
- Future Tasks - Task properties will apply to all tasks where the begin time is later than the current time interval.
- Completed Tasks - Task properties will apply to all tasks where the TaskStatus property is set to "Completed."
- Locked Tasks - Task properties will apply to all tasks where the TaskLocked property is set to "Locked."
- Selected Task - Task properties will apply to the currently selected task.
Daily PlanIt Header Features
- The header text can be customized. For example: The 12:00 PM header can be customized to display "Noon", or only the hour headers will display the hour and the rest of the headers display minutes.
- Icons, bitmaps, or metafiles can be displayed in headers.
- Header text and pictures can be rotated 90, 180, or 270 degrees.
- Properties can be set for specific types of headers. Daily PlanIt includes fifteen defined header types:
- All Headers - Header properties will apply to all headers.
- Every Other Header (Start First) - Header properties will apply to every other header starting with the first header.
- Every Other Header (Start Second) - Header properties will apply to every other header starting with the second header.
- 5-Minute Headers - Header properties will apply to every header where the minute portion of the time is evenly divisible by 5.
- 10 Minute Headers - Header properties will apply to every header where the minute portion of the time is evenly divisible by ten.
- 15 Minute Headers- Header properties will apply to every header where the minute portion of the time is evenly divisible by fifteen.
- 30 Minute Headers - Header properties will apply to every header where the minute portion of the time is evenly divisible by thirty.
- Hour Headers - Header properties will apply to every header that represents an hour.
- AM Headers - Header properties will apply to headers between 12:00:00 AM and 11:59:30 AM.
- PM Headers - Header properties will apply to headers between 12:00:00 PM and 11:59:30 AM.
- Noon Header - Header properties will apply to the header for 12:00:00 PM.
- Midnight Header- Header properties will apply to the header for 12:00:00 AM.
- Individual Header- This header type is used in conjunction with the Header property to apply header property settings to individual headers.
- Current Time Header - Header properties will apply to the header that represents the current time.
- Selected Header - Header properties will apply to the currently selected header.