包含Daily PlanIt之后,Calendar Objx可以滿足您的程序開發(fā)團(tuán)隊(duì)的所有需要,包括在任意應(yīng)用程序上顯示或者選擇數(shù)據(jù)或/和時(shí)間值?,F(xiàn)在通過Calendar Objx,您可以方便在您的程序界面上整合豐富的日程表或者時(shí)間表的特點(diǎn)。
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普通特性
選擇多種日歷顯示格式(年,月,周,日,或幾天的范圍)。
創(chuàng)建自己的自定義日歷外觀或從五種自動(dòng)樣式(傳統(tǒng)的、現(xiàn)代的、活動(dòng)的、流形式和平面樣式)中選擇一種開始,以幫助您創(chuàng)建常用的日歷外觀。
可自定義的Calendar控件,可以使用國(guó)際的或用戶自定義的月,周,和日期名字。
選擇顯示周名字的格式(1-3個(gè)字母或全名)。
使用文本和圖片自定義的所有的日歷元素(天,星期,選定部分,標(biāo)題等)
星期的數(shù)字在日歷的左邊或右邊對(duì)齊。
使用可定義的speedscroll增量快速的滾動(dòng)年份和月份。
使用預(yù)定義的函數(shù)計(jì)算日期(360天,調(diào)整日期,從日期中返回工作日,從日期中返回第幾周等)。
您的用戶可以放大和縮小日歷來在不同日歷格式中轉(zhuǎn)換,例如,從每年的到每月的格式的放大或從每天道每周的縮小。
Calendar元素
您可以通過更改不同部分,或元素,或控件的特征自定義fpCalendar控件的外觀,包括:
Calendar 功能
該日歷控件包含幾個(gè)內(nèi)置的功能,使其按您的需要調(diào)整日期值。
CalAdjustDate
CalDateFromDateValue
CalDateValueFromDate
CalDays360
CalEnumRecurringDates
CalEnumSpecificDates
CalGetDateStatus
CalReset
CalSetDateStatus
CalWeekDayFromDate
CalWeekNumberFromDate
Clock控件
選擇Clock的外表格式(數(shù)字,模擬,4或12羅馬或阿拉伯?dāng)?shù)字)。
添加圖片到時(shí)鐘的背景和/或前景。
自定義時(shí),分,秒針,以及它們的顯示。
移動(dòng)鐘面的位置來創(chuàng)建自定義的外觀。
使用鼠標(biāo)按鈕的左右鍵來移動(dòng)時(shí)鐘的指針。
當(dāng)一個(gè)指定的時(shí)間到達(dá)時(shí)響應(yīng)警報(bào)事件。
Poster 控件
Daily PlanIt 新特性
Daily PlanIt ActiveX控件支持ActiveX Data Object(OLE DB)數(shù)據(jù)綁定,以及DAO和RDO數(shù)據(jù)綁定。
一個(gè)新的事件已被添加到Daily Planit 控件: TimeIntervalChange. 當(dāng)您通過設(shè)置TimeInterval 屬性更改時(shí)間間隔的設(shè)置時(shí),該事件發(fā)生。
HeaderBackColor, HeaderForeColor, TaskBackColor,的默認(rèn)值以及用于選定的標(biāo)題和任務(wù)的TaskForeColor屬性值,現(xiàn)在都是使用的Wnidows系統(tǒng)顏色。
在Daily PlanIt控件中的數(shù)據(jù)綁定功能已被增強(qiáng),以在多用戶應(yīng)用程序中提供更容易的實(shí)作。
TaskQuery方法和PlnTaskQuery函數(shù)已被修改,以支持查詢控件可視范圍以外的任務(wù),(這就是說,在控件中被載入的任務(wù),但不是當(dāng)前能夠看到的,因?yàn)樗鼈儼l(fā)生在控件的開始時(shí)間之前,或在控件的結(jié)束時(shí)間之后)。
Daily PlanIt 普通特性
設(shè)定的時(shí)間間隔為一小時(shí),30分鐘,15分鐘,10分鐘,5分鐘或30秒。
能夠?yàn)槿蝿?wù)和標(biāo)題設(shè)置鬧鐘。當(dāng)鬧鐘被觸發(fā),或者一個(gè)TaskAlarm事件或一個(gè)HeaderAlarm事件會(huì)發(fā)生。
氣球幫助可通過TextTip屬性和事件來實(shí)現(xiàn)。
TaskKey 屬性可以被用作一個(gè)外部數(shù)據(jù)庫鍵來訪問任務(wù)的附加信息。
支持全鍵盤導(dǎo)航。
控件的方向可以被更改,以便讓時(shí)間可以從左到右或從上到下運(yùn)行,并且時(shí)間標(biāo)題能夠顯示在左邊,上邊和右邊,或底部。
通過自動(dòng)的任務(wù)排列管理可得到控件的最大化的可使用區(qū)域。
Daily PlanIt Task特性
在期望的開始時(shí)間或結(jié)束時(shí)間通過點(diǎn)擊鼠標(biāo)右鍵,拖動(dòng)鼠標(biāo)到適當(dāng)?shù)陌殡S時(shí)間后放開,可將任務(wù)添加到控件中。同時(shí)還可以使用鍵盤或TaskAdd方法來添加任務(wù)。
通過使用鼠標(biāo)拖動(dòng)選定的任務(wù)的邊框到另一個(gè)時(shí)間間隔,或通過使用鍵盤或TaskMove方法,更改Task開始時(shí)間和持續(xù)時(shí)間。
使用鍵盤或TaskDelete方法可以刪除任務(wù)。
通過鍵盤或TaskTextChange方法添加任務(wù)文本。使用鍵盤通過鼠標(biāo)或鍵盤選定任務(wù)更改任務(wù)文本,或者雙擊進(jìn)入編輯模式,或通過輸入文字自動(dòng)地設(shè)置任務(wù)為編輯模式。按’Esc’鍵推出編輯模式。
任務(wù)的文本和圖片可以旋轉(zhuǎn)90,180,或270度。
圖標(biāo),位圖,或圖元文件可以在任務(wù)中顯示。
任務(wù)可以被鎖定以防止編輯和在固定的任務(wù)中查看。
可對(duì)指定類型的任務(wù)設(shè)置屬性。
Daily PlanIt Header特性
標(biāo)題文字能夠被自定義。例如:12:00 PM標(biāo)題能夠被自定義為顯示“中午”,或僅小時(shí)標(biāo)題顯示小時(shí)而其余的標(biāo)題顯示分鐘。
圖標(biāo),位圖,或圖元文件可以顯示在標(biāo)題中。
標(biāo)題文本和圖片可以旋轉(zhuǎn)90,180,或270度。
可對(duì)指定類型的標(biāo)題設(shè)置屬性。
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.