Class: cSigCJCalendarControl

Module location: cSigCJCalendarControl.pkg line 538 (view source)

============================================================================= Calendar - class definition =============================================================================

Class Hierarchy:

DFCOMACTIVEXCONTROLcComActiveXControlcSigCjComCalendarControlcSigCJCalendarControl

Mixins:

cSigCJMethods_Mixin,

Class Definition

Properties

BooleanpbShadeLunchTime
BooleanpbShorterLastDay
BooleanpbUseCustomIcons
BooleanpbUseCustomProperties
BooleanpbUseIcons
---------------------------------------------------------------------
BooleanpbUseScaleTimes
BooleanpbUseStdDates
BooleanpbUseStdFiles
DateTimepdtHitDateTime
IntegerpeDataType
IntegerpeUseResources
HandlephoDayView
HandlephoOptions
---------------------------------------------------------------------
HandlephoOptions
--------------------------------------------------------------------- Commonly used objects or objects many levels down (so once found we save them here for speed).
HandlephoPrintOptions
HandlephoPrintOptions
HandlephoPrintPreviewOptions
HandlephoPrintPreviewOptions
IntegerpiNonWorkingCellBackColor
IntegerpiWorkingCellBackColor
---------------------------------------------------------------------
BooleanPrivate_pbClickToAdd
BooleanPrivate_pbCompressWeekendDays
BooleanPrivate_pbDayViewShowMinutes
BooleanPrivate_pbEnableReminders
BooleanPrivate_pbEnableStdToolTips
BooleanPrivate_pbInPlaceCreateEvent
BooleanPrivate_pbInPlaceEdit_AfterEventResize
BooleanPrivate_pbInPlaceEdit_ByF2
BooleanPrivate_pbInPlaceEdit_ByMouseClick
BooleanPrivate_pbInPlaceEdit_ByTab
BooleanPrivate_pbMultiColumnWeekMode
BooleanPrivate_pbPrnFromToExactly
BooleanPrivate_pbPrnGreyScale
BooleanPrivate_pbPrnLandscape
BooleanPrivate_pbPrnPrintDateHeader
BooleanPrivate_pbUseCustomCategories
BooleanPrivate_pbUseCustomDialogs
BooleanPrivate_pbUseOutlookGlyphs
DateTimePrivate_pdtPrnPrintFrom
DateTimePrivate_pdtPrnPrintTo
IntegerPrivate_peCaptionBar
IntegerPrivate_peDayViewCurrentTimeMarkVisible
IntegerPrivate_peFirstDayOfTheWeek
IntegerPrivate_peShowEndDate
IntegerPrivate_peShowTimeAsClocks
IntegerPrivate_peTimeScale
IntegerPrivate_peViewType
IntegerPrivate_peWorkWeekMask
HandlePrivate_phoCalResources
HandlePrivate_phoCalSchedules
HandlePrivate_phoCategories
HandlePrivate_phoCategoriesIDs
HandlePrivate_phoCustomIcons
HandlePrivate_phoCustomProps
HandlePrivate_phoDataProvider
HandlePrivate_phoDataProvider_RS
HandlePrivate_phoEvent
HandlePrivate_phoEvents
HandlePrivate_phoNonWorkingCellColors
HandlePrivate_phoR_Pat
HandlePrivate_phoR_Pat_Options
HandlePrivate_phoResource
HandlePrivate_phoSchedule
HandlePrivate_phoScheduleIDs
HandlePrivate_phoThemeDayViewCellParams
HandlePrivate_phoWorkingCellColors
NumberPrivate_pnPrnMarginBottom
NumberPrivate_pnPrnMarginLeft
NumberPrivate_pnPrnMarginRight
NumberPrivate_pnPrnMarginTop
StringPrivate_psClickToAddText
StringPrivate_psPrintPreviewTitle
StringPrivate_psPrnFooterCenter
StringPrivate_psPrnFooterLeft
StringPrivate_psPrnFooterRight
StringPrivate_psPrnHeaderCenter
StringPrivate_psPrnHeaderLeft
StringPrivate_psPrnHeaderRight
StringPrivate_ptmTimeScaleMaxTime
StringPrivate_ptmTimeScaleMinTime
StringPrivate_ptmWorkDayEndTime
StringPrivate_ptmWorkDayStartTime
StringpsAllowEventText
StringpsAllowEventTitle
StringpsDataSource
---------------------------------------------------------------------
StringpsResourceLayout
tdCal_Dates[]ptCal_Dates
tdEventptEvent_Buffer
StringptmLastWorkDayEndTime
---------------------------------------------------------------------
StringptmLunchEndTime
StringptmLunchStartTime
tdR_PatptR_Pat_Buffer

Functions and Procedures

Add_Category(tdCal_Category tCat)
Add_Event_For_Day(tdEvent tEvent)
Add_Link_Icon(Variant llpEvent)
-------------------------------------------------------------------------
Add_R_Pat_Exception_Event(tdEvent tEvent)
-------------------------------------------------------------------------
Add_Resource_And_Schedule(String sResourceName Integer iScheduleID String sScheduleName Integer iDataType String sDataSource)
Add Resource / schedule
Add_Special_Date(tdCal_Dates tCal_Date)
Add_Upcoming_Event(tdEvent tEvent)
BooleanCal_AllDay(Integer iDate)
IntegerCal_AllowEvents(Integer iDate)
IntegerCal_BackColor(Integer iDate)
IntegerCal_Find_Date(tdCal_Dates tCal_Dates tdCal_Dates tDate)
IntegerCal_Special_Date(Date dDate)
Construct_Object()
Inherited from cSigCjComCalendarControl
=========================================================================
VariantCreate_Event_Object_From_tdEvent(tdEvent tEvent Boolean bRException)
========================================================================= Buffer --> Object methods =========================================================================
VariantCreate_R_Pat_Object_From_tdR_Pat(tdR_Pat tR_Pat)
-------------------------------------------------------------------------
Custom_Icon(Variant llpEvent Integer iIcon Boolean bShow)
-------------------------------------------------------------------------
DateTimeDate_and_Time_to_DateTime(Date dDate String sTime)
------------------------------------------------------------------------- Property Boolean Private_pbPrnLandscape False Property Boolean Private_pbPrnGreyScale False Property Boolean Private_pbPrnPrintDateHeader False Property DateTime Private_pdtPrnPrintFrom // Property DateTime Private_pdtPrnPrintTo // Property Boolean Private_pbPrnFromToExactly False Property String Private_psPrnFooterLeft "" Property String Private_psPrnFooterCenter "" Property String Private_psPrnFooterRight "" Property String Private_psPrnHeaderLeft "" Property String Private_psPrnHeaderCenter "" Property String Private_psPrnHeaderRight "" Property Number Private_pnPrnMarginBottom 1.0 Property Number Private_pnPrnMarginTop 1.0 Property Number Private_pnPrnMarginLeft 1.0 Property Number Private_pnPrnMarginRight 1.0 =========================================================================
StringDate_Range_String(Handle hoActiveView)
-------------------------------------------------------------------------
StringDateTime_to_Time(DateTime dtTime)
-------------------------------------------------------------------------
Enable_Icons()
-------------------------------------------------------------------------
End_Construct_Object()
Force_Data_Refresh()
-------------------------------------------------------------------------
GetHitCode(Variant ByRef vViewEvent Integer ByRef iHitCode)
-------------------------------------------------------------------------
GotoCRM(Variant vEvent)
-------------------------------------------------------------------------
BooleanIsLastWeekDay(Date dDate)
BooleanIsTimeBetween(DateTime dtTime String sStartTime String sEndTime)
=========================================================================
Load_Resources()
Load_Special_Date(Date dThisDate)
tdEventMove_Event_Object_Data_To_tdEvent(Variant vEvent)
========================================================================= Object --> Buffer methods =========================================================================
tdR_PatMove_R_Pat_Object_Data_To_tdR_Pat(Variant vR_Pat)
-------------------------------------------------------------------------
tdCal_CategoryMove_StdFile_Cats_To_tdCats()
tdEventMove_StdFile_Event_To_tdEvent()
tdR_PatMove_StdFile_R_Pat_To_tdR_Pat()
-------------------------------------------------------------------------
Move_tdEvent_To_StdFile_Event(tdEvent tEvent)
Move_tdR_Pat_To_StdFile_R_Pat(tdR_Pat tR_Pat)
-------------------------------------------------------------------------
OnCategory_Load()
-------------------------------------------------------------------------
OnComBeforeDrawThemeObject(OLECalendarBeforeDrawThemeObject lleObjType Variant llDrawParams)
Inherited from cSigCjCom_DCalendarControlEvents
OnComBeforeEditOperation(Variant llOpParams Boolean ByRef llbCancelOperation)
Inherited from cSigCjCom_DCalendarControlEvents
========================================================================= Other Events =========================================================================
OnComDblClick()
Inherited from cSigCjCom_DCalendarControlEvents
-------------------------------------------------------------------------
OnComDoCreateEvent(Variant llpEvent Integer ByRef llNewEventID Boolean ByRef llbResult)
Inherited from cSigCjCom_DCalendarControlEvents
------------------------------------------------------------------------- ========================================================================= Control Data Events =========================================================================
OnComDoCreateRPattern(Variant llpPattern Integer ByRef llNewPatternID Boolean ByRef llbResult)
Inherited from cSigCjCom_DCalendarControlEvents
-------------------------------------------------------------------------
OnComDoDeleteEvent(Variant llpEvent Boolean ByRef llbResult)
Inherited from cSigCjCom_DCalendarControlEvents
-------------------------------------------------------------------------
OnComDoDeleteRPattern(Variant llpPattern Boolean ByRef llbResult)
Inherited from cSigCjCom_DCalendarControlEvents
-------------------------------------------------------------------------
OnComDoGetUpcomingEvents(DateTime lldtFrom Integer llPeriodMinutes Variant llpEvents)
Inherited from cSigCjCom_DCalendarControlEvents
-------------------------------------------------------------------------
OnComDoReadEvent(Integer llEventID Variant ByRef llpEvent)
Inherited from cSigCjCom_DCalendarControlEvents
-------------------------------------------------------------------------
OnComDoReadRPattern(Integer llPatternID Variant ByRef llpPattern)
Inherited from cSigCjCom_DCalendarControlEvents
-------------------------------------------------------------------------
OnComDoRetrieveDayEvents(DateTime lldtDay Variant llEvents)
Inherited from cSigCjCom_DCalendarControlEvents
-------------------------------------------------------------------------
OnComDoUpdateEvent(Variant llpEvent Boolean ByRef llbResult)
Inherited from cSigCjCom_DCalendarControlEvents
-------------------------------------------------------------------------
OnComDoUpdateRPattern(Variant llpPattern Boolean ByRef llbResult)
Inherited from cSigCjCom_DCalendarControlEvents
-------------------------------------------------------------------------
OnComMouseUp(Short llButton Short llShift OLE_XPOS_PIXELS llx OLE_YPOS_PIXELS lly)
Inherited from cSigCjCom_DCalendarControlEvents
-------------------------------------------------------------------------
OnComPrePopulate(Variant llViewGroup Variant llEvents)
Inherited from cSigCjCom_DCalendarControlEvents
-------------------------------------------------------------------------
OnComReminders(OLECalendarRemindersAction llAction Variant llReminder)
Inherited from cSigCjCom_DCalendarControlEvents
-------------------------------------------------------------------------
OnComViewChanged()
Inherited from cSigCjCom_DCalendarControlEvents
-------------------------------------------------------------------------
OnCreate()
Inherited from cComActiveXControl
IntegerOnEvent_Create(tdEvent tEvent_Data)
BooleanOnEvent_Delete(Integer iEvent_ID)
-------------------------------------------------------------------------
OnEvent_GetUpcoming(DateTime dtFrom DateTime dtTo)
========================================================================= Non Std Table Events =========================================================================
tdEventOnEvent_Read(Integer iEvent_ID)
-------------------------------------------------------------------------
BooleanOnEvent_Save(tdEvent tEvent_Data)
-------------------------------------------------------------------------
OnEventLoadR_Pat_Exceptions(Integer iPatternID)
-------------------------------------------------------------------------
OnEvents_For_Day(Date dDay)
-------------------------------------------------------------------------
OnLoad_Resources()
=========================================================================
OnLoad_Special_Date(Date dThisDate)
IntegerOnR_Pat_Create(tdR_Pat tR_Pat_Data)
-------------------------------------------------------------------------
BooleanOnR_Pat_Delete(Integer iR_Pat_ID)
-------------------------------------------------------------------------
tdR_PatOnR_Pat_Read(Integer iR_Pat_ID)
-------------------------------------------------------------------------
BooleanOnR_Pat_Save(tdR_Pat tR_Pat_Data)
-------------------------------------------------------------------------
OnViewChanged(Handle hoActiveView)
BooleanpbClickToAdd()
BooleanpbCompressWeekendDays()
BooleanpbDayViewShowMinutes()
BooleanpbEnableReminders()
BooleanpbEnableStdToolTips()
BooleanpbInPlaceCreateEvent()
BooleanpbInPlaceEdit_AfterEventResize()
BooleanpbInPlaceEdit_ByF2()
BooleanpbInPlaceEdit_ByMouseClick()
BooleanpbInPlaceEdit_ByTab()
BooleanpbMultiColumnWeekMode()
BooleanpbUseCustomCategories()
BooleanpbUseCustomDialogs()
BooleanpbUseOutlookGlyphs()
IntegerpeCaptionBar()
IntegerpeDayViewCurrentTimeMarkVisible()
BooleanpeFirstDayOfTheWeek()
IntegerpeShowEndDate()
IntegerpeShowTimeAsClocks()
IntegerpeTimeScale()
BooleanpeViewType()
BooleanpeWorkWeekMask()
StringpsClickToAddText()
StringpsPrintPreviewTitle()
StringptmTimeScaleMaxTime()
StringptmTimeScaleMinTime()
StringptmWorkDayEndTime()
StringptmWorkDayStartTime()
ReadRPatternExceptions()
-------------------------------------------------------------------------
RemoveException(Variant vEvent)
-------------------------------------------------------------------------
Set(Integer eCaption)
Inherited from cSigCJMethods_Mixin
========================================================================= Property Methods =========================================================================
Set(Boolean bState)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(Boolean bValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(String sValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(Boolean bValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(Boolean bValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(Boolean bValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(String sValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(Integer eValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(Boolean bValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(Boolean bValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(Boolean bValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(Boolean bValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(Boolean bValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(Boolean bValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(Integer eValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(Boolean bValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(Boolean bValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(Boolean bValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(Integer eValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(Integer eValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(Integer eValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(Integer eValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(String tmValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(String tmValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(String tmValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set(String tmValue)
Inherited from cSigCJMethods_Mixin
Set(Integer eValue)
Inherited from cSigCJMethods_Mixin
-------------------------------------------------------------------------
Set_Single_Data_Source(Integer iDataType String sDataSource)
-------------------------------------------------------------------------
Set_Theme_To_Office_07()
-------------------------------------------------------------------------
Setup_Categories()
-------------------------------------------------------------------------
Show_Built_In_Dialog(Integer eDialog Variant vEvent)
------------------------------------------------------------------------- Procedure OnComSelectionChanged OLECalendarSelectionChanged llSelType If (llSelType = OLExtpCalendarSelectionUnknown) Begin Set pdSelectedDate to "01/01/1900" End If (llSelType = OLExtpCalendarSelectionDays) Begin End If (llSelType = OLExtpCalendarSelectionEvents) Begin End End_Procedure

References (3):

ModuleContaining SymbolLine
SigCJBespokeCalendarDemo.vwoSigCJCalendarControl136
SigCJResourceCalendarDemo.vwoSigCJCalendarControl118
SigCJStandardCalendarDemo.vwoSigCJCalendarControl139