325
Clear Undo/Redo queue (method 2)

public void init()
{
	COM com_Events;
	anytype var_Events;
	int c;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowUndoRedo(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 11:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)));
	c = exschedule1.UndoRedoQueueLength();
	exschedule1.UndoRedoQueueLength(0);
	exschedule1.UndoRedoQueueLength(c);
	print( exschedule1.UndoListAction() );
	exschedule1.EndUpdate();
}
324
Clear Undo/Redo queue (method 1)

public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowUndoRedo(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 11:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)));
	exschedule1.AllowUndoRedo(true);
	print( exschedule1.UndoListAction() );
	exschedule1.EndUpdate();
}
323
Removes Redo operations

public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowUndoRedo(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 11:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)));
	exschedule1.Undo();
	exschedule1.RedoRemoveAction(COMVariant::createFromInt(13));
	print( exschedule1.RedoListAction() );
	exschedule1.EndUpdate();
}
322
Removes Undo operations

public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowUndoRedo(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 11:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)));
	exschedule1.UndoRemoveAction(COMVariant::createFromInt(13));
	print( exschedule1.UndoListAction() );
	exschedule1.EndUpdate();
}
321
Record the UI operations as a block of undo/redo operations

public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowUndoRedo(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.StartBlockUndoRedo();
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 11:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)));
	exschedule1.EndBlockUndoRedo();
	print( exschedule1.UndoListAction() );
	exschedule1.EndUpdate();
}
320
Groups the next to current Undo/Redo Actions in a single block

public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowUndoRedo(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 11:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)));
	exschedule1.GroupUndoRedoActions(2);
	print( exschedule1.UndoListAction() );
	exschedule1.EndUpdate();
}
319
Limits the number of entries within the Undo/Redo queue

public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowUndoRedo(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.UndoRedoQueueLength(1);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 11:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)));
	print( exschedule1.UndoListAction() );
	exschedule1.EndUpdate();
}
318
Lists the Redo actions that can be performed on the control

public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowUndoRedo(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 11:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)));
	exschedule1.Undo();
	print( exschedule1.RedoListAction() );
	exschedule1.EndUpdate();
}
317
Lists the Undo actions that can be performed on the control

public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowUndoRedo(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 11:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)));
	print( exschedule1.UndoListAction() );
	exschedule1.EndUpdate();
}
316
Checks whether the Undo operation is possible

public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowUndoRedo(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 11:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)));
	exschedule1.Undo();
	print( "CanRedo" );
	print( exschedule1.CanRedo() );
	exschedule1.EndUpdate();
}
315
Call Redo by code

public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowUndoRedo(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 11:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)));
	exschedule1.Undo();
	exschedule1.Redo();
	exschedule1.EndUpdate();
}
314
Checks whether the Undo operation is possible

public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowUndoRedo(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 11:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)));
	print( "CanUndo" );
	print( exschedule1.CanUndo() );
	exschedule1.EndUpdate();
}
313
Call Undo by code

public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowUndoRedo(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 11:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)));
	exschedule1.Undo();
	exschedule1.EndUpdate();
}
312
Save the calendar-event's properties for Undo/Redo operations, by code

public void init()
{
	COM com_Event;
	anytype var_Event;
	int h;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowUndoRedo(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.Events().Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 11:30:00",213)));
	exschedule1.StartBlockUndoRedo();
	var_Event = COM::createFromObject(exschedule1.Events()).Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213))); com_Event = var_Event;
		h = com_Event.StartUpdateEvent();
		com_Event.BodyBackColor(WinApi::RGB2int(0,0,1));
		com_Event.BodyForeColor(WinApi::RGB2int(255,255,255));
		com_Event.StatusColor(WinApi::RGB2int(255,0,0));
		com_Event.EndUpdateEvent(h);
	exschedule1.EndBlockUndoRedo();
	exschedule1.EndUpdate();
}
311
No color is restored for the calendar-event when Undo/Redo operation is performed

public void init()
{
	COM com_Event;
	anytype var_Event;
	int h;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowUndoRedo(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.Events().Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 11:30:00",213)));
	exschedule1.StartBlockUndoRedo();
	var_Event = COM::createFromObject(exschedule1.Events()).Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213))); com_Event = var_Event;
		h = com_Event.StartUpdateEvent();
		com_Event.BodyBackColor(WinApi::RGB2int(0,0,1));
		com_Event.BodyForeColor(WinApi::RGB2int(255,255,255));
		com_Event.StatusColor(WinApi::RGB2int(255,0,0));
		com_Event.EndUpdateEvent(h);
	exschedule1.EndBlockUndoRedo();
	exschedule1.EndUpdate();
}
310
How can I ensure that a specified calendar-event fits the control's visible area
public void init()
{
	COM com_Event,com_Events,com_Pattern;
	anytype var_Event,var_Events,var_Pattern;
	;

	super();

	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)))); com_Event = var_Event;
		var_Pattern = com_Event.BodyPattern(); com_Pattern = var_Pattern;
			com_Pattern.Type(6/*exPatternBDiagonal*/);
			com_Pattern.Color(WinApi::RGB2int(224,224,224));
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)))); com_Event = var_Event;
		com_Event.EnsureVisible();
}
309
LayoutEndChanging(exUndo), LayoutEndChanging(exRedo) or LayoutEndChanging(exUndoRedoUpdate) notifiy your application once a Undo/Redo operation is executed (CTRL+Z, CTRL+Y) or updated

// LayoutEndChanging event - Notifies your application once the control's layout has been changed.
void onEvent_LayoutEndChanging(int   _Operation)
{
	;
	print( "LayoutEndChanging" );
	print( _Operation );
}

public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowUndoRedo(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)));
	exschedule1.EndUpdate();
}
308
Turn on the Undo/Redo feature

public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowUndoRedo(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)));
	exschedule1.EndUpdate();
}
307
How can I make the header (date/group) always visible, so it stays on the top while the user scrolls the chart

// LayoutEndChanging event - Notifies your application once the control's layout has been changed.
void onEvent_LayoutEndChanging(int   _Operation)
{
	;
	print( _Operation );
	exschedule1.DayViewHeight(2016);
}

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Group,com_Group1,com_Groups,com_TimeScale;
	anytype var_Calendar,var_Event,var_Events,var_Group,var_Group1,var_Groups,var_TimeScale;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.SelectDate(str2Date("5/20/2012",213),true);
		com_Calendar.Select(3/*exSelectWeek*/);
	exschedule1.ScrollBars(2/*exVertical*/);
	exschedule1.ShowViewCompact(3/*exViewSingleRowLockHeader*/);
	exschedule1.DayViewHeight(2016);
	var_TimeScale = COM::createFromObject(exschedule1.TimeScales()).Item(COMVariant::createFromInt(0)); com_TimeScale = var_TimeScale;
	com_TimeScale.MinorTimeRuler("00:10");
	exschedule1.DayStartTime("00:00");
	exschedule1.DayEndTime("24:00");
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
	exschedule1.DisplayGroupingButton(true);
	exschedule1.ShowGroupingEvents(true);
	exschedule1.ApplyGroupingColors(false);
	var_Groups = exschedule1.Groups(); com_Groups = var_Groups;
		var_Group = com_Groups.Add(1,"Group 1"); com_Group = var_Group;
			com_Group.Visible(true);
			com_Group.EventBackColor(WinApi::RGB2int(128,128,128));
			com_Group.Title("1'st Group");
		var_Group1 = com_Groups.Add(2,"Group 2"); com_Group1 = var_Group1;
			com_Group1.Visible(true);
			com_Group1.EventBackColor(WinApi::RGB2int(255,0,0));
			com_Group1.Title("2'nd Group");
	exschedule1.DefaultEventLongLabel("<%=%256%><br>Group's Caption: <b><%=%262%></b><br>Group's Title: <b><%=%263%></b>");
	exschedule1.DefaultEventShortLabel(exschedule1.DefaultEventLongLabel());
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 1:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 2:00:00",213)))); com_Event = var_Event;
		com_Event.GroupID(1);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 1:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 2:30:00",213)))); com_Event = var_Event;
		com_Event.GroupID(2);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 2:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 4:30:00",213)))); com_Event = var_Event;
		com_Event.GroupID(1);
	exschedule1.EndUpdate();
}
306
It appears that Width property of the Group does not what. What am I doing wrong
public void init()
{
	COM com_Event,com_Events,com_Group,com_Group1,com_Group2,com_Group3,com_Groups;
	anytype var_Event,var_Events,var_Group,var_Group1,var_Group2,var_Group3,var_Groups;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.DisplayGroupingButton(true);
	exschedule1.ShowGroupingEvents(true);
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	var_Groups = exschedule1.Groups(); com_Groups = var_Groups;
		var_Group = com_Groups.Add(1,"Group 1"); com_Group = var_Group;
			com_Group.Title("First");
			com_Group.Visible(true);
		var_Group1 = com_Groups.Add(2,"Group 2"); com_Group1 = var_Group1;
			com_Group1.Title("Second");
			com_Group1.Visible(true);
		var_Group2 = com_Groups.Add(3,"Group 3"); com_Group2 = var_Group2;
			com_Group2.Title("Third");
			com_Group2.Visible(true);
	exschedule1.DayViewWidth(144);
	var_Group3 = COM::createFromObject(exschedule1.Groups()).Item(COMVariant::createFromInt(1)); com_Group3 = var_Group3;
	com_Group3.Width(48);
	var_Group3 = COM::createFromObject(exschedule1.Groups()).Item(COMVariant::createFromInt(2)); com_Group3 = var_Group3;
	com_Group3.Width(48);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)))); com_Event = var_Event;
		com_Event.GroupID(1);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213)))); com_Event = var_Event;
		com_Event.GroupID(2);
	exschedule1.EndUpdate();
}
305
ImageSize property on 32 (specifies the size of control' icons/images/check-boxes/radio-buttons)

public void init()
{
	COM com_Event,com_Events,com_TimeScale;
	anytype var_Event,var_Events,var_TimeScale;
	str var_s;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
	exschedule1.ImageSize(32);
	exschedule1.Font().Size(16);
	exschedule1.EventsFont().Size(16);
	exschedule1.TimeScaleFont().Size(16);
	var_TimeScale = COM::createFromObject(exschedule1.TimeScales()).Item(COMVariant::createFromInt(0)); com_TimeScale = var_TimeScale;
	com_TimeScale.Width(128);
	var_s = "gBJJgBAIDAAEg4AEEKAD/hz/EMNh8TIRNGwAjEZAEXjAojKAjMLjABhkaABAk0plUrlktl0vmExmUzmk1m03nE5nU7nk9miAoE+oVDolFo1HpFJpU5h8Sf9OqFNqUOqN";
	var_s = var_s + "UqdPq9VrFWrlbr1QpdhAFAkFis1ntFptVrtkrpszrNvmVxqk3uVtm1kmF3sdBvF/wGBmV+j9BYGHwWJulfxdax2NyFdx2JlV6l9Nw7AAGZymdz2Cy2GxErvWcz9ivlwy";
	var_s = var_s + "V21cuxugwktzGIzmvwtl0+53U5y0a0Wazmmyu/3dCyOMyXHx/J5nIr9q3uyqnBxFN3G46ma4vb7mD2Ng4nZze00fDkHC7t7us2rOX5tguetpHRlmz4HVqnXk1PjHO+CM";
	var_s = var_s + "Po9MBMC+j2vC8j7wS8cFNI4kBo05UIvfCT/NsnsApU+0Fqg/T+oy/kPxC0sEQfErKQK96+w28UWRI8UGvO8sTLS9r2PWmsMJTDTask3CsIbIEQRA3shOXEEAO/GclJ9F";
	var_s = var_s + "EKrrA8FRbKMXRIlb0JxCkjS1LMswhCcvuel0cv26cSMa8Ufx+2sQwhEUoSXOCjSbLcnxjKc7sdKUVyq28NtVI71P9P7JxtQEapjQ6fzfM8zPfNE2PhIsLL63E40slk5y";
	var_s = var_s + "7N89LcyU9SvMb3SdUc6VJLj5VLVLfO/PS9KzNFHUa/0XyBD0dxlS9cxhMlTRSoNXypPErWDPyfNS+MwprRNO0FD8wVVZ1AI08URwVRjtJ1WCn21QkkUrXVLVPQS/XIkF";
	var_s = var_s + "gTxT9iONZ9xVTdq+L1eKg3kkF6Upe68XtfV51/MtrVjBlwYFL1ev8y1/P6/lyzzYl02wntj0RVFmS1Qa+M5as93QxEUW9e993rfmQ2+vy65M/mL1lhl/2bj2ByVduMtN";
	var_s = var_s + "hCJT9hdz41nN14Ld12Z9UjfI/oUAaGseiw6+uFLLhcVabJOS5RqOE0BHlZ5VnEr5fOMs3st+aa/bbRzrJGV51Y0b0DbqaWXZD90hIsPbjWu52+6Wyadpe66hhO+P/Xio";
	var_s = var_s + "W5rD8ZbrUZuVg6n1dsE/cXmewu1m9PVwnd35/nueXho/NaJzmjc61W76esuT77eG8pTquy9TwWH8LEzG8RDfFalx3Gcfvna9rvG/cptGLd9tuI6TZOP5Fiqi99vea+X4";
	var_s = var_s + "VRcBq/JZZtVQ9cwSs5lsXE372+a9z7PbfB3VVqHyvMctLto8uob6eV0m/cD6MN2v+T33t6sBut42vdv2bJ8a997x2maFJfK+qArbGJPEKE+1qTflMsIdW/GCJX17KcT6";
	var_s = var_s + "/czr/X+u1g29B7j/4BQfWkkx4zIHisjhPCmE0K4SwtXM+d4BvHRwNZOoBph9IJvPek9d40FoMJxf691jj2ywQQcHEWET4XJwkTszlVqm2GokewxtBT1DpQjRxDN0rUVD";
	var_s = var_s + "NKdC3lb6tzNOwh6upMSSYfv4YBCl/bsn9PxiFCEo7SI6Obc9HeOrnY8x4jtHtdpN4GRbaorhsbu18Pph5CiHymI0RpSXGJ/z2oUOxYxG858AyiI+bfJtuTcG5yelBJyT";
	var_s = var_s + "8okhqFd4a5yxL0rvulYtKCsZiWxWkc1s1cRoxxwhA31DLE0mR9l9HqX8fJgTDmFMVH0MIsRzVYnwnMi1dyzmhLt2kS2pxIiU62Wj5ptQGlSYFakLonTUJNLKaM5Wzlff";
	var_s = var_s + "EkuFkk5wTrhVO2eE7G6lJhxFFYUZ55zmn0WuBCD4pzhirFCKkbomsOoIYmZx5p90LoYWGPdD5g0QmJRKYxbZ6zYoVQ2jVGylSak7KSkFH6RSjpHKFuU+YMyNo5SulkC6";
	var_s = var_s + "I0vonTCitMXPoEpVS2H5FQfEqp2R1opIgAEkJISYARTCukOhmPNI5Ex/wzGHUsicMwA1LHgQ90Y/KpoQHAD+pB/R4NzIaMAB9Xaw1gqaAOsh/A/ptIkWUfhGK1kZH8Rg";
	var_s = var_s + "H5GqvgArqRmt4AAPrTroRofBGADkqr6Rmu4D7CEaHARiwpJrEEZsXXwlVjyMWRsaRqwdkLGNBABZmytmyMnaINZqyVpLR2ftKAAAdd6h2osbaskdiq4EZtgSmyNcbVWR";
	var_s = var_s + "JNXe3AA7REar3b0stlAAXBtoRmvJGLjEYAHUWsFcwCD/rnaop9aEICMAPdK5hT6xpeuzdOtAgKuJeGfdq6ggEbkTvAP+p9UCHXrvKkcgIA==";
	exschedule1.Images(COMVariant::createFromStr(var_s));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 11:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 14:30:00",213)))); com_Event = var_Event;
		com_Event.Pictures("1/2");
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 15:45:00",213)))); com_Event = var_Event;
		com_Event.Pictures("1,2");
	exschedule1.EndUpdate();
}
304
ImageSize property on 16 (default) (specifies the size of control' icons)

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	str var_s;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
	exschedule1.ImageSize(16);
	var_s = "gBJJgBAIDAAEg4ACEKAD/hz/EMNh8TIRNGwAjEZAEXjAojJAjMLjABAAgjUYkUnlUrlktl0vmExmUzmk1m03nE5nU7nkrQCAntBoVDolFo1HoM/ADAplLptImdMYFOqd";
	var_s = var_s + "SqlXq1QrVbrlGpVWsFNrNdnNjsk7pQAtNroFnt0sh8Yr9iulTuNxs1Eu8OiT/vsnsNVutXlk/oGGtVKxGLxWNtsZtN8iUYuNvy0Zvd+xNYwdwvl4p870GCqc8vOeuVtt";
	var_s = var_s + "mp1knyOayWVy+WzN/ze1wOElenm+12WUz/Bv2/3UyyWrzeutux2GSyGP2dQ33C1ur3GD3M4zUNzHdlWjq/E3nGzVpjWv4HA7fRy/Tv2IrN8rPW6nZ3ve7mUlfu20Z8ac";
	var_s = var_s + "vQyb+vY9jasYoDwMm+LytVBDqKG3z8O3Cb8P+mkAuY9cCQ2uL4KaxDKvkp8RNLEjqugnrwQo/UWPzFyeQw5sNLZFENrI4kOqU66pw8uzmOKvTqNqjULJvGL1JO48GtTG";
	var_s = var_s + "sbLdEL3scxLlyiw8dQeoUVxdLTtyKmUjwGlslRPJsnK1HbAKbKCrsQo8uQk/CeP44iaR/ATnTNPLvyxPU+z9P9AUDQVBowiofJXQ6Oo+kKMpIkjztE4TKn4P6JowfgPn";
	var_s = var_s + "wD5/nAjB8AOeAPo0eAA1IAFH07UhAIMpYAVIYFHqBUhwVjV1S1EtQAHxW65V0AZwAeuQAnwB5gAPYViEDVhwAHTQBkCjB4gOhwDmCyhH0sACAg==";
	exschedule1.Images(COMVariant::createFromStr(var_s));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 11:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 14:30:00",213)))); com_Event = var_Event;
		com_Event.Pictures("1/2");
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 15:45:00",213)))); com_Event = var_Event;
		com_Event.Pictures("1,2");
	exschedule1.EndUpdate();
}
303
Is it possible to show a different background color for alternate days

public void init()
{
	;

	super();

	exschedule1.Background(41/*exScheduleDayHeaderBackColor*/,WinApi::RGB2int(0,0,0));
	exschedule1.Background(42/*exScheduleDayHeaderForeColor*/,WinApi::RGB2int(0,0,0));
	exschedule1.Background(159/*exScheduleDayBackColorAlternate*/,WinApi::RGB2int(240,240,240));
	exschedule1.Background(160/*exScheduleDayForeColorAlternate*/,WinApi::RGB2int(128,128,128));
	exschedule1.Calendar().Select(3/*exSelectWeek*/);
}
302
How can I select all events

public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213)));
	exschedule1.SelectAll();
	exschedule1.EndUpdate();
}
301
How can I unselect all events
public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213)));
	exschedule1.SelectAll();
	exschedule1.Selection("");
	exschedule1.EndUpdate();
}
300
How do I immediately select a newly added event

// AddEvent event - Notifies your application once the a new event is added.
void onEvent_AddEvent(COM   _Ev)
{
	// Ev.Selected = True
	;
}

public void init()
{
	;

	super();

}
299
I would like to know if this allows me to setup a number of room(column). Let's say, i need to go up to 10 rooms is it possible. Also, the possibility to have a complete week of that 10 rooms.

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Group,com_Group1,com_Group2,com_Group3,com_Group4,com_Groups;
	anytype var_Calendar,var_Event,var_Events,var_Group,var_Group1,var_Group2,var_Group3,var_Group4,var_Groups;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.OnResizeControl(2048/*exCalendarAutoHide*/);
	exschedule1.DisplayGroupingButton(true);
	exschedule1.ShowGroupingEvents(true);
	exschedule1.BodyEventForeColor(WinApi::RGB2int(255,255,255));
	exschedule1.DayStartTime("09:00");
	exschedule1.DayEndTime("14:00");
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.SelectDate(str2Date("5/24/2012",213),true);
		com_Calendar.Select(3/*exSelectWeek*/);
	exschedule1.ScrollBars(0/*exNoScroll*/);
	exschedule1.ShowViewCompact(1/*exViewSingleRow*/);
	var_Groups = exschedule1.Groups(); com_Groups = var_Groups;
		var_Group = com_Groups.Add(1,"1"); com_Group = var_Group;
			com_Group.Visible(true);
			com_Group.EventBackColor(WinApi::RGB2int(255,0,0));
			com_Group.HeaderBackColor(com_Group.EventBackColor());
			com_Group.HeaderForeColor(WinApi::RGB2int(255,255,255));
		var_Group1 = com_Groups.Add(2,"2"); com_Group1 = var_Group1;
			com_Group1.Visible(true);
			com_Group1.EventBackColor(WinApi::RGB2int(204,0,0));
			com_Group1.HeaderBackColor(com_Group1.EventBackColor());
			com_Group1.HeaderForeColor(WinApi::RGB2int(255,255,255));
		var_Group2 = com_Groups.Add(3,"3"); com_Group2 = var_Group2;
			com_Group2.Visible(true);
			com_Group2.EventBackColor(WinApi::RGB2int(153,0,0));
			com_Group2.HeaderBackColor(com_Group2.EventBackColor());
			com_Group2.HeaderForeColor(WinApi::RGB2int(255,255,255));
		var_Group3 = com_Groups.Add(4,"4"); com_Group3 = var_Group3;
			com_Group3.Visible(true);
			com_Group3.EventBackColor(WinApi::RGB2int(102,0,0));
			com_Group3.HeaderBackColor(com_Group3.EventBackColor());
			com_Group3.HeaderForeColor(WinApi::RGB2int(255,255,255));
		var_Group4 = com_Groups.Add(5,"5"); com_Group4 = var_Group4;
			com_Group4.Visible(true);
			com_Group4.EventBackColor(WinApi::RGB2int(51,0,0));
			com_Group4.HeaderBackColor(com_Group4.EventBackColor());
			com_Group4.HeaderForeColor(WinApi::RGB2int(255,255,255));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213)))); com_Event = var_Event;
		com_Event.GroupID(1);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:30:00",213)))); com_Event = var_Event;
		com_Event.GroupID(2);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 11:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 13:30:00",213)))); com_Event = var_Event;
		com_Event.GroupID(3);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:30:00",213)))); com_Event = var_Event;
		com_Event.GroupID(4);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:30:00",213)))); com_Event = var_Event;
		com_Event.GroupID(5);
	exschedule1.EndUpdate();
}
298
I would like to know if this allows me to setup a number of room(column). Let's say, i need to go up to 10 rooms is it possible

public void init()
{
	COM com_Event,com_Events,com_Group,com_Group1,com_Group2,com_Group3,com_Group4,com_Groups;
	anytype var_Event,var_Events,var_Group,var_Group1,var_Group2,var_Group3,var_Group4,var_Groups;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.OnResizeControl(2048/*exCalendarAutoHide*/);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
	exschedule1.DisplayGroupingButton(true);
	exschedule1.ShowGroupingEvents(true);
	exschedule1.BodyEventForeColor(WinApi::RGB2int(255,255,255));
	exschedule1.DayStartTime("09:00");
	exschedule1.DayEndTime("14:00");
	var_Groups = exschedule1.Groups(); com_Groups = var_Groups;
		var_Group = com_Groups.Add(1,"Room1"); com_Group = var_Group;
			com_Group.Visible(true);
			com_Group.EventBackColor(WinApi::RGB2int(255,0,0));
			com_Group.HeaderBackColor(com_Group.EventBackColor());
			com_Group.HeaderForeColor(WinApi::RGB2int(255,255,255));
		var_Group1 = com_Groups.Add(2,"Room2"); com_Group1 = var_Group1;
			com_Group1.Visible(true);
			com_Group1.EventBackColor(WinApi::RGB2int(204,0,0));
			com_Group1.HeaderBackColor(com_Group1.EventBackColor());
			com_Group1.HeaderForeColor(WinApi::RGB2int(255,255,255));
		var_Group2 = com_Groups.Add(3,"Room3"); com_Group2 = var_Group2;
			com_Group2.Visible(true);
			com_Group2.EventBackColor(WinApi::RGB2int(153,0,0));
			com_Group2.HeaderBackColor(com_Group2.EventBackColor());
			com_Group2.HeaderForeColor(WinApi::RGB2int(255,255,255));
		var_Group3 = com_Groups.Add(4,"Room4"); com_Group3 = var_Group3;
			com_Group3.Visible(true);
			com_Group3.EventBackColor(WinApi::RGB2int(102,0,0));
			com_Group3.HeaderBackColor(com_Group3.EventBackColor());
			com_Group3.HeaderForeColor(WinApi::RGB2int(255,255,255));
		var_Group4 = com_Groups.Add(5,"Room5"); com_Group4 = var_Group4;
			com_Group4.Visible(true);
			com_Group4.EventBackColor(WinApi::RGB2int(51,0,0));
			com_Group4.HeaderBackColor(com_Group4.EventBackColor());
			com_Group4.HeaderForeColor(WinApi::RGB2int(255,255,255));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213)))); com_Event = var_Event;
		com_Event.GroupID(1);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:30:00",213)))); com_Event = var_Event;
		com_Event.GroupID(2);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 11:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 13:30:00",213)))); com_Event = var_Event;
		com_Event.GroupID(3);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:30:00",213)))); com_Event = var_Event;
		com_Event.GroupID(4);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:30:00",213)))); com_Event = var_Event;
		com_Event.GroupID(5);
	exschedule1.EndUpdate();
}
297
Please could you let me know if it is possible to change the increment when the user scrolls the mouse wheel as its to slow by default
public void init()
{
	;

	super();

	exschedule1.VerticalScrollWheel(3);
}
296
I am using the DefaultEventLongLabel property to specify the event's label. Is it possible to change the way the event's label is displayed when it is an all day event (sample 2)

public void init()
{
	COM com_Event,com_Event1,com_Event2,com_Events,com_Group,com_Group1,com_Groups;
	anytype var_Event,var_Event1,var_Event2,var_Events,var_Group,var_Group1,var_Groups;
	str var_s,var_s1;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	exschedule1.AllowAllDayEventScroll(4416/*exAllDayEventWheelScroll | exAllDayEventMax4*/);
	var_s = "<%=%><%= ( %3 = 0 ? (`Group's ID:` + %4 + `<br>Group's Caption:` + %262  + `<br>Group's Title: ` + %263 + `<br>` + %256 ) : ( (`";
	var_s = var_s + "Group's ID:` + %4 + ` , ` + %256 ) replace `<br>` with `,` ) ) %>";
	exschedule1.DefaultEventLongLabel(var_s);
	var_s1 = "<%=%><%=  ( %3 = 0 ? (`Group's ID:` + %4 + `<br>Group's Caption:` + %262  + `<br>Group's Title: ` + %263 + `<br>` + %256 ) : ( (";
	var_s1 = var_s1 + "`Group's ID:` + %4 + ` , ` + %256 ) ) replace `<br>` with `\\r\\n` ) %>";
	exschedule1.DefaultEventShortLabel(var_s1);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.DisplayGroupingButton(true);
	exschedule1.ShowGroupingEvents(true);
	exschedule1.HeaderGroupHeight(1);
	exschedule1.ShowAllDayHeader(true);
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	var_Groups = exschedule1.Groups(); com_Groups = var_Groups;
		var_Group = com_Groups.Add(1,"Group 1"); com_Group = var_Group;
			com_Group.Title("First");
			com_Group.Visible(true);
		var_Group1 = com_Groups.Add(2,"Group 2"); com_Group1 = var_Group1;
			com_Group1.Title("Second");
			com_Group1.Visible(true);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)))); com_Event = var_Event;
		com_Event.GroupID(1);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213)))); com_Event = var_Event;
		com_Event.GroupID(2);
		var_Event = com_Events.Add(COMVariant::createFromDate(str2Date("1/10/2001",213)),COMVariant::createFromDate(str2Date("1/10/2001",213))); com_Event = var_Event;
			com_Event.GroupID(1);
			com_Event.AllDayEvent(true);
		var_Event1 = com_Events.Add(COMVariant::createFromDate(str2Date("1/10/2001",213)),COMVariant::createFromDate(str2Date("1/10/2001",213))); com_Event1 = var_Event1;
			com_Event1.GroupID(2);
			com_Event1.AllDayEvent(true);
		var_Event2 = com_Events.Add(COMVariant::createFromDate(str2Date("1/10/2001",213)),COMVariant::createFromDate(str2Date("1/10/2001",213))); com_Event2 = var_Event2;
			com_Event2.GroupID(2);
			com_Event2.AllDayEvent(true);
	exschedule1.EndUpdate();
}
295
I am using the DefaultEventLongLabel property to specify the event's label. Is it possible to change the way the event's label is displayed when it is an all day event (sample 1)

public void init()
{
	COM com_Event,com_Event1,com_Event2,com_Events,com_Group,com_Group1,com_Groups;
	anytype var_Event,var_Event1,var_Event2,var_Events,var_Group,var_Group1,var_Groups;
	str var_s,var_s1;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	var_s = "<%=%><%= %4 < 0  ? `<b>` + %256 + `</b> <off -4>(all)` : ( (`Group's ID:` + %4 + `<br>Group's Caption:` + %262  + `<br>Group's T";
	var_s = var_s + "itle: ` + %263 + `<br>` + %256 ) replace ( %3 ? `<br>` : ``) with `,` ) %>";
	exschedule1.DefaultEventLongLabel(var_s);
	var_s1 = "<%=%><%=  %4 < 0 ? %256 : ( %3 = 0 ? (`Group's ID:` + %4 + `<br>Group's Caption:` + %262  + `<br>Group's Title: ` + %263 + `<br>";
	var_s1 = var_s1 + "` + %256 ) : ( (`Group's ID:` + %4 + ` , ` + %256 ) ) replace `<br>` with `\\r\\n` ) %>";
	exschedule1.DefaultEventShortLabel(var_s1);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.DisplayGroupingButton(true);
	exschedule1.ShowGroupingEvents(true);
	exschedule1.HeaderGroupHeight(1);
	exschedule1.ShowAllDayHeader(true);
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	var_Groups = exschedule1.Groups(); com_Groups = var_Groups;
		var_Group = com_Groups.Add(1,"Group 1"); com_Group = var_Group;
			com_Group.Title("First");
			com_Group.Visible(true);
		var_Group1 = com_Groups.Add(2,"Group 2"); com_Group1 = var_Group1;
			com_Group1.Title("Second");
			com_Group1.Visible(true);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)))); com_Event = var_Event;
		com_Event.GroupID(1);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213)))); com_Event = var_Event;
		com_Event.GroupID(2);
		var_Event = com_Events.Add(COMVariant::createFromDate(str2Date("1/10/2001",213)),COMVariant::createFromDate(str2Date("1/10/2001",213))); com_Event = var_Event;
			com_Event.GroupID(1);
			com_Event.AllDayEvent(true);
		var_Event1 = com_Events.Add(COMVariant::createFromDate(str2Date("1/10/2001",213)),COMVariant::createFromDate(str2Date("1/10/2001",213))); com_Event1 = var_Event1;
			com_Event1.GroupID(-1);
			com_Event1.AllDayEvent(true);
		var_Event2 = com_Events.Add(COMVariant::createFromDate(str2Date("1/10/2001",213)),COMVariant::createFromDate(str2Date("1/10/2001",213))); com_Event2 = var_Event2;
			com_Event2.GroupID(2);
			com_Event2.AllDayEvent(true);
	exschedule1.EndUpdate();
}
294
The Event.Caption does not support HTML, and so if using in DefaultEventLongLabel/DefaultEventShortLabel no HTML is applied, instead HTML tags are displayed as plain text. What can be done

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
	exschedule1.DefaultEventLongLabel("<%=%><%=%5%><br><%=%256%>");
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:00:00",213)))); com_Event = var_Event;
		com_Event.Caption("textzeile1<br>textzeile2<br>textzeile3");
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 11:00:00",213)))); com_Event = var_Event;
		com_Event.Caption("textzeile1<br><fgcolor-FF0000><b>textzeile2</b></fgcolor>");
	exschedule1.EndUpdate();
}
293
Please could you let me know how I can remove/hide the time scale/marks from the scheduler. I am creating a month view that only requires a box for the day and no time markers required

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_TimeScale;
	anytype var_Calendar,var_Event,var_Events,var_TimeScale;
	;

	super();

	exschedule1.BeginUpdate();
	var_TimeScale = COM::createFromObject(exschedule1.TimeScales()).Item(COMVariant::createFromInt(0)); com_TimeScale = var_TimeScale;
	com_TimeScale.Visible(false);
	exschedule1.OnResizeControl(2048/*exCalendarAutoHide*/);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
		com_Calendar.Select(2/*exSelectMonth*/);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213)));
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:30:00",213)))); com_Event = var_Event;
		com_Event.ShowStatus(false);
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 11:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 13:30:00",213)));
	exschedule1.EndUpdate();
}
292
Is it possible to lock down the view to allow resizing of the days column but not to allow the scrolling outside of the dictated time zone

public void init()
{
	COM com_Calendar,com_TimeScale;
	anytype var_Calendar,var_TimeScale;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("5/21/2012",213)));
		com_Calendar.Selection("value in (#5/21/2012#,#5/22/2012#,#5/23/2012#,#5/24/2012#,#5/25/2012#)");
	exschedule1.OnResizeControl(768/*exChangePanels | exHideSplitter*/);
	exschedule1.ScrollBars(2/*exVertical*/);
	exschedule1.ShowViewCompact(1/*exViewSingleRow*/);
	exschedule1.AllowMoveSchedule(0/*exDisallow*/);
	exschedule1.AllowResizeSchedule(0/*exDisallow*/);
	exschedule1.AllowToggleSchedule(0/*exDisallow*/);
	exschedule1.AllowExchangePanels(0/*exDisallow*/);
	exschedule1.AllowMoveTimeScale(0/*exDisallow*/);
	exschedule1.AllowResizeTimeScale(0/*exDisallow*/);
	exschedule1.AllowMultiDaysEvent(false);
	exschedule1.Background(36/*exScheduleBorderSelColor*/,exschedule1.Background(37/*exScheduleBorderSelColorUnFocus*/));
	var_TimeScale = COM::createFromObject(exschedule1.TimeScales()).Item(COMVariant::createFromInt(0)); com_TimeScale = var_TimeScale;
	com_TimeScale.MinorTimeRuler("00:10");
	exschedule1.DayStartTime("10:00");
	exschedule1.DayEndTime("14:00");
	exschedule1.EndUpdate();
}
291
I would also like to control the column view to only show 5 days at a time with a side scroll, how would I achieve this please

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.OnResizeControl(2048/*exCalendarAutoHide*/);
	exschedule1.ShowAllDayHeader(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/21/2012",213)));
	exschedule1.Calendar().Selection("value in (#5/21/2012#,#5/22/2012#,#5/23/2012#,#5/24/2012#,#5/25/2012#)");
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.ScrollBars(2/*exVertical*/);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/23/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/21/2012",213)),COMVariant::createFromDate(str2Date("5/24/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/24/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
	exschedule1.EndUpdate();
}
290
Can I force the schedule grid to only show a single day and then to step through each day using either a custom button click or using the built in schedule calendar

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.SelectDate(str2Date("5/20/2012",213),true);
		com_Calendar.Select(5/*exSelectFocusDay*/);
	exschedule1.OnResizeControl(768/*exChangePanels | exHideSplitter*/);
	exschedule1.ScrollBars(0/*exNoScroll*/);
	exschedule1.ShowViewCompact(1/*exViewSingleRow*/);
	exschedule1.AllowMoveSchedule(0/*exDisallow*/);
	exschedule1.AllowResizeSchedule(0/*exDisallow*/);
	exschedule1.AllowToggleSchedule(0/*exDisallow*/);
	exschedule1.AllowExchangePanels(0/*exDisallow*/);
	exschedule1.AllowMoveTimeScale(0/*exDisallow*/);
	exschedule1.AllowResizeTimeScale(0/*exDisallow*/);
	exschedule1.AllowMultiDaysEvent(false);
	exschedule1.Background(36/*exScheduleBorderSelColor*/,exschedule1.Background(37/*exScheduleBorderSelColorUnFocus*/));
	exschedule1.EndUpdate();
}
289
Can I colour the background of the schedulers grid from a time point to another EG 9:00 to 12:00. This is to show users that they can only book appointments in this time zone

public void init()
{
	COM com_MarkZone,com_MarkZone1,com_Pattern;
	anytype var_MarkZone,var_MarkZone1,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.OnResizeControl(768/*exChangePanels | exHideSplitter*/);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("6/27/2012",213)));
	var_MarkZone = COM::createFromObject(exschedule1.MarkZones()).Add("zoneA",COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 11:00:00",213))); com_MarkZone = var_MarkZone;
		var_Pattern = COM::createFromObject(com_MarkZone.Pattern()); com_Pattern = var_Pattern;
		com_Pattern.Type(0/*exPatternEmpty*/);
		com_MarkZone.LongLabel("Yellow");
		com_MarkZone.BackColor(WinApi::RGB2int(255,255,0));
	var_MarkZone1 = COM::createFromObject(exschedule1.MarkZones()).Add("zoneB",COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 12:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 13:30:00",213))); com_MarkZone1 = var_MarkZone1;
		var_Pattern = COM::createFromObject(com_MarkZone1.Pattern()); com_Pattern = var_Pattern;
		com_Pattern.Type(0/*exPatternEmpty*/);
		com_MarkZone1.LongLabel("Green");
		com_MarkZone1.BackColor(WinApi::RGB2int(0,255,0));
	exschedule1.EndUpdate();
}
288
My programming language has the following format for date 2012-05-24-13.04.06.810000 every other format returns a compiler error. Is there a possibility to use a string for the date

public void init()
{
	COM com_MarkTime,com_MarkTimes;
	anytype var_MarkTime,var_MarkTimes;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(exschedule1.ExecuteTemplate("#5/24/2012#"));
	var_MarkTimes = exschedule1.MarkTimes(); com_MarkTimes = var_MarkTimes;
		var_MarkTime = com_MarkTimes.Add("timer",exschedule1.ExecuteTemplate("#5/24/2012 11:35#")); com_MarkTime = var_MarkTime;
			com_MarkTime.Movable(true);
			com_MarkTime.LineColor(WinApi::RGB2int(0,0,255));
			com_MarkTime.StatusEventBackColor(WinApi::RGB2int(0,0,255));
			com_MarkTime.TimeScaleLineColor(WinApi::RGB2int(0,0,255));
			com_MarkTime.TimeScaleLabel("<fgcolor=0000FF><b><%hh%>:<%nn%> <%AM/PM%>");
	exschedule1.EndUpdate();
}
287
How do I display a picture with transparency

// PictureClick event - Occurs when the user clicks a picture within an event ( Event.Pictures/ExtraPictures ).
void onEvent_PictureClick(str   _Key)
{
	;
	print( _Key );
}

public void init()
{
	COM com_Event,com_Events,com_ExPictures;
	anytype var_Event,var_Events,var_ExPictures;
	str var_s;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.ShowSelectEvent(false);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
	var_ExPictures = exschedule1.Pictures(); com_ExPictures = var_ExPictures;
		var_s = "gCJKBOI4NBQaBQAhQNJJIIhShQAEEREAIA0ROZ6PT0hQKYZpIZDKBJkIgKByN5mNJsMsKPABVqXBI4KjrD7HL6GWKPJKiCIhMiySidKxbOzZZJWMLsGL2FqyLjZMonNa";
		var_s = var_s + "2CyiZDOUqsQqUEq0ZCNISFXDIFxzZ4hUrbdrefZ/fz3ZgzZ75Tz3XjvHZnZznPieb55AKgAqmRyOOzEhR7XirWaWQQMTa+QIhDbZOZAAoYUCPDAQG7FXI4JRrNCoIRdP";
		var_s = var_s + "yyFr0AYifDUKZ+PCufK4RReALLUbtdBHSrGTCCNKqT4MbRqUxxQx+CAAEQ2VCBbxqGaLYDZNgzFbCbLDarRCrqMYMM6cWqpHKUDqhZjnVijEoLcp0FCjVg2OYhTjN/QW";
		var_s = var_s + "k4bo4iseBsAcABIDoPA5g2HgADIkQfDCNxwkEQYnFmAIAB4OJHGcKAPioGRKFKdh2g6UB8iiZ5QkYQp3gKWhDlsWYmAARBcgCIAUniVpmiSA5AF3A4wG8P41nGWwDDAW";
		var_s = var_s + "4MAAIpSG+bRzBoGx3AeCJhh6C4ljCUJGnSRBUFKAIQA6EgIHMWBoHqYgAngHJDCALBmhCCAfHOARAScUBvAmc5zHYXxoguXQ8DEMIAH8dI8HmP4/AyQJAEAYAoHqRByE";
		var_s = var_s + "QGJiECBAzAkKIpBYNIcikAp8kcZhDn4EBChmUoMgqHIqhiWoIgaDImgyVQImaRw/F0EZGCcSw3DaM4Kn6GBBhwYYZDGZo3C+RgOAmNQnhYeYqgsTZenEVgSFYLo2Cydh";
		var_s = var_s + "Gg4OROF2HJjlydR7i+cJjDGFo8BgHgVl4Po+DufJRgcbQOlkCxyKuCJNAsdwIhSC4mgieYKkeHJWD0Ih8BQaYYkkMYppwTg0EsFhJC0SxEkgeodDSFpTheV5SDgLBIie";
		var_s = var_s + "RIigyVo5CeOpymoWhtEQfRACMR4zE2KxRnsV5dF2ehFCeC50G+GBkBiZgaCUGYnBySY+BsdIuEkJJJDSSRsjGeYqEWOhliYVYOHWDYbFuNhFmcS5siqbZrnGLYOh0DpP";
		var_s = var_s + "hyXo7D8d4ZHGXR1CcdRAnsMh7GELwIHiSx7CiXY0HYNZ1nOcoPg0SB+CWLwwGqUpbFAQJwEeEImlCVQwk4cJxAiFRIhMS4ulGYRRlmMQVDEHZxG8YxXhIaQSniLhIiaG";
		var_s = var_s + "wnDiJZGicZYnjeZw8D6OoSkWEIthwI4emudwtGwepNhuLQ3F8Zojm4bQrhALo0D0HZwCcJwoimeI0ASWR6CAJkJQORfAiFcLIXgahaiGCgMsKIpw8DPH8H4Pj2BhjrBM";
		var_s = var_s + "GQGYfxFjuEGIsB4rxbg+DSFsPAxBtChHoAQaYmRojVG0D0e6JALjVD2K0F4qxfjjGyPIRY/QXi1AOAILwFQGgOF8KYDwOgdBsHmCYcobRtjIHoGgZAmBgi7HgPcWoHxT";
		var_s = var_s + "AmCQCcVwTgDB+FYJgfQMAOj0F2PoZgkRMjeKQLkWATwdDzEkPMF4FxzAXDGJYfAlgPAuB+FkeIWxuizC0LkUwvQbD9ByHIDouxvBCBgCMCAvh4CXCMEgSA0BJDEH+Asf";
		var_s = var_s + "wMgfjhDeL0Ro/xkgvH4JMXA7RYjyAONgPAWhfjyCuBEcAFRSAWE4BIOwEAUgTCaIYfA4wSBUAcAsDowQOBFA4J0Hg9h2B4EmCQTYVBdB0FwIwU4rByjJGmHIRQ8gJAKB";
		var_s = var_s + "4IoZgShaDKAQOUIolQkjVBuGoSw6hugaFaJoeoWgajaDKDoO4dB5j0FcJ0Zw1Ang3CQDEdgNQnA6EmHgGw4QuCiCSAKFIXBgilEwGcLAZAtDmC0N0WgLhaApFiK0Hgfx";
		var_s = var_s + "niuGKP4GIvhrhhGgHEZgaRtB5GSBUcIhg5BnHkOAeQFB5A6DiEEao2xoDHH0KIQ4bxYBfFEP8RogB5BfA8AQHwvwqAZBIBURgCgwgPAqAkKYCgfgTHCBwDIegcgjFUDQ";
		var_s = var_s + "XQPQzA4DsCkDwnRABNAwE8OgTw5C6AkJEPgPRSg+DqCANoMRBjuHUKEJglQWDrHYOATg3BuDGDWEMa4CQbj3HMB0Z4Pw5jLFuCAWYsB/D2DgBEUQmB1iuDEMkfI0hUCy";
		var_s = var_s + "EkPIfwihKgqGsGobIGhNhfFGGoZY6gDDuGWDceANA1A2DyDUM4txaA/EwG0bo0wTDXEcH8Sg/BcD2GSHQC4pgtiuGOOkNIRg3hbG+MIGYjhzgaBeHwL4FgHAMAYFIfgJ";
		var_s = var_s + "h4nJBQGkfAwRNiFAiO4KIlhoiKFiOoO4EwPiYGONUE4RATg6BOMcUwEApgZGmP4X4lxnjYGaLIZg7RNirH6FQG47xZCAC6OQLK5B1BYF8LgOQZAqh0FqGcBo/xMhpE6H";
		var_s = var_s + "sXomQwBKCwIcfA6w/DxA+IURAIxwgmBSCMKoJgOhFD0JMeIkQdhREwFAEQKRFioAYKkJIqQlhpBYFEPYUQui0GCGgFI9BlCOAUDoS4nRhA7HOOkFYdguhgEgGYUgZB2D";
		var_s = var_s + "eE6IIYIMQEgyAiPYHgYgnBlFiNsPYghKiODqISfddhPgVEOCQE4hg5iWHWPEfwfB3BgFYPkAIWQPAOC8BIb1MwrD+QsNEQ43ACAMAKGUQgsBhBoHCGUSNrxBBoEqNgGo";
		var_s = var_s + "8QMAJF+MMOwRxGCOFUBwHYdhODvDwMEBILgk21AKKkOI6RrgyD6LIDoJxNjkDUOQF4yAXgoC4FMXgqhKCiE4KACQow9D5CoJgLQiA9CwEMLUYwOxmhAFaEAdoSwdBBF0";
		var_s = var_s + "CEPQEWWDrGOBoEgGhTAaDyBsPoNgXA4CmHIWw+guCDCSJsNIjxsgADcNQPg2hxC2FKLACo2hNDFEMMcKw/BeCcE6LYXoGRvDJGCN8GIxgUjYAyOUbg6BpDrB0OYWw5Ag";
		var_s = var_s + "jtGSOoEofAgjRG2NgY4+RRCfBeKUN4qQvi7H+HAYAchwCOCWAcQQZBBFiG4EIUYww3CFFuEQSgRAlBdDMIwCQiRrCMGCMcIwxhuiKDeE0PAlxCC8GFZQS4YhIgaEkJYS";
		var_s = var_s + "43hLAxE8EkTodQUBbBWMcHoNxy0lHqOETYyAeDeD4I0AQlRhD0G2E0O4PgKCjHeEoSgmBKCGEsBUS4vxUA8C6M0K4ox7irD+O0VouhfD7FUA33I+gmiXE0IsLY1gtipG";
		var_s = var_s + "0CQbQLQPjFDuDQHw2RtjFGsK0bw4x9j0CcO8N4/RtBnhSgvAcBehmAOh0ANgiAhAnhih8gwh1gbhugRhSBRhDhjh2Bvgyhfh3gPhThOBIBOA6B9gsAYAah+BdhlBWBtA";
		var_s = var_s + "uBoBThtB8gnhFheAlhcByh6BKhvAahNBnh5B1gJB1g+hCAsgAAbB1gOguAJhIAoAmhFBvqzACABh0BlgFggA6CaBvBQA7BDEHAaA0AABoAcgGBEACg5AAgYgZgLAIBKg";
		var_s = var_s + "FBBhWh9AggCAIBoBNgAANA9AJhwABBxBwAKAYAAALCJu9ADAYAFBLExBEAiBEgmBEgxBEANBENbhmgJh5gJBNgJgzgJBfgRAvAhpKhnAQg5AIpkARASA/ASKGAPBJhZB";
		var_s = var_s + "IAdBJAbARh7n4BIhshkAnAZDVgkBZAUg5AWh5AVB5AEgFAbBFA4BFACglA5hlAfAVAChVAtBVAig1AQh1ABBNB+gaAcgUA7AqAbAWgTg2gfB2gSB9AIBdA1BDh2BHAnB";
		var_s = var_s + "dAZg6Apgdh+h0g7lCBoAXh3BJBugahkBwBihkBkAsBYgtg/h7gNATBNgkhIgUhBg0gzI6BZgJRJglhvAvARgrAtBrALBbBFh2BxB2BZh9hFAcgOAcAdAcgCgcBzhcAVB";
		var_s = var_s + "7h9g5BlgxhohsArgDh5A8heA8BKh8hMB8gzB8APgPBmAdByAShQAVgUAWMMAaAThuATgpAWhNASgLARB3ASAwg+AsEwhiAoimBTBxhUAJhEAJhVhJBPhSBTBSBjgyhvB";
		var_s = var_s + "PlWAbgUgfhRhYBUAkAoBTAoBQgrgygfyhgTBShXBSgwhUh0hWgKhTguhQBphRAdhWAjhoBvg1gQA0g0A1AKACAehLgegzgrgmhcAmBahmB+A4AihzAhhLA6ArAFBrAfA";
		var_s = var_s + "bAyhbAPh2hYB7BzB8AOBDgwhTg+hnALAXB8hXBph3AxAPA/BPA2gLg7A8hxg+AlAXANB9ARB+A6B+h5gBgEBAg9BLhFBBAUghAWAhANhhhsgRgBARBvgjAUgiALhjBpB";
		var_s = var_s + "ig8hjhHgSA1ASBqgvA4gkhzAmgkglhRgnB7hlh8BKA0hNgxhMBtg7guh5gjAzhPAtB/BJgBBmhhBvAdhDAighg7g2glAzBlg+AVhUAVAphVAHhqURAGhvh7g0AgAahvA";
		var_s = var_s + "2FigMg2BhhaBrg6AMAegTA6AVi5B6BlgehNgMgoA9gigMAZA/hBgMgGg+hfgbAvAegSgbApgegXhZhqBagzBYgogfgwB/Cwg7hgh/hDA/gTg5B+gNh/gXh6B8hbh8B/h";
		var_s = var_s + "EhfASg2h/BHh6BfhZBbhuAjB/g9h7BbBth0h/gbh2Ayh/hAh+h/gnh/Ajh3AwgnA/gigPBzBPBVBegigfA1h8BPhshr1HgNhvAxB/hoBdgGgBhZh3sUhMh0gmh1hLg9h";
		var_s = var_s + "IgchQB7BthugQh5hbgugth6BTgLi/ALBkocoPgCA/BQBfhmh+hXhzA/hzh+g7B1hbgch/heh4gvhEg3hsBfBOgbA2B9ArhrANhPTSKXAMg7A+Bhh4AfgZh/AVhdg/hzB";
		var_s = var_s + "7BTBsgfh5B+gdhZh/g7oQBogSh/BMrPhUhYBshvheBfA9AThph7ANhvhNgog/hZBNg/hdhvgIAxhjB2hHBhhOBtg1gPBCg3hZBDAmhDg0gfhNhAg8xMhgBiBvkig7BGg";
		var_s = var_s + "KBHBDBfBJhDBWhPg6BPxKAvBOBUhPB5hMhLhAh0mXBXAFhhB/A3hXBIhwB9AAgUBKg4AHA8AMgdgDhuB8hGghhcACgUAAgOA4AAA8AQABh2BQAegHA2BOB9BYhxhrBAA";
		var_s = var_s + "/hfg7hah4BCBrAxgABkAdAcK4BtgsAshdhZCSAVglgFgbASgeB3AQAPhNhIFJ2TBnhahchDBBh9gQBogABSAlhhBUgbBLANBvA+hbh+gAgWBzB5BXBWhFh/knAAAChpA";
		var_s = var_s + "kgiAggqAsAEhigrAkgmASAygKB/BVhVB7hTBNg3BNA2hQBOg4BAAAgiBhB1BIA8BMgCAxBxAGAbhBAJgJgHBnAkhyhQBjBhgmAoBBgwgaAPBghJgLgShogYAxAIAZAZA";
		var_s = var_s + "ghLBhhQAEgPAEAwgBAwhIgkBBBwhwAYBhhsBoBhhtAbAqArgrh8hehLBVAqA7grgXhPA+Bkglh+h6i4hfh7hehygvgMB9hPhEh9gXh/AKgihUhBh/A1hwA1gwAdh8ASg";
		var_s = var_s + "4AEB+ADh8AAB+AFh8AThHBxg7B4BmhFBZABAABjgbgwh2gBg4A8grArB/3UgDgQBfgzhpBzhpgUhOYogKBlBZB+ARgAA+NxgDhZgWBcgKg9BfgjBRhogngj4zBCg6AfA";
		var_s = var_s + "pAzBwB+OiBtA2AbA/hHqYg6ADBZBMBNgfgfAfBfByh4g8BUAiAkgyBMBAg4AcA+BsgyAZBGgRgFA/gbAIh/h6h2AMh/huheg9hbB6h6g6hJhA1zAc5RhhgN5TBLASB3g";
		var_s = var_s + "IXagQAMAGBdAghJhUAvhahohBAiBshzBzBTB4A9AzhTgDh9AOAZBjBfAPAOAeA2ZlBKAJB61xhBE+gmhKATiWhnBvhlhrAcgMghhGg2hBAQA4B85xBWBQBQXiBIAchoh";
		var_s = var_s + "khih/gN36hyBqhiDRgABQgoB0AJAKBvAbAkAxhlBzAVgVAVBJA2gbANg5gdAOAWBrh2gzAW6HBIiagwh9hRhiBTBGAVgAgNB3g5giB/grARBlA6B/gsBhhjaTB2A0AaB";
		var_s = var_s + "Qhahah6hWBVBVBlAUB+hNAEh2BVAtkNhSgFBxAAOjBOg2gxBhBTgnAzB9ADABAAh/BohRgjgzBPhrhVgaAaAagihWArSxA0gGhzB3gBhgAdhVPTgOhgA8gShjAsgcgjh";
		var_s = var_s + "UhcBdg+zcBshsgsgtgvAvAPA5hdguBWBUs1LxBbh7gsBahLhzBtjjBpg9AABDgjA6hVBtB0hygt7IAhAz7Jg3AkgkhEtvh5hYhRBhAhBzB6g9AsgwA3hng0AFgNB6hHB";
		var_s = var_s + "7hRBrgxAcBaAGVWhYgehXgjhLgcBvBththxhd7egugB7gBThoAzh57igHA5A3BYgsW8gshMgiAgBZgQh0AKghA3hLsfAGAwAWB0ARgagNBXhWBWAEB+7yBTga7zhpB6B";
		var_s = var_s + "qBKBmh0g6AZAxBdhuhnAvWAB6huA0BGhIhGBzuRgcgThpAZAABigYAUhThRhbcEgEBmgpgHgWcHgsAUh+g6B8AsBoA+B6gGgGgxBTB6hVA2h2ACZYAxhSAAhIASB0gng";
		var_s = var_s + "QAphyg0hf3pAJgrAMBwg4BZAYgVAihihKgVhzgMBhg/h9AAAqBRh0BbgTsbgHhwAbhFATANhNBMhMhYgwhlhihRAThT6WBahYh6AzhZgLBAA7h6ALhJgLBZBnhzhthAh";
		var_s = var_s + "AhGB7h7htOfA0hzh4gxhJgBg6hThzBlg4hchyBFc/AsA0hIBihGEnB8BQgvAkgBggAhAmBvBrgngNBGhTgTAThWg1B5gsgAhABRBTgZB+AYAZBxBMBMhPBbJ9BohlhIB";
		var_s = var_s + "/Awh+g/gOAAAuBhhBhUB2gXBSgagKgXgXAXAtA5AXAdBvhCBJBKgrgqBEAHhjBjhO7dBthhBGh7B7BaAdgAzWgxBthXBTACAoAuAuAOBBBxgXgpF2AFhEhtgHgDACg1A";
		var_s = var_s + "fARAiVxAHA4Af9zhc0CB3BOAoATApBWhCp0gJA+hTA7gnAxhWgEhqgEgQB+BzBweFANBGBahVgZB6oehXBwBrAphiAkBCAhhbB0AEBLA3guBfg/AtArgvgXhVGUhfBPh";
		var_s = var_s + "wBlHFBYhcBlh0AxAYgb6phyA0A3g3hPgAAEA9ACgpgqBNAPAPAWBuB1B1BVBUgNBbgvBUhvgPhqgdheBoBxgUAFgiAsAPgN8VhvhxBWg4ANhRBSA+hNB8AwASAjh+B8B";
		var_s = var_s + "8AcAMhMg3A0DThhgxhRgGBahxhggBApBEWFBmhS+/BBBhhwgIB4BgAYAJhJgOA2BDARgAhmF6A4gGB8Bo/Jgrg/Bfh/hXBnA8gOAEAWgZAUAIH8ApAshmA8Bjgcg5/Ug";
		var_s = var_s + "ehh/WB3gxhNhugiAaA7AcBFgcgRADhSBWAThPBzgyBPALgSAABHABBRhCA72hBpBpApA/4BBrgBhKBFgnBfAZgYA2grgMhWBAgkAChgBBBWhzBiBkh0BghxeEZdALg9i";
		var_s = var_s + "NBvbw7whhhvBbgwgIhygrBfgrBTA6AhgvhjAYg+haBAF4vH4cze70OQyenwMnkQoiQrzCFQA9SUXGy9CMMAuywARTOoQYIFaLgw9RErSKcCginiCw7MHqeDoXjsuW69i";
		var_s = var_s + "WxWKDgAjGAaQQvTiMBuN1ugSmcgaaDsOSyDjA/Tm2FEN2E33AMEwTlUtAACAgAVAM2yhh0O0gVFuJCQHnogCO4QonwkVR4ShoaiOHmq/iCPTwiQmuBmgXGjgqjh2RA2H";
		var_s = var_s + "CUfHoiES4gi7EgcyU/xymE4UwSNCU3EMVA2YikFCiSycVCIBBGR2CdGQUBU9wqWVswAUgRIwGwIlkBFmImECyGcEUL3SESm1HIOFS9kgxRQsQIJCosyAmQg8HIslA+RY";
		var_s = var_s + "OEI6EwtS2cHyiiYJHAlAC0iiAUmEzEiksmHUrWUKBqAoih0OMyAIAAKSQFwnRTAEmS9Mwa36GQOhhCc5BcA8gAcFAfTJCEOSiDEsSaNEuC0EMrjRD8XB4LYziiOIJgNA";
		var_s = var_s + "CNAAEkRROEQrhCGAgkBA";
		com_ExPictures.Add("pic1",COMVariant::createFromStr(var_s));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213)))); com_Event = var_Event;
		com_Event.Pictures("pic1");
	exschedule1.EndUpdate();
}
286
I need a border around each event/item on scheduler. Can you direct me to propery to use (to all)

// AddEvent event - Notifies your application once the a new event is added.
void onEvent_AddEvent(COM   _Ev)
{
	// Ev.BodyBackgroundExt = "[frame=RGB(0,0,0),framethick]"
	;
}

public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	exschedule1.StatusEventSize(0);
	exschedule1.DefaultEventPadding(-1/*exPaddingAll*/,4);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213)));
}
285
I need a border around each event/item on scheduler. Can you direct me to propery to use (distinct)

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	exschedule1.StatusEventSize(0);
	exschedule1.DefaultEventPadding(-1/*exPaddingAll*/,4);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)))); com_Event = var_Event;
		com_Event.BodyBackgroundExt("[frame=RGB(0,0,0),framethick]");
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213)))); com_Event = var_Event;
		com_Event.BodyBackgroundExt("[frame=RGB(128,128,128),framethick]");
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213)))); com_Event = var_Event;
		com_Event.BodyBackgroundExt("[frame=RGB(0,0,0),framethick]");
}
284
How can I change/specify the caption of the groups, when the user clicks the drop down button

public void init()
{
	COM com_Event,com_Events,com_Group,com_Group1,com_Groups;
	anytype var_Event,var_Events,var_Group,var_Group1,var_Groups;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
	exschedule1.DisplayGroupingButton(true);
	exschedule1.ShowGroupingEvents(true);
	var_Groups = exschedule1.Groups(); com_Groups = var_Groups;
		var_Group = com_Groups.Add(1,"Group A"); com_Group = var_Group;
			com_Group.Caption("<fgcolor=808080><c><b>Group A</b><c><br><font ;6>France, Romania, Albania and Switzerland");
			com_Group.Visible(true);
			com_Group.EventBackColor(WinApi::RGB2int(128,128,128));
		var_Group1 = com_Groups.Add(2,"Group B"); com_Group1 = var_Group1;
			com_Group1.Caption("<fgcolor=FF0000><c><b>Group B</b><c><br><font ;6>England, Russia, Wales and Slovakia");
			com_Group1.Visible(true);
			com_Group1.EventBackColor(WinApi::RGB2int(255,0,0));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213)))); com_Event = var_Event;
		com_Event.GroupID(1);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:30:00",213)))); com_Event = var_Event;
		com_Event.GroupID(2);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 11:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 13:30:00",213)))); com_Event = var_Event;
		com_Event.GroupID(1);
	exschedule1.EndUpdate();
}
283
Is it possible to hide the group header, but still display the groups/captions

public void init()
{
	COM com_Event,com_Events,com_Group,com_Group1,com_Groups;
	anytype var_Event,var_Events,var_Group,var_Group1,var_Groups;
	str var_s,var_s1;
	;

	super();

	exschedule1.BeginUpdate();
	var_s = "gCJKBOI4NBQaBQAhQNJJIIhShQAEEREAIA0ROZ6PT0hQKYZpIZDKBJkIgKByN5mNJsMsKPABVqXBI4KjrD7HL6GWKPJKiCIhMiySidKxbOzZZJWMLsGL2FqyLjZMonNa";
	var_s = var_s + "2CyiZDOUqsQqUEq0ZCNISFXDIFxzZ4hUrbdrefZ/fz3ZgzZ75Tz3XjvHZnZznPieb55AKgAqmRyOOzEhR7XirWaWQQMTa+QIhDbZOZAAoYUCPDAQG7FXI4JRrNCoIRdP";
	var_s = var_s + "yyFr0AYifDUKZ+PCufK4RReALLUbtdBHSrGTCCNKqT4MbRqUxxQx+CAAEQ2VCBbxqGaLYDZNgzFbCbLDarRCrqMYMM6cWqpHKUDqhZjnVijEoLcp0FCjVg2OYhTjN/QW";
	var_s = var_s + "k4bo4iseBsAcABIDoPA5g2HgADIkQfDCNxwkEQYnFmAIAB4OJHGcKAPioGRKFKdh2g6UB8iiZ5QkYQp3gKWhDlsWYmAARBcgCIAUniVpmiSA5AF3A4wG8P41nGWwDDAW";
	var_s = var_s + "4MAAIpSG+bRzBoGx3AeCJhh6C4ljCUJGnSRBUFKAIQA6EgIHMWBoHqYgAngHJDCALBmhCCAfHOARAScUBvAmc5zHYXxoguXQ8DEMIAH8dI8HmP4/AyQJAEAYAoHqRByE";
	var_s = var_s + "QGJiECBAzAkKIpBYNIcikAp8kcZhDn4EBChmUoMgqHIqhiWoIgaDImgyVQImaRw/F0EZGCcSw3DaM4Kn6GBBhwYYZDGZo3C+RgOAmNQnhYeYqgsTZenEVgSFYLo2Cydh";
	var_s = var_s + "Gg4OROF2HJjlydR7i+cJjDGFo8BgHgVl4Po+DufJRgcbQOlkCxyKuCJNAsdwIhSC4mgieYKkeHJWD0Ih8BQaYYkkMYppwTg0EsFhJC0SxEkgeodDSFpTheV5SDgLBIie";
	var_s = var_s + "RIigyVo5CeOpymoWhtEQfRACMR4zE2KxRnsV5dF2ehFCeC50G+GBkBiZgaCUGYnBySY+BsdIuEkJJJDSSRsjGeYqEWOhliYVYOHWDYbFuNhFmcS5siqbZrnGLYOh0DpP";
	var_s = var_s + "hyXo7D8d4ZHGXR1CcdRAnsMh7GELwIHiSx7CiXY0HYNZ1nOcoPg0SB+CWLwwGqUpbFAQJwEeEImlCVQwk4cJxAiFRIhMS4ulGYRRlmMQVDEHZxG8YxXhIaQSniLhIiaG";
	var_s = var_s + "wnDiJZGicZYnjeZw8D6OoSkWEIthwI4emudwtGwepNhuLQ3F8Zojm4bQrhALo0D0HZwCcJwoimeI0ASWR6CAJkJQORfAiFcLIXgahaiGCgMsKIpw8DPH8H4Pj2BhjrBM";
	var_s = var_s + "GQGYfxFjuEGIsB4rxbg+DSFsPAxBtChHoAQaYmRojVG0D0e6JALjVD2K0F4qxfjjGyPIRY/QXi1AOAILwFQGgOF8KYDwOgdBsHmCYcobRtjIHoGgZAmBgi7HgPcWoHxT";
	var_s = var_s + "AmCQCcVwTgDB+FYJgfQMAOj0F2PoZgkRMjeKQLkWATwdDzEkPMF4FxzAXDGJYfAlgPAuB+FkeIWxuizC0LkUwvQbD9ByHIDouxvBCBgCMCAvh4CXCMEgSA0BJDEH+Asf";
	var_s = var_s + "wMgfjhDeL0Ro/xkgvH4JMXA7RYjyAONgPAWhfjyCuBEcAFRSAWE4BIOwEAUgTCaIYfA4wSBUAcAsDowQOBFA4J0Hg9h2B4EmCQTYVBdB0FwIwU4rByjJGmHIRQ8gJAKB";
	var_s = var_s + "4IoZgShaDKAQOUIolQkjVBuGoSw6hugaFaJoeoWgajaDKDoO4dB5j0FcJ0Zw1Ang3CQDEdgNQnA6EmHgGw4QuCiCSAKFIXBgilEwGcLAZAtDmC0N0WgLhaApFiK0Hgfx";
	var_s = var_s + "niuGKP4GIvhrhhGgHEZgaRtB5GSBUcIhg5BnHkOAeQFB5A6DiEEao2xoDHH0KIQ4bxYBfFEP8RogB5BfA8AQHwvwqAZBIBURgCgwgPAqAkKYCgfgTHCBwDIegcgjFUDQ";
	var_s = var_s + "XQPQzA4DsCkDwnRABNAwE8OgTw5C6AkJEPgPRSg+DqCANoMRBjuHUKEJglQWDrHYOATg3BuDGDWEMa4CQbj3HMB0Z4Pw5jLFuCAWYsB/D2DgBEUQmB1iuDEMkfI0hUCy";
	var_s = var_s + "EkPIfwihKgqGsGobIGhNhfFGGoZY6gDDuGWDceANA1A2DyDUM4txaA/EwG0bo0wTDXEcH8Sg/BcD2GSHQC4pgtiuGOOkNIRg3hbG+MIGYjhzgaBeHwL4FgHAMAYFIfgJ";
	var_s = var_s + "h4nJBQGkfAwRNiFAiO4KIlhoiKFiOoO4EwPiYGONUE4RATg6BOMcUwEApgZGmP4X4lxnjYGaLIZg7RNirH6FQG47xZCAC6OQLK5B1BYF8LgOQZAqh0FqGcBo/xMhpE6H";
	var_s = var_s + "sXomQwBKCwIcfA6w/DxA+IURAIxwgmBSCMKoJgOhFD0JMeIkQdhREwFAEQKRFioAYKkJIqQlhpBYFEPYUQui0GCGgFI9BlCOAUDoS4nRhA7HOOkFYdguhgEgGYUgZB2D";
	var_s = var_s + "eE6IIYIMQEgyAiPYHgYgnBlFiNsPYghKiODqISfddhPgVEOCQE4hg5iWHWPEfwfB3BgFYPkAIWQPAOC8BIb1MwrD+QsNEQ43ACAMAKGUQgsBhBoHCGUSNrxBBoEqNgGo";
	var_s = var_s + "8QMAJF+MMOwRxGCOFUBwHYdhODvDwMEBILgk21AKKkOI6RrgyD6LIDoJxNjkDUOQF4yAXgoC4FMXgqhKCiE4KACQow9D5CoJgLQiA9CwEMLUYwOxmhAFaEAdoSwdBBF0";
	var_s = var_s + "CEPQEWWDrGOBoEgGhTAaDyBsPoNgXA4CmHIWw+guCDCSJsNIjxsgADcNQPg2hxC2FKLACo2hNDFEMMcKw/BeCcE6LYXoGRvDJGCN8GIxgUjYAyOUbg6BpDrB0OYWw5Ag";
	var_s = var_s + "jtGSOoEofAgjRG2NgY4+RRCfBeKUN4qQvi7H+HAYAchwCOCWAcQQZBBFiG4EIUYww3CFFuEQSgRAlBdDMIwCQiRrCMGCMcIwxhuiKDeE0PAlxCC8GFZQS4YhIgaEkJYS";
	var_s = var_s + "43hLAxE8EkTodQUBbBWMcHoNxy0lHqOETYyAeDeD4I0AQlRhD0G2E0O4PgKCjHeEoSgmBKCGEsBUS4vxUA8C6M0K4ox7irD+O0VouhfD7FUA33I+gmiXE0IsLY1gtipG";
	var_s = var_s + "0CQbQLQPjFDuDQHw2RtjFGsK0bw4x9j0CcO8N4/RtBnhSgvAcBehmAOh0ANgiAhAnhih8gwh1gbhugRhSBRhDhjh2Bvgyhfh3gPhThOBIBOA6B9gsAYAah+BdhlBWBtA";
	var_s = var_s + "uBoBThtB8gnhFheAlhcByh6BKhvAahNBnh5B1gJB1g+hCAsgAAbB1gOguAJhIAoAmhFBvqzACABh0BlgFggA6CaBvBQA7BDEHAaA0AABoAcgGBEACg5AAgYgZgLAIBKg";
	var_s = var_s + "FBBhWh9AggCAIBoBNgAANA9AJhwABBxBwAKAYAAALCJu9ADAYAFBLExBEAiBEgmBEgxBEANBENbhmgJh5gJBNgJgzgJBfgRAvAhpKhnAQg5AIpkARASA/ASKGAPBJhZB";
	var_s = var_s + "IAdBJAbARh7n4BIhshkAnAZDVgkBZAUg5AWh5AVB5AEgFAbBFA4BFACglA5hlAfAVAChVAtBVAig1AQh1ABBNB+gaAcgUA7AqAbAWgTg2gfB2gSB9AIBdA1BDh2BHAnB";
	var_s = var_s + "dAZg6Apgdh+h0g7lCBoAXh3BJBugahkBwBihkBkAsBYgtg/h7gNATBNgkhIgUhBg0gzI6BZgJRJglhvAvARgrAtBrALBbBFh2BxB2BZh9hFAcgOAcAdAcgCgcBzhcAVB";
	var_s = var_s + "7h9g5BlgxhohsArgDh5A8heA8BKh8hMB8gzB8APgPBmAdByAShQAVgUAWMMAaAThuATgpAWhNASgLARB3ASAwg+AsEwhiAoimBTBxhUAJhEAJhVhJBPhSBTBSBjgyhvB";
	var_s = var_s + "PlWAbgUgfhRhYBUAkAoBTAoBQgrgygfyhgTBShXBSgwhUh0hWgKhTguhQBphRAdhWAjhoBvg1gQA0g0A1AKACAehLgegzgrgmhcAmBahmB+A4AihzAhhLA6ArAFBrAfA";
	var_s = var_s + "bAyhbAPh2hYB7BzB8AOBDgwhTg+hnALAXB8hXBph3AxAPA/BPA2gLg7A8hxg+AlAXANB9ARB+A6B+h5gBgEBAg9BLhFBBAUghAWAhANhhhsgRgBARBvgjAUgiALhjBpB";
	var_s = var_s + "ig8hjhHgSA1ASBqgvA4gkhzAmgkglhRgnB7hlh8BKA0hNgxhMBtg7guh5gjAzhPAtB/BJgBBmhhBvAdhDAighg7g2glAzBlg+AVhUAVAphVAHhqURAGhvh7g0AgAahvA";
	var_s = var_s + "2FigMg2BhhaBrg6AMAegTA6AVi5B6BlgehNgMgoA9gigMAZA/hBgMgGg+hfgbAvAegSgbApgegXhZhqBagzBYgogfgwB/Cwg7hgh/hDA/gTg5B+gNh/gXh6B8hbh8B/h";
	var_s = var_s + "EhfASg2h/BHh6BfhZBbhuAjB/g9h7BbBth0h/gbh2Ayh/hAh+h/gnh/Ajh3AwgnA/gigPBzBPBVBegigfA1h8BPhshr1HgNhvAxB/hoBdgGgBhZh3sUhMh0gmh1hLg9h";
	var_s = var_s + "IgchQB7BthugQh5hbgugth6BTgLi/ALBkocoPgCA/BQBfhmh+hXhzA/hzh+g7B1hbgch/heh4gvhEg3hsBfBOgbA2B9ArhrANhPTSKXAMg7A+Bhh4AfgZh/AVhdg/hzB";
	var_s = var_s + "7BTBsgfh5B+gdhZh/g7oQBogSh/BMrPhUhYBshvheBfA9AThph7ANhvhNgog/hZBNg/hdhvgIAxhjB2hHBhhOBtg1gPBCg3hZBDAmhDg0gfhNhAg8xMhgBiBvkig7BGg";
	var_s = var_s + "KBHBDBfBJhDBWhPg6BPxKAvBOBUhPB5hMhLhAh0mXBXAFhhB/A3hXBIhwB9AAgUBKg4AHA8AMgdgDhuB8hGghhcACgUAAgOA4AAA8AQABh2BQAegHA2BOB9BYhxhrBAA";
	var_s = var_s + "/hfg7hah4BCBrAxgABkAdAcK4BtgsAshdhZCSAVglgFgbASgeB3AQAPhNhIFJ2TBnhahchDBBh9gQBogABSAlhhBUgbBLANBvA+hbh+gAgWBzB5BXBWhFh/knAAACB5g";
	var_s = var_s + "kgiAggqAsAEhigrglg0ASAqgKBWgng7hSg9gdBPyphph0gQgeoOgyBNBMBIBMBnhjBsgEBJgMACAIgSBhAQAzAwg7BXA6A4BKgUBHB8Agg4BJgIgBA3ASAQAFAIhkhhA";
	var_s = var_s + "EA/ABRgBIhQAFgTgQhFARAEgsgkhngmAMAdhJh6A3gdBUhXBHhzhaB5hFB1HEgNgasJAOB1Bq3OB3Aeh3vth3A9gSgkh/g5hJ01A/hthbB9hQB/gCB4DPgCA9BAAeBYA";
	var_s = var_s + "Gh2AAhvgBAvhkBZBOBiB5gsB2gsACBwB8AFBWBegGA6AOLkgvgiBvAABIhvh/AnAvhUhShIBmgzBRhLAyg+gDABB3gBgOhAA6AmAuBDBvA7hTA0hfAagfgfhXhrB5A4g";
	var_s = var_s + "yACAHAHgHhdh+A/B/gTh8AcAvBlhgOnhfBngyAZK2A4BMAlgqBohVAJAUAKAFALgaAmgthBA7AlhigLh/ghBAA0LxBchch8g6A7g7hbh3B+heBBBgB3B3A3ARhtBLgsB";
	var_s = var_s + "fgXBXh5A/g+B/hqBzh5heh0BagohIgBg4B/ApAatAg6BdBBBWBrhMA8AbgGAhhlByg5AvB+gzhFhihxBxghAjgeBlgEByB5h8g5gMA8BQgtBRAGh6B7gjgTZzANArArg";
	var_s = var_s + "rh+hquoAlhSgpB5B6B6A6BYBb57g858hcghAHhbAvhWhMhKAkBeKBguh/hRgNAjAjgjh6h0BshZg7AWALBZhD6KvyAtgtg7husuhJhJh7gYAzAihRhohJBnBtBGgNg9h";
	var_s = var_s + "3A4hogfgcAcA8ApBmBPBnhZAEAwALBngwBtp5gYAZgZhJg9h6BpBSgxA1g1hVga6XgsA2A3g3wIA9AR6pA9ARBIgYBnhjhxgTBRBIB2h3B0gYhuBxhRAHhPgnhciZh1g";
	var_s = var_s + "CAzAEgGBWBdADgPgoA/gXgIAEAuAKBbA+hRBBhRBohSgUAygAgIghgTh+hGAYBrghBQhoA2gNA7AEAQB5hxgmBSBpg0B4AJhChPg5ABAIBUBTgi4jAHBEBEgdAIhAB5h";
	var_s = var_s + "hA0gIggAhB5ACAWgahDgABFBjh3hThKABgJB5B2gzAagBBfhwB4AIh5BFAThbhohjBjBDT3BIgXgSgoBEhtgkAyAHARhkAtBoBrBrAzAqgMBcAXhgBbgkh7hghyAiBQB";
	var_s = var_s + "ShSgShEgphFhzh7hIgzhgB2B2A2A4A0g0hUgXAMAGAlA6hNATB8k5gAgMgdBjBWB0BuBOBfA/AegBgBAjh8hTh3BZA9hoBUgBgKBRBvAvgChhhrhuAFBvA/AZBMgqB7B";
	var_s = var_s + "7h7hKh2h2g2gPg1A9hEgkANgOAjhhAwh9gxARAwg8B6heh3gQAdPFgiA/beAZABAd8lgQgKBEgPggBBAzhhBEgbhnAPBwg/hnA2hcBWB5AQBCA8gUBehjhIAfAABMAkB";
	var_s = var_s + "6BbhuhnBsgXgRggAAhhB5j+A/qYgEhbhrkOgqBuAIhVhuhrgyBuAuBLAdolAXBBggAGAyNFAABCgnhRALBUh9gdAFB6AOguhlAYB5hHhIByB3grB9hrAlhAAHBKBChCg";
	var_s = var_s + "CgNB8BdBf9XgngqhqhDgkAAAoAw7ShThwhsBrBoB7hRgvgBByg+AjhBBUgABkgJAuAjAMhEh+gggeAPA/gJg7BOhuh1ATBxBOgIvMAthpgv9wcYg1A1AFBnhmhmguh27";
	var_s = var_s + "7ZQhiAGcchkgIgOhcBGhYBXgUBZbABVc5gTB1BEgAhJBUha+BB0h4+Chng4hjgyBygd7agAA1hCAQUPgRg8A7hNAQBQBwhaAFBQh0BCB4g4h1hoeRBhgp+Shnhxi8hhg";
	var_s = var_s + "ygagABrAZAWBcBkgtgQA0Ahr4gkhLgvdwB/hzBtBagrgfBfA6h1hnAmguAiA8ANgLACA8AUgagOg3h0d5iBgBBCBjbIhWAGgYANAggsBthwBQAOzogx+yBHr+AGAuA0A";
	var_s = var_s + "0A2AGBPZoBnBAAwAIgnB5hcBmB3BWhWBWB+BdBcBcB8AZhsU6hxBuBgh7g7gwgVgBhuABiEh1giAmgBASAiABBWBkhAgZg0AEA1BRhQgNAwhyAgAMA0hsAxBNg7BsAbB";
	var_s = var_s + "mgQBxAUJZB1hQgMBZAVAPrchOBYgyg8gPg0hYA3gUAzAtBpB6gaB2Qvhhg/gEBoA8gshMg7AlAYgDBsBcAbACAKg6hWCthtqBAAhXgvhDgsA9hDAZAygthLADAVgSAkh";
	var_s = var_s + "hBsANBLAAhZgdBTArhAAQBDgTh6gEBnBNBHAVhrAPBAFkUnmLgChRECkYhG03G4rBi83imysh3uoBMaTqulIkxwIyAHSCmCcCGclnAegWGTOzSSUVurCrHwKymKmBA5E";
	var_s = var_s + "eSAivxCGV8rEopTmNwCOnA+mkIQ6sSeiEQlkKHTkp36CVC7BWPDcJ3SmgBYAASSKTiIriEYEFAQ=";
	exschedule1.HTMLPicture("pic1",COMVariant::createFromStr(var_s));
	var_s1 = "gCJKBOI4NBQaBQAhQNJJIIhShQAEEREAIA0ROZ6PT0hQKYZpIZDKBJkIgKByN5mNJsMsKPABVqXBI4KjrD7HL6GWKPJKiCIhMiySidKxbOzZZJWMLsGL2FqyLjZMonNa";
	var_s1 = var_s1 + "2CyiZDOUqsQqUEq0ZCNISFXDIFxzZ4hUrbdrefZ/fz3ZgzZ75Tz3XjvHZnZznPieb55AKgAqmRyOOzEhR7XirWaWQQMTa+QIhDbZOZAAoYUCPDAQG7FXI4JRrNCoIRdP";
	var_s1 = var_s1 + "yyFr0AYifDUKZ+PCufK4RReALLUbtdBHSrGTCCNKqT4MbRqUxxQx+CAAEQ2VCBbxqGaLYDZNgzFbCbLDarRCrqMYMM6cWqpHKUDqhZjnVijEoLcp0FCjVg2OYhTjN/QW";
	var_s1 = var_s1 + "k4bo4iseBsAcABIDoPA5g2HgADIkQfDCNxwkEQYnFmAIAB4OJHGcKAPioGRKFKdh2g6UB8iiZ5QkYQp3gKWhDlsWYmAARBcgCIAUniVpmiSA5AF3A4wG8P41nGWwDDAW";
	var_s1 = var_s1 + "4MAAIpSG+bRzBoGx3AeCJhh6C4ljCUJGnSRBUFKAIQA6EgIHMWBoHqYgAngHJDCALBmhCCAfHOARAScUBvAmc5zHYXxoguXQ8DEMIAH8dI8HmP4/AyQJAEAYAoHqRByE";
	var_s1 = var_s1 + "QGJiECBAzAkKIpBYNIcikAp8kcZhDn4EBChmUoMgqHIqhiWoIgaDImgyVQImaRw/F0EZGCcSw3DaM4Kn6GBBhwYYZDGZo3C+RgOAmNQnhYeYqgsTZenEVgSFYLo2Cydh";
	var_s1 = var_s1 + "Gg4OROF2HJjlydR7i+cJjDGFo8BgHgVl4Po+DufJRgcbQOlkCxyKuCJNAsdwIhSC4mgieYKkeHJWD0Ih8BQaYYkkMYppwTg0EsFhJC0SxEkgeodDSFpTheV5SDgLBIie";
	var_s1 = var_s1 + "RIigyVo5CeOpymoWhtEQfRACMR4zE2KxRnsV5dF2ehFCeC50G+GBkBiZgaCUGYnBySY+BsdIuEkJJJDSSRsjGeYqEWOhliYVYOHWDYbFuNhFmcS5siqbZrnGLYOh0DpP";
	var_s1 = var_s1 + "hyXo7D8d4ZHGXR1CcdRAnsMh7GELwIHiSx7CiXY0HYNZ1nOcoPg0SB+CWLwwGqUpbFAQJwEeEImlCVQwk4cJxAiFRIhMS4ulGYRRlmMQVDEHZxG8YxXhIaQSniLhIiaG";
	var_s1 = var_s1 + "wnDiJZGicZYnjeZw8D6OoSkWEIthwI4emudwtGwepNhuLQ3F8Zojm4bQrhALo0D0HZwCcJwoimeI0ASWR6CAJkJQORfAiFcLIXgahaiGCgMsKIpw8DPH8H4Pj2BhjrBM";
	var_s1 = var_s1 + "GQGYfxFjuEGIsB4rxbg+DSFsPAxBtChHoAQaYmRojVG0D0e6JALjVD2K0F4qxfjjGyPIRY/QXi1AOAILwFQGgOF8KYDwOgdBsHmCYcobRtjIHoGgZAmBgi7HgPcWoHxT";
	var_s1 = var_s1 + "AmCQCcVwTgDB+FYJgfQMAOj0F2PoZgkRMjeKQLkWATwdDzEkPMF4FxzAXDGJYfAlgPAuB+FkeIWxuizC0LkUwvQbD9ByHIDouxvBCBgCMCAvh4CXCMEgSA0BJDEH+Asf";
	var_s1 = var_s1 + "wMgfjhDeL0Ro/xkgvH4JMXA7RYjyAONgPAWhfjyCuBEcAFRSAWE4BIOwEAUgTCaIYfA4wSBUAcAsDowQOBFA4J0Hg9h2B4EmCQTYVBdB0FwIwU4rByjJGmHIRQ8gJAKB";
	var_s1 = var_s1 + "4IoZgShaDKAQOUIolQkjVBuGoSw6hugaFaJoeoWgajaDKDoO4dB5j0FcJ0Zw1Ang3CQDEdgNQnA6EmHgGw4QuCiCSAKFIXBgilEwGcLAZAtDmC0N0WgLhaApFiK0Hgfx";
	var_s1 = var_s1 + "niuGKP4GIvhrhhGgHEZgaRtB5GSBUcIhg5BnHkOAeQFB5A6DiEEao2xoDHH0KIQ4bxYBfFEP8RogB5BfA8AQHwvwqAZBIBURgCgwgPAqAkKYCgfgTHCBwDIegcgjFUDQ";
	var_s1 = var_s1 + "XQPQzA4DsCkDwnRABNAwE8OgTw5C6AkJEPgPRSg+DqCANoMRBjuHUKEJglQWDrHYOATg3BuDGDWEMa4CQbj3HMB0Z4Pw5jLFuCAWYsB/D2DgBEUQmB1iuDEMkfI0hUCy";
	var_s1 = var_s1 + "EkPIfwihKgqGsGobIGhNhfFGGoZY6gDDuGWDceANA1A2DyDUM4txaA/EwG0bo0wTDXEcH8Sg/BcD2GSHQC4pgtiuGOOkNIRg3hbG+MIGYjhzgaBeHwL4FgHAMAYFIfgJ";
	var_s1 = var_s1 + "h4nJBQGkfAwRNiFAiO4KIlhoiKFiOoO4EwPiYGONUE4RATg6BOMcUwEApgZGmP4X4lxnjYGaLIZg7RNirH6FQG47xZCAC6OQLK5B1BYF8LgOQZAqh0FqGcBo/xMhpE6H";
	var_s1 = var_s1 + "sXomQwBKCwIcfA6w/DxA+IURAIxwgmBSCMKoJgOhFD0JMeIkQdhREwFAEQKRFioAYKkJIqQlhpBYFEPYUQui0GCGgFI9BlCOAUDoS4nRhA7HOOkFYdguhgEgGYUgZB2D";
	var_s1 = var_s1 + "eE6IIYIMQEgyAiPYHgYgnBlFiNsPYghKiODqISfddhPgVEOCQE4hg5iWHWPEfwfB3BgFYPkAIWQPAOC8BIb1MwrD+QsNEQ43ACAMAKGUQgsBhBoHCGUSNrxBBoEqNgGo";
	var_s1 = var_s1 + "8QMAJF+MMOwRxGCOFUBwHYdhODvDwMEBILgk21AKKkOI6RrgyD6LIDoJxNjkDUOQF4yAXgoC4FMXgqhKCiE4KACQow9D5CoJgLQiA9CwEMLUYwOxmhAFaEAdoSwdBBF0";
	var_s1 = var_s1 + "CEPQEWWDrGOBoEgGhTAaDyBsPoNgXA4CmHIWw+guCDCSJsNIjxsgADcNQPg2hxC2FKLACo2hNDFEMMcKw/BeCcE6LYXoGRvDJGCN8GIxgUjYAyOUbg6BpDrB0OYWw5Ag";
	var_s1 = var_s1 + "jtGSOoEofAgjRG2NgY4+RRCfBeKUN4qQvi7H+HAYAchwCOCWAcQQZBBFiG4EIUYww3CFFuEQSgRAlBdDMIwCQiRrCMGCMcIwxhuiKDeE0PAlxCC8GFZQS4YhIgaEkJYS";
	var_s1 = var_s1 + "43hLAxE8EkTodQUBbBWMcHoNxy0lHqOETYyAeDeD4I0AQlRhD0G2E0O4PgKCjHeEoSgmBKCGEsBUS4vxUA8C6M0K4ox7irD+O0VouhfD7FUA33I+gmiXE0IsLY1gtipG";
	var_s1 = var_s1 + "0CQbQLQPjFDuDQHw2RtjFGsK0bw4x9j0CcO8N4/RtBnhSgvAcBehmAOh0ANgiAhAnhih8gwh1gbhugRhSBRhDhjh2Bvgyhfh3gPhThOBIBOA6B9gsAYAah+BdhlBWBtA";
	var_s1 = var_s1 + "uBoBThtB8gnhFheAlhcByh6BKhvAahNBnh5B1gJB1g+hCAsgAAbB1gOguAJhIAoAmhFBvqzACABh0BlgFggA6CaBvBQA7BDEHAaA0AABoAcgGBEACg5AAgYgZgLAIBKg";
	var_s1 = var_s1 + "FBBhWh9AggCAIBoBNgAANA9AJhwABBxBwAKAYAAALCJu9ADAYAFBLExBEAiBEgmBEgxBEANBENbhmgJh5gJBNgJgzgJBfgRAvAhpKhnAQg5AIpkARASA/ASKGAPBJhZB";
	var_s1 = var_s1 + "IAdBJAbARh7n4BIhshkAnAZDVgkBZAUg5AWh5AVB5AEgFAbBFA4BFACglA5hlAfAVAChVAtBVAig1AQh1ABBNB+gaAcgUA7AqAbAWgTg2gfB2gSB9AIBdA1BDh2BHAnB";
	var_s1 = var_s1 + "dAZg6Apgdh+h0g7lCBoAXh3BJBugahkBwBihkBkAsBYgtg/h7gNATBNgkhIgUhBg0gzI6BZgJRJglhvAvARgrAtBrALBbBFh2BxB2BZh9hFAcgOAcAdAcgCgcBzhcAVB";
	var_s1 = var_s1 + "7h9g5BlgxhohsArgDh5A8heA8BKh8hMB8gzB8APgPBmAdByAShQAVgUAWMMAaAThuATgpAWhNASgLARB3ASAwg+AsEwhiAoimBTBxhUAJhEAJhVhJBPhSBTBSBjgyhvB";
	var_s1 = var_s1 + "PlWAbgUgfhRhYBUAkAoBTAoBQgrgygfyhgTBShXBSgwhUh0hWgKhTguhQBphRAdhWAjhoBvg1gQA0g0A1AKACAehLgegzgrgmhcAmBahmB+A4AihzAhhLA6ArAFBrAfA";
	var_s1 = var_s1 + "bAyhbAPh2hYB7BzB8AOBDgwhTg+hnALAXB8hXBph3AxAPA/BPA2gLg7A8hxg+AlAXANB9ARB+A6B+h5gBgEBAg9BLhFBBAUghAWAhANhhhsgRgBARBvgjAUgiALhjBpB";
	var_s1 = var_s1 + "ig8hjhHgSA1ASBqgvA4gkhzAmgkglhRgnB7hlh8BKA0hNgxhMBtg7guh5gjAzhPAtB/BJgBBmhhBvAdhDAighg7g2glAzBlg+AVhUAVAphVAHhqURAGhvh7g0AgAahvA";
	var_s1 = var_s1 + "2FigMg2BhhaBrg6AMAegTA6AVi5B6BlgehNgMgoA9gigMAZA/hBgMgGg+hfgbAvAegSgbApgegXhZhqBagzBYgogfgwB/Cwg7hgh/hDA/gTg5B+gNh/gXh6B8hbh8B/h";
	var_s1 = var_s1 + "EhfASg2h/BHh6BfhZBbhuAjB/g9h7BbBth0h/gbh2Ayh/hAh+h/gnh/Ajh3AwgnA/gigPBzBPBVBegigfA1h8BPhshr1HgNhvAxB/hoBdgGgBhZh3sUhMh0gmh1hLg9h";
	var_s1 = var_s1 + "IgchQB7BthugQh5hbgugth6BTgLi/ALBkocoPgCA/BQBfhmh+hXhzA/hzh+g7B1hbgch/heh4gvhEg3hsBfBOgbA2B9ArhrANhPTSKXAMg7A+Bhh4AfgZh/AVhdg/hzB";
	var_s1 = var_s1 + "7BTBsgfh5B+gdhZh/g7oQBogSh/BMrPhUhYBshvheBfA9AThph7ANhvhNgog/hZBNg/hdhvgIAxhjB2hHBhhOBtg1gPBCg3hZBDAmhDg0gfhNhAg8xMhgBiBvkig7BGg";
	var_s1 = var_s1 + "KBHBDBfBJhDBWhPg6BPxKAvBOBUhPB5hMhLhAh0mXBXAFhhB/A3hXBIhwB9AAgUBKg4AHA8AMgdgDhuB8hGghhcACgUAAgOA4AAA8AQABh2BQAegHA2BOB9BYhxhrBAA";
	var_s1 = var_s1 + "/hfg7hah4BCBrAxgABkAdAcK4BtgsAshdhZCSAVglgFgbASgeB3AQAPhNhIFJ2TBnhahchDBBh9gQBogABSAlhhBUgbBLANBvA+hbh+gAgWBzB5BXBWhFh/knAAADBng";
	var_s1 = var_s1 + "kgiAggqAsAEhiiig2AqUgBPA5hnB3Bshug3A9g7BbhthqALPBglN0gCgUoQh4AQAIgAgVgTAhBEAIBYACBIhEB4hggoASBiBKBsBJARRDhwBkgMABBrAQADA+AUAlAmh";
	var_s1 = var_s1 + "GBJBaAVALghgSgaA2gpApgpgEgigEBehTBAhLB2g7Bdhdgzhnhih3gvg9AbA9gWhUAHgnB5BPhMgZh5hnh/g/h5hvgzAMB9hPgNh7gnh6h1vtAIA9hVAggVggAbAoWrg";
	var_s1 = var_s1 + "AB1ABhGhBg/AAg+hng4huAAB9BjhbATiLhihNgQB2gegoBkgxrEgxAQAQBGgABpAdgJgfgfhpgRBWh8h+tWgmhpgXAABgAzuAYRAhAtAEhfBVhVBVA/BsLNAWAyBpAZh";
	var_s1 = var_s1 + "RgChhBwg4BUjtB/LiAehMgCAeBwg+B9hiY9g7BThpgkgXAlA0AMgAgCBBhghshRAUBbBBBthOhYBxgvh/BgANAOgbg3hvAuAvgvAvAXBjhFgkB1hBADgHgPAkATBJh0g";
	var_s1 = var_s1 + "WAbBcgzgZA75YBbhUhWBaBqBegxhjgHAEg9hcBMg8BQg6V8h1gegPBXhOBjA0gAgkX2AFhggphNBmBOB+ZSgDBxBdAdAdhihWgagahXBdg7h3gzB6B6h6BvBmhIgkAyA";
	var_s1 = var_s1 + "6uihKAGhAggBQAoAIBCBJgwAZBigZhTANhz5+A1hs5/g9A3g3hXhEAgBygXAuhdAyAshaA0AohiX/A1h0h8BThzheAFgLAWAcA9h/B+A8hOh/ApgxAABAh7gIgHB6g7B";
	var_s1 = var_s1 + "eBABghggghfBWhWgmgCAYADBrgYAJg9AAhehgB5hGBj6KBbAbA1g/21gEgQBMBs40AHgOAeB0AV6oAphxAyhiBHhghbhuoEB/AgA5gUgAAhBQhoBPhMBHgCgPBpBEAqg";
	var_s1 = var_s1 + "qAqBcBIg9guArArALAZgEABBMBqlEAzAohGQ8gAgjACgASQq7hNAvBvhoBwBhhfAmAQBfKYg7gEAgBBAFhQBuBFhcg7g0s6gSMxhhAageBgB4BEAHgjBKBJhOhmh2A7V";
	var_s1 = var_s1 + "4jtBGAuAogcA1hLAlAQKehwBFhdBxgshXgrgUgUAUAkBzhHBhAhhDgHA+glAdAJAWAAASh1hQh4A5ghg8g5Bvg7h1hLB0h0BohRhJBVAUAeAshgApgqBSBeBbA4gxhQB";
	var_s1 = var_s1 + "SBSASAxB4A7A6A6AsBnBOAfBOgegbAbOoYxAb5uBGgkgHAjhqBvgDAHh64bAOAHAYQPACh4BegTgpgVA68JhMh7h3hvh3hABKg8BqADvRBLhThqh3BvB2hBgICDA5hHA";
	var_s1 = var_s1 + "PgdhzA2Bcg4BggHBZhlhdh7h2B4whAoBDgagIA2BbAGAZB5gEgkABAAB+AFh0hMAXgvhfZVhqBrglglASBhAQhkAMBVARg9hUhdA9AVARBlhuBkgJgTgOAe8zBLBwhQg";
	var_s1 = var_s1 + "Qhp7dhXhtBfTJBJBFBFhFhKhyhlhLhDgUAfBkARB0gyBhBpBrAKAAAwAGATAZhb9FBNhQgeFVgNBGhDgjhchnhzBmBMgJh0h1h1gZgngmgmhigHAAgFhZBthMAhhshyg";
	var_s1 = var_s1 + "EgCAygFnlB7AoBIAjgbg0BRACgKAihchLgGAwAvguguhHBGBJgzDtB9BzAWgtgBBwAwgiBJhAgAAyhChTAQglg0AHgfASAXhNBTAkArtGhLAAApgtATBlhSA/gAAMASB";
	var_s1 = var_s1 + "/AMA9B9HUhPAyBzBzgrhWBIYwhVByBhgjhHB8ArBXgsgJgRAqhEABhrA4hxhDAygXBBBXheBRARAGAwgmBBgoBZBgBVh1hrAmgtAWALBO8sBkh5BnBPgPgkhLAEgqgBh";
	var_s1 = var_s1 + "jBihKAoB2goBgklgfBdBfgxgyhcBYhYg4hJBgAMg2hkhJAShwg1hrhXAsgog+A2VGBHhZA6htgbB/hOgdg7hBARhhhhgTBqB9BEAVgbgrh+hTBchsg/AHhCgUgBAlheh";
	var_s1 = var_s1 + "cA1AqhkBsA1iOBqPEgJhpBIATA+gfAvgWgnApA3gYASB725he22BXgJh3gCAggiAQhVBWBWBKAog/ByhBBhAhA61gAvggBmAiBVgRLNgYAPhvAqgth1gnhLAAhFmbhcg";
	var_s1 = var_s1 + "uBugaBPgBAwAyAyBiBHAOB/gGgQAFBJgbgNB/hR/fB+BjhDgHglghhETkgkgIgsgggyhNAuAgBXAgBbBYAygqgqhQhbg7B3BOBSB6h8AjBThDh8gvgbhzCIBoBhB8f0h";
	var_s1 = var_s1 + "NgIB7BEhghKBXBThdEpDkheg/B+hdB8Brh2htgzBVBAEADiS0kU52cjV4vDsbRgwy6gA0pl5EQke1MpQKMAa4iWgDwJU68n+MHuAScfxUfj+wi6EFuwHC5Wkhgkuwkc4";
	var_s1 = var_s1 + "0G2qeE8elEOF8lHCNAeTwsMTwqWOyWeIGQjxIbyQB0AFHgLayJHARwI0iE+HuGQEAAlT0IR0KiDWW2I2EYcUoaE8/giYAEiGAEiijXAEGwpx4HmeAWQNXcBFGTwaQikD";
	var_s1 = var_s1 + "lE9Bo41iYTuOA4zjnB2qzk2NzeEy4YkGwlQIikAE8hGM805rEEAmAKmUtQEkHuO9yj2u1GofEONxMVR8SiSulw6EMjEESDOTgGgEQi2MjjU5mI5l4pSWl0s1e+vUCXC+";
	var_s1 = var_s1 + "iGQtjEIwOCXi+xqAGowVeoQU+jgeX63GgsHeq1CoTREEpAkL0hgNAA9AoFUQTRBYLzAJgIwAEQIhZAAZjNIEUAXMw+gUBQPCNHE0YFBsKgXC8Xg8DsRySGwhQFAWFQYI";
	var_s1 = var_s1 + "E0gAB4pjjFcrhcPk4ziMUiy/AMzQwAIZwUPsxwgGsAg0AUCiCOgkQyhEAhFAAzAgCs6h9BYjAqCkgjiEQDA4BEhhuF01SdLoqjaGARwjIY4APF44QEC4JBwNwhDOHEDw";
	var_s1 = var_s1 + "RAYDwVF49QxFk9hBA4KQnPMh4BDw9hIEkKDFFgoBGL4IQiEYGS+OQZBdKYLDAIsSwLMM9xkMo+y4OsRRICEkAEBgqShCkEArOMeBBEwTCiCcPgiDoNQpE48A9P4owtJ0";
	var_s1 = var_s1 + "CxoMEsACFkQjIM0zQVCk8hRH4LT4LcoT2FkZAmBMeCyAA8QYIASQJBEnSWIg/BtMw0SpOkUDEBsayZAAEADK0GTrAYICzIsuTMLgkBNH45gnOU8QAEgAT5JcFCSCIGgT";
	var_s1 = var_s1 + "BkFiNJkHRzLE9g3CA5QJAk0CGBF7gAywSRFE4RCuEIYCCQE=";
	exschedule1.HTMLPicture("pic2",COMVariant::createFromStr(var_s1));
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
	exschedule1.DisplayGroupingButton(true);
	exschedule1.ShowGroupingEvents(true);
	var_Groups = exschedule1.Groups(); com_Groups = var_Groups;
		var_Group = com_Groups.Add(1,"<c><b>Group</b><br><c><img>pic1</img>"); com_Group = var_Group;
			com_Group.Visible(true);
			com_Group.EventBackColor(WinApi::RGB2int(128,128,128));
		var_Group1 = com_Groups.Add(2,"<c><b>Group</b><br><c><img>pic2</img>"); com_Group1 = var_Group1;
			com_Group1.Visible(true);
			com_Group1.EventBackColor(WinApi::RGB2int(255,0,0));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213)))); com_Event = var_Event;
		com_Event.GroupID(1);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:30:00",213)))); com_Event = var_Event;
		com_Event.GroupID(2);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 11:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 13:30:00",213)))); com_Event = var_Event;
		com_Event.GroupID(1);
	exschedule1.HeaderGroupHeight(-1);
	exschedule1.EndUpdate();
}
282
When using the CopyTo method to print a range of dates the printed page is not showing the timescale, is there a way to make it appear (as is, without calendar, multiple-selection)
public void init()
{
	COM com_Calendar,com_Events;
	COMVariant s,var_CopyTo;
	anytype var_Calendar,var_Events;
	;

	super();

	exschedule1.OnResizeControl(768/*exChangePanels | exHideSplitter*/);
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection("#1/1/2016#");
		com_Calendar.Selection("(int((yearday(value) -1- ((7-weekday(value - yearday(value) + 1)) mod 7) )/7) = int((yearday(#1/7/2016#))/7))");
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2016 8:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2016 14:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/11/2016 9:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/11/2016 11:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/15/2016 10:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/15/2016 11:30:00",213)));
	s = exschedule1.Calendar().Selection();
	exschedule1.Calendar().Selection("0");
	var_CopyTo = exschedule1.CopyTo("c:/temp/test.png");
	print( "Look for c:/temp/test.png file" );
	exschedule1.Calendar().Selection(s);
}
281
When using the CopyTo method to print a range of dates the printed page is not showing the timescale, is there a way to make it appear (as is, without calendar)
public void init()
{
	COM com_Calendar,com_Events;
	COMVariant var_CopyTo;
	anytype var_Calendar,var_Events;
	;

	super();

	exschedule1.OnResizeControl(768/*exChangePanels | exHideSplitter*/);
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("1/1/2012",213)));
		com_Calendar.SelectDate(str2Date("1/1/2012",213),false);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2012 8:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2012 9:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2012 8:35:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2012 9:35:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2012 10:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2012 12:30:00",213)));
	var_CopyTo = exschedule1.CopyTo("c:/temp/test.png");
	print( "Look for c:/temp/test.png file" );
}
280
When using the CopyTo method to print a range of dates the printed page is not showing the timescale, is there a way to make it appear (as is, with calendar)
public void init()
{
	COM com_Calendar,com_Events;
	COMVariant var_CopyTo;
	anytype var_Calendar,var_Events;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("1/1/2012",213)));
		com_Calendar.SelectDate(str2Date("1/1/2012",213),false);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2012 8:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2012 9:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2012 8:35:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2012 9:35:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2012 10:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2012 12:30:00",213)));
	var_CopyTo = exschedule1.CopyTo("c:/temp/test.png");
	print( "Look for c:/temp/test.png file" );
}
279
I've seen that all-day header can be limited up to 4, 8 or 12 events. Can I change that limit, for instance, 3 events only

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowSelectCreateEvent(2/*exHighlightCreateEvent*/);
	exschedule1.OnResizeControl(2048/*exCalendarAutoHide*/);
	exschedule1.ShowAllDayHeader(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/21/2012",213)));
	exschedule1.Calendar().Selection("value >= #5/20/2012# and value <= #5/26/2012#");
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.AllowAllDayEventScroll(4403/*0x1133 | exAllDayEventWheelScroll | exAllDayEventNoMax*/);
	exschedule1.BodyEventBackColor(WinApi::RGB2int(128,128,128));
	exschedule1.Background(165/*exScheduleAllDayEventScrollBackColor*/,WinApi::RGB2int(220,220,220));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/21/2012",213)),COMVariant::createFromDate(str2Date("5/24/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/23/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/24/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/23/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/24/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
	exschedule1.EndUpdate();
}
278
Is it possible to highlight the newly created event ( runtime creation )
public void init()
{
	;

	super();

	exschedule1.AllowSelectCreateEvent(2/*exHighlightCreateEvent*/);
}
277
Is it possible to select the newly created event ( runtime creation )
public void init()
{
	;

	super();

	exschedule1.AllowSelectCreateEvent(1/*exSelectCreateEvent*/);
}
276
I have noticed that the all-day header change its background, if has scrolling events. Is it possible to change that (ebn)

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	str var_s;
	;

	super();

	exschedule1.BeginUpdate();
	var_s = "gBFLBCJwBAEHhEJAAChABRUIQAAYAQGKIaBoAKBQAGaAoDDQMQ3QwAAwjSLEEwsACEIrjKCRShyCYZRrGQBQTCIZBqEqSZLiEZRQCWIAxATGchwHIEQgND6cIDmMAHfj";
	var_s = var_s + "2PI+RZKMoRZJUExZFyERhASQZZoyN40UzOc6vfL9KRDEAEIRKAyTDLQdRyGSMMgEVBJBCbMiNBqhESIJo+GI4BhFYSUZalGSnO6gIBAgIA==";
	exschedule1.VisualAppearance().Add(1,COMVariant::createFromStr(var_s));
	exschedule1.AllowSelectCreateEvent(2/*exHighlightCreateEvent*/);
	exschedule1.OnResizeControl(2048/*exCalendarAutoHide*/);
	exschedule1.ShowAllDayHeader(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/21/2012",213)));
	exschedule1.Calendar().Selection("value in (#5/21/2012#,#5/22/2012#,#5/23/2012#,#5/24/2012#,#5/25/2012#)");
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.AllowAllDayEventScroll(4416/*exAllDayEventWheelScroll | exAllDayEventMax4*/);
	exschedule1.Background(165/*exScheduleAllDayEventScrollBackColor*/,0x1000000);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/23/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/21/2012",213)),COMVariant::createFromDate(str2Date("5/24/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/24/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/23/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/24/2012",213)),COMVariant::createFromDate(str2Date("5/26/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
	exschedule1.EndUpdate();
}
275
I have noticed that the all-day header change its background, if has scrolling events. Is it possible to change that (solid)

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowSelectCreateEvent(2/*exHighlightCreateEvent*/);
	exschedule1.OnResizeControl(2048/*exCalendarAutoHide*/);
	exschedule1.ShowAllDayHeader(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/21/2012",213)));
	exschedule1.Calendar().Selection("value in (#5/21/2012#,#5/22/2012#,#5/23/2012#,#5/24/2012#,#5/25/2012#)");
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.AllowAllDayEventScroll(4416/*exAllDayEventWheelScroll | exAllDayEventMax4*/);
	exschedule1.Background(165/*exScheduleAllDayEventScrollBackColor*/,WinApi::RGB2int(220,220,220));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/23/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/21/2012",213)),COMVariant::createFromDate(str2Date("5/24/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/24/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/23/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/24/2012",213)),COMVariant::createFromDate(str2Date("5/26/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
	exschedule1.EndUpdate();
}
274
I have noticed that the all-day header change its background, if has scrolling events. Is it possible to remove that

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowSelectCreateEvent(2/*exHighlightCreateEvent*/);
	exschedule1.OnResizeControl(2048/*exCalendarAutoHide*/);
	exschedule1.ShowAllDayHeader(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/21/2012",213)));
	exschedule1.Calendar().Selection("value in (#5/21/2012#,#5/22/2012#,#5/23/2012#,#5/24/2012#,#5/25/2012#)");
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.AllowAllDayEventScroll(4416/*exAllDayEventWheelScroll | exAllDayEventMax4*/);
	exschedule1.Background(165/*exScheduleAllDayEventScrollBackColor*/,WinApi::RGB2int(0,0,0));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/23/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/21/2012",213)),COMVariant::createFromDate(str2Date("5/24/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/24/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/23/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/24/2012",213)),COMVariant::createFromDate(str2Date("5/26/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
	exschedule1.EndUpdate();
}
273
The user scrolls through the all-day events, when mouse wheel is rotated. Can I disable that
public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowSelectCreateEvent(2/*exHighlightCreateEvent*/);
	exschedule1.OnResizeControl(2048/*exCalendarAutoHide*/);
	exschedule1.ShowAllDayHeader(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/21/2012",213)));
	exschedule1.Calendar().Selection("value in (#5/21/2012#,#5/22/2012#,#5/23/2012#,#5/24/2012#,#5/25/2012#)");
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.AllowAllDayEventScroll(320/*exAllDayEventScroll | exAllDayEventMax4*/);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/23/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/21/2012",213)),COMVariant::createFromDate(str2Date("5/24/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/24/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/23/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/24/2012",213)),COMVariant::createFromDate(str2Date("5/26/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
	exschedule1.EndUpdate();
}
272
Is it possible to specify the number of all-day events to be visible

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowSelectCreateEvent(2/*exHighlightCreateEvent*/);
	exschedule1.OnResizeControl(2048/*exCalendarAutoHide*/);
	exschedule1.ShowAllDayHeader(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/21/2012",213)));
	exschedule1.Calendar().Selection("value in (#5/21/2012#,#5/22/2012#,#5/23/2012#,#5/24/2012#,#5/25/2012#)");
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.AllowAllDayEventScroll(4416/*exAllDayEventWheelScroll | exAllDayEventMax4*/);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/23/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/21/2012",213)),COMVariant::createFromDate(str2Date("5/24/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/24/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/23/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/24/2012",213)),COMVariant::createFromDate(str2Date("5/26/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
	exschedule1.EndUpdate();
}
271
How do I disable scrolling the all-day header
public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowSelectCreateEvent(2/*exHighlightCreateEvent*/);
	exschedule1.OnResizeControl(2048/*exCalendarAutoHide*/);
	exschedule1.ShowAllDayHeader(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/21/2012",213)));
	exschedule1.Calendar().Selection("value in (#5/21/2012#,#5/22/2012#,#5/23/2012#,#5/24/2012#,#5/25/2012#)");
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.AllowAllDayEventScroll(0/*exAllDayEventNoMin*/);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/23/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/21/2012",213)),COMVariant::createFromDate(str2Date("5/24/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/24/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/22/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/23/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/24/2012",213)),COMVariant::createFromDate(str2Date("5/26/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
	exschedule1.EndUpdate();
}
270
How can I display the current week only, when the user selects the date in the calendar panel

public void init()
{
	COM com_Calendar,com_TimeScale;
	anytype var_Calendar,var_TimeScale;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.OnResizeControl(129/*exDisableSplitter | exResizePanelRight*/);
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.OnSelectDate(1/*exEnsureVisibleDate*/);
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
		com_Calendar.SingleSel(true);
	exschedule1.Calendar().FirstWeekDay(1/*exMonday*/);
	exschedule1.ScrollBars(0/*exNoScroll*/);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.AllowResizeSchedule(0/*exDisallow*/);
	exschedule1.AllowMoveSchedule(0/*exDisallow*/);
	exschedule1.AllowToggleSchedule(0/*exDisallow*/);
	exschedule1.Background(35/*exScheduleBorderMonthColor*/,exschedule1.Background(34/*exScheduleBorderDateColor*/));
	var_TimeScale = COM::createFromObject(exschedule1.TimeScales()).Item(COMVariant::createFromInt(0)); com_TimeScale = var_TimeScale;
	com_TimeScale.AllowResize(false);
	exschedule1.DayViewWidth(0);
	exschedule1.EndUpdate();
}
269
How do I capture the control and save it as PDF (Method 2)
public void init()
{
	COM com_Calendar,com_Events;
	COMVariant var_CopyTo;
	anytype var_Calendar,var_Events;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("6/1/2001",213)));
		com_Calendar.Selection("value in (#6/11/2001#,#6/12/2001#)");
	exschedule1.DayViewWidth(512);
	exschedule1.DayViewHeight(512);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 13:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 13:00:00",213)));
	var_CopyTo = exschedule1.CopyTo("C:/Temp/test.pdf");
	print( "Look For: C:/Temp/test.pdf file" );
}
268
How do I capture the control and save it as PDF (Method 1)
public void init()
{
	COM com_Calendar,com_Events,com_Print;
	anytype var_Calendar,var_Events,var_Print;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("6/1/2001",213)));
		com_Calendar.Selection("value in (#6/11/2001#,#6/12/2001#)");
	exschedule1.DayViewWidth(512);
	exschedule1.DayViewHeight(512);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 13:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 13:00:00",213)));
	// Add 'exprint.dll(ExPrint.dll)' reference to your project.
	// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
	var_Print = COM::createFromObject(new EXPRINTLib.exprint()); com_Print = var_Print;
		com_Print.Options("FitToPage=On");
		com_Print.PrintExt(exschedule1);
		com_Print.CopyTo("C:/Temp/test.pdf");
		print( "Look For: C:/Temp/test.pdf file" );
}
267
How do I capture the control and save it as an image (JPG or BMP) (Method 2)
public void init()
{
	COM com_Calendar,com_Events;
	COMVariant var_CopyTo,var_CopyTo1;
	anytype var_Calendar,var_Events;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("6/1/2001",213)));
		com_Calendar.Selection("value in (#6/11/2001#,#6/12/2001#)");
	exschedule1.DayViewWidth(512);
	exschedule1.DayViewHeight(512);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 13:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 13:00:00",213)));
	var_CopyTo = exschedule1.CopyTo("C:/Temp/test.bmp");
	var_CopyTo1 = exschedule1.CopyTo("C:/Temp/test.jpg");
	print( "Look For: C:/Temp/test.* file" );
}
266
How do I capture the control and save it as an image (JPG or BMP) (Method 1)
public void init()
{
	COM com_Calendar,com_Events,com_Print;
	anytype var_Calendar,var_Events,var_Print;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("6/1/2001",213)));
		com_Calendar.Selection("value in (#6/11/2001#,#6/12/2001#)");
	exschedule1.DayViewWidth(512);
	exschedule1.DayViewHeight(512);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 13:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 13:00:00",213)));
	// Add 'exprint.dll(ExPrint.dll)' reference to your project.
	// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
	var_Print = COM::createFromObject(new EXPRINTLib.exprint()); com_Print = var_Print;
		com_Print.Options("FitToPage=On");
		com_Print.PrintExt(exschedule1);
		com_Print.CopyTo("C:/Temp/test.bmp");
		com_Print.CopyTo("C:/Temp/test.jpg");
		print( "Look For: C:/Temp/test.* file" );
}
265
Recurrence: The 2nd to last weekday of the month

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/29/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/29/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/29/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-2");
	exschedule1.EndUpdate();
}
264
Recurrence: The 3rd instance into the month of one of Tuesday, Wednesday or Thursday, for the next 3 months

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/4/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/4/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/4/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=MONTHLY;COUNT=3;BYDAY=TU,WE,TH;BYSETPOS=3");
	exschedule1.EndUpdate();
}
263
Recurrence: The last work day of the month

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/30/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("8/5/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("8/5/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1");
	exschedule1.EndUpdate();
}
262
Recurrence: An example where the days generated makes a difference because of WKST (Sample 2)

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("8/5/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(0/*exSunday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("8/5/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("8/5/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=WEEKLY;INTERVAL=2;COUNT=4;BYDAY=TU,SU");
	exschedule1.EndUpdate();
}
261
Recurrence: An example where the days generated makes a difference because of WKST (Sample 1)

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("8/5/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("8/5/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("8/5/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=WEEKLY;INTERVAL=2;COUNT=4;BYDAY=TU,SU");
	exschedule1.EndUpdate();
}
260
Recurrence: Every four years, the first Tuesday after a Monday in November, forever (U.S. Presidential Election day)

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("11/5/1996",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("11/5/1996 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("11/5/1996 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=YEARLY;INTERVAL=4;BYMONTH=11;BYDAY=TU;BYMONTHDAY=2,3,4,5,6,7,8");
	exschedule1.EndUpdate();
}
259
Recurrence: The first Saturday that follows the first Sunday of the month, forever

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/13/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/13/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/13/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=MONTHLY;BYDAY=SA;BYMONTHDAY=7,8,9,10,11,12,13");
	exschedule1.EndUpdate();
}
258
Recurrence: Every Friday the 13th, forever

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("2/13/1998",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=MONTHLY;BYDAY=FR;BYMONTHDAY=13");
	exschedule1.EndUpdate();
}
257
Recurrence: Every Thursday, but only during June, July, and August, forever

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("6/5/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/5/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/5/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=YEARLY;BYDAY=TH;BYMONTH=6,7,8");
	exschedule1.EndUpdate();
}
256
Recurrence: Every Thursday in March, forever

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("3/13/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("3/13/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("3/13/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=YEARLY;BYMONTH=3;BYDAY=TH");
	exschedule1.EndUpdate();
}
255
Recurrence: Monday of week number 20 (where the default start of the week is Monday), forever

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("5/12/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/12/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/12/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=YEARLY;BYWEEKNO=20;BYDAY=MO");
	exschedule1.EndUpdate();
}
254
Recurrence: Every 20th Monday of the year, forever

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("5/19/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/1/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/1/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=YEARLY;BYDAY=20MO");
	exschedule1.EndUpdate();
}
253
Recurrence: Every 3rd year on the 1st, 100th and 200th day for 10 occurrences

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("1/1/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/1/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/1/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=YEARLY;INTERVAL=3;COUNT=10;BYYEARDAY=1,100,200");
	exschedule1.EndUpdate();
}
252
Recurrence: Every other year on January, February, and March for 10 occurrences

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("3/10/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("3/10/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("3/10/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=YEARLY;INTERVAL=2;COUNT=10;BYMONTH=1,2,3");
	exschedule1.EndUpdate();
}
251
Recurrence: Yearly in June and July for 10 occurrences

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("6/10/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthX(2);
		com_Calendar.MaxMonthY(2);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/10/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/10/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=YEARLY;COUNT=10;BYMONTH=6,7");
	exschedule1.EndUpdate();
}
250
Recurrence: Every Tuesday, every other month

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/2/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=MONTHLY;INTERVAL=2;BYDAY=TU");
	exschedule1.EndUpdate();
}
249
Recurrence: Every 18 months on the 10th thru 15th of the month for 10 occurrences

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/10/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/10/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/10/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=MONTHLY;INTERVAL=18;COUNT=10;BYMONTHDAY=10,11,12,13,14,15");
	exschedule1.EndUpdate();
}
248
Recurrence: Monthly on the first and last day of the month for 10 occurrences

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/30/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/3/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/3/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=MONTHLY;COUNT=10;BYMONTHDAY=1,-1");
	exschedule1.EndUpdate();
}
247
Recurrence: Monthly on the 2nd and 15th of the month for 10 occurrences

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/2/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=MONTHLY;COUNT=10;BYMONTHDAY=2,15");
	exschedule1.EndUpdate();
}
246
Recurrence: Monthly on the third to the last day of the month, forever

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/28/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/28/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/28/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=MONTHLY;BYMONTHDAY=-3");
	exschedule1.EndUpdate();
}
245
Recurrence: Monthly on the second to last Monday of the month for 6 months

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/22/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/22/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/22/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=MONTHLY;COUNT=6;BYDAY=-2MO");
	exschedule1.EndUpdate();
}
244
Recurrence: Every other month on the 1st and last Sunday of the month for 10 occurrences

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/7/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/7/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/7/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=MONTHLY;INTERVAL=2;COUNT=10;BYDAY=1SU,-1SU");
	exschedule1.EndUpdate();
}
243
Recurrence: Monthly on the 1st Friday until December 24, 1997

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/5/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/5/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/5/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=MONTHLY;UNTIL=19971224T000000Z;BYDAY=1FR");
	exschedule1.EndUpdate();
}
242
Recurrence: Monthly on the 1st Friday for ten occurrences

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/5/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/5/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/5/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=MONTHLY;COUNT=10;BYDAY=1FR");
	exschedule1.EndUpdate();
}
241
Recurrence: Every other week on Tuesday and Thursday, for 8 occurrences

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/16/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(0/*exSunday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=WEEKLY;INTERVAL=2;COUNT=8;WKST=SU;BYDAY=TU,TH");
	exschedule1.EndUpdate();
}
240
Recurrence: Every other week on Monday, Wednesday and Friday until December 24, 1997, but starting on Tuesday, September 2, 1997

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/17/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(0/*exSunday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=WEEKLY;INTERVAL=2;UNTIL=19971224T000000Z;WKST=SU;BYDAY=MO,WE,FR");
	exschedule1.EndUpdate();
}
239
Recurrence: Weekly on Tuesday and Thursday for 5 weeks

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/16/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(0/*exSunday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=WEEKLY;UNTIL=19971007T000000Z;WKST=SU;BYDAY=TU,TH");
	exschedule1.EndUpdate();
}
238
Recurrence: Weekly on Tuesday and Thursday for 5 weeks

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/16/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(0/*exSunday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=WEEKLY;COUNT=10;WKST=SU;BYDAY=TU,TH");
	exschedule1.EndUpdate();
}
237
Recurrence: Every other day - forever

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/4/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=DAILY;INTERVAL=2");
	exschedule1.EndUpdate();
}
236
Recurrence: Daily until December 24, 1997

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/17/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=DAILY;UNTIL=19971224T000000Z");
	exschedule1.EndUpdate();
}
235
Recurrence: Daily for 10 occurrences

public void init()
{
	COM com_Calendar,com_Event,com_Events,com_Highlight,com_Pattern;
	anytype var_Calendar,var_Event,var_Events,var_Highlight,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("9/9/1997",213)));
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.MaxMonthY(4);
		var_Highlight = com_Calendar.HighlightEvent(); com_Highlight = var_Highlight;
			var_Pattern = COM::createFromObject(com_Highlight.Pattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(256/*exPatternFrame*/);
			com_Highlight.Bold(false);
		com_Calendar.FirstWeekDay(1/*exMonday*/);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("9/2/1997 14:00:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("FREQ=DAILY;COUNT=10");
	exschedule1.EndUpdate();
}
234
How do I display the week number according, so the January 1st is in the first week

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("1/1/2016",213)));
		com_Calendar.FirstWeekDay(0/*exSunday*/);
		com_Calendar.DisplayWeekNumberAs(1/*exSimpleWeekNumber*/);
	exschedule1.EndUpdate();
}
233
How do I display the week number according to ISO8601 standard

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("1/4/2016",213)));
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		com_Calendar.DisplayWeekNumberAs(0/*exISO8601WeekNumber*/);
	exschedule1.EndUpdate();
}
232
How do I hide the week number

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		com_Calendar.ShowWeeks(false);
		com_Calendar.ShowNonMonthDays(false);
	exschedule1.EndUpdate();
}
231
How can I change the background color of the all day header

public void init()
{
	COM com_Calendar,com_Event;
	anytype var_Calendar,var_Event;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.OnResizeControl(2048/*exCalendarAutoHide*/);
	exschedule1.ShowAllDayHeader(true);
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		com_Calendar.SelectDate(str2Date("5/8/2012",213),true);
		com_Calendar.Select(3/*exSelectWeek*/);
		com_Calendar.SelectDate(str2Date("5/15/2012",213),false);
		com_Calendar.Select(19/*exSelectToggle | exSelectWeek*/);
	exschedule1.Background(87/*exScheduleAllDayHeaderBackColor*/,WinApi::RGB2int(240,240,240));
	exschedule1.HeaderAllDayEventHeight(-20);
	var_Event = COM::createFromObject(exschedule1.Events()).Add(COMVariant::createFromDate(str2Date("5/8/2012",213)),COMVariant::createFromDate(str2Date("5/17/2012",213))); com_Event = var_Event;
	com_Event.AllDayEvent(true);
	exschedule1.EndUpdate();
}
230
How can I display a single text on a specified date

public void init()
{
	COM com_NonworkingPattern;
	anytype var_NonworkingPattern;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/26/2012",213)));
	exschedule1.Calendar().Selection("value in (#05/23/2012#,#05/24/2012#,#05/25/2012#)");
	var_NonworkingPattern = COM::createFromObject(exschedule1.NonworkingPatterns()).Add(1234,0/*exPatternEmpty*/); com_NonworkingPattern = var_NonworkingPattern;
	com_NonworkingPattern.BackgroundExt("[text=`<font ;6><fgcolor 808080>just a notice`,align=0x11]");
	exschedule1.NonworkingTimes().Add("value = #05/25/2012#","09:00","10:00",1234);
	exschedule1.EndUpdate();
}
229
I am using the control's DataSource property, the question is how can I get the event's identifier Datafield(exEventID)

public void init()
{
	COM com_rs;
	anytype rs;
	;

	super();

	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Events","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExSchedule\\Sample\\Access2007\\datasource.accdb",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("11/11/2013",213)));
	exschedule1.DataField(1/*exEventStartDateTime*/,"Start");
	exschedule1.DataField(2/*exEventEndDateTime*/,"End");
	exschedule1.DataField(11/*exEventExtraLabel*/,"Extra");
	exschedule1.DataSource(rs);
	print( exschedule1.Events().Item(COMVariant::createFromInt(1)).KnownProperty(12/*exEventID*/) );
	exschedule1.EndUpdate();
}
228
Is it possible to display some text/image on the schedule's view background

public void init()
{
	COM com_NonworkingPattern;
	anytype var_NonworkingPattern;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/25/2012",213)));
	var_NonworkingPattern = COM::createFromObject(exschedule1.NonworkingPatterns()).Add(1234,6/*exPatternBDiagonal*/); com_NonworkingPattern = var_NonworkingPattern;
	com_NonworkingPattern.BackgroundExt("[text=`<fgcolor 808080>just a caption`,align=0x11]");
	var_NonworkingPattern = COM::createFromObject(exschedule1.NonworkingPatterns()).Add(1235,0/*exPatternEmpty*/); com_NonworkingPattern = var_NonworkingPattern;
	com_NonworkingPattern.BackgroundExt("[text=`<fgcolor 808080>just another caption`,align=0x11]");
	exschedule1.NonworkingTimes().Add("weekday(value) = 5","08:00","08:59:59",1234);
	exschedule1.NonworkingTimes().Add("weekday(value) = 5","09:00","09:59:59",1235);
	exschedule1.NonworkingTimes().Add("weekday(value) = 5","10:00","10:59:59",1234);
	exschedule1.EndUpdate();
}
227
How can I display a text on the schedule's view background

public void init()
{
	COM com_NonworkingPattern;
	anytype var_NonworkingPattern;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/25/2012",213)));
	var_NonworkingPattern = COM::createFromObject(exschedule1.NonworkingPatterns()).Add(1234,0/*exPatternEmpty*/); com_NonworkingPattern = var_NonworkingPattern;
	com_NonworkingPattern.BackgroundExt("[text=`<fgcolor 808080>just a caption`,align=0x11]");
	exschedule1.NonworkingTimes().Add("weekday(value) = 5","12:00","13:00",1234);
	exschedule1.EndUpdate();
}
226
Is it possible to change the visual appearance of the edit's context menu

public void init()
{
	;

	super();

	exschedule1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exschedule1.Background(99/*exContextMenuAppearance*/,0x1000000);
}
225
How do I customize the edit's context menu

public void init()
{
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exschedule1.Images(COMVariant::createFromStr(var_s));
	exschedule1.EditContextMenuItems("Insert[group=3](<img>1</img>[id=57763],<img>2</img>[id=57763])");
}
224
How can I lock/fix the date header, so it stays on the top while the user scrolls the chart

// LayoutEndChanging event - Notifies your application once the control's layout has been changed.
void onEvent_LayoutEndChanging(int   _Operation)
{
	;
	print( _Operation );
	exschedule1.DayViewHeight(2016);
}

public void init()
{
	COM com_Calendar,com_TimeScale;
	anytype var_Calendar,var_TimeScale;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.SelectDate(str2Date("5/20/2012",213),true);
		com_Calendar.Select(3/*exSelectWeek*/);
	exschedule1.ScrollBars(2/*exVertical*/);
	exschedule1.ShowViewCompact(3/*exViewSingleRowLockHeader*/);
	exschedule1.DayViewHeight(2016);
	exschedule1.AllowMoveSchedule(0/*exDisallow*/);
	exschedule1.AllowResizeSchedule(0/*exDisallow*/);
	exschedule1.AllowToggleSchedule(0/*exDisallow*/);
	exschedule1.AllowExchangePanels(0/*exDisallow*/);
	exschedule1.AllowMoveTimeScale(0/*exDisallow*/);
	exschedule1.AllowResizeTimeScale(0/*exDisallow*/);
	exschedule1.AllowMultiDaysEvent(false);
	var_TimeScale = COM::createFromObject(exschedule1.TimeScales()).Item(COMVariant::createFromInt(0)); com_TimeScale = var_TimeScale;
	com_TimeScale.MinorTimeRuler("00:10");
	exschedule1.DayStartTime("00:00");
	exschedule1.DayEndTime("24:00");
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	exschedule1.EndUpdate();
}
223
Is there any way to control the vertical size of each hour other than by the font and/or the minor time scale being changed

public void init()
{
	COM com_Calendar,com_TimeScale;
	anytype var_Calendar,var_TimeScale;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.SelectDate(str2Date("5/20/2012",213),true);
		com_Calendar.Select(3/*exSelectWeek*/);
	exschedule1.OnResizeControl(768/*exChangePanels | exHideSplitter*/);
	exschedule1.ScrollBars(2/*exVertical*/);
	exschedule1.ShowViewCompact(1/*exViewSingleRow*/);
	exschedule1.DayViewHeight(2016);
	exschedule1.AllowMoveSchedule(0/*exDisallow*/);
	exschedule1.AllowResizeSchedule(0/*exDisallow*/);
	exschedule1.AllowToggleSchedule(0/*exDisallow*/);
	exschedule1.AllowExchangePanels(0/*exDisallow*/);
	exschedule1.AllowMoveTimeScale(0/*exDisallow*/);
	exschedule1.AllowResizeTimeScale(0/*exDisallow*/);
	exschedule1.AllowMultiDaysEvent(false);
	exschedule1.Background(36/*exScheduleBorderSelColor*/,exschedule1.Background(37/*exScheduleBorderSelColorUnFocus*/));
	var_TimeScale = COM::createFromObject(exschedule1.TimeScales()).Item(COMVariant::createFromInt(0)); com_TimeScale = var_TimeScale;
	com_TimeScale.MinorTimeRuler("00:10");
	exschedule1.DayStartTime("00:00");
	exschedule1.DayEndTime("24:00");
	exschedule1.EndUpdate();
}
222
How can I show a single week, no calendar

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.SelectDate(str2Date("5/20/2012",213),true);
		com_Calendar.Select(3/*exSelectWeek*/);
	exschedule1.OnResizeControl(768/*exChangePanels | exHideSplitter*/);
	exschedule1.ScrollBars(0/*exNoScroll*/);
	exschedule1.ShowViewCompact(1/*exViewSingleRow*/);
	exschedule1.AllowMoveSchedule(0/*exDisallow*/);
	exschedule1.AllowResizeSchedule(0/*exDisallow*/);
	exschedule1.AllowToggleSchedule(0/*exDisallow*/);
	exschedule1.AllowExchangePanels(0/*exDisallow*/);
	exschedule1.AllowMoveTimeScale(0/*exDisallow*/);
	exschedule1.AllowResizeTimeScale(0/*exDisallow*/);
	exschedule1.AllowMultiDaysEvent(false);
	exschedule1.Background(36/*exScheduleBorderSelColor*/,exschedule1.Background(37/*exScheduleBorderSelColorUnFocus*/));
	exschedule1.EndUpdate();
}
221
How do I select the dates within a giving interval only

public void init()
{
	COM com_Calendar,com_Events;
	anytype var_Calendar,var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("5/1/2012",213)));
		com_Calendar.Selection("(value >= #5/13/2012#) and (value <= #5/26/2012#)");
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:45:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 11:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 14:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 15:45:00",213)));
	exschedule1.EndUpdate();
}
220
How do I display the dates within a giving interval only

public void init()
{
	COM com_Calendar,com_Events;
	anytype var_Calendar,var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
		com_Calendar.MinDate(str2Date("5/13/2012",213));
		com_Calendar.MaxDate(str2Date("5/26/2012",213));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:45:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 11:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 14:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 15:45:00",213)));
	exschedule1.EndUpdate();
}
219
Is it possible that the time is displayed starting from 00:00 to 24:00 00 instead of 08:00 AM to 04:00 PM

public void init()
{
	COM com_TimeScale;
	anytype var_TimeScale;
	;

	super();

	exschedule1.DayStartTime("00:00");
	exschedule1.DayEndTime("24:00");
	var_TimeScale = COM::createFromObject(exschedule1.TimeScales()).Item(COMVariant::createFromInt(0)); com_TimeScale = var_TimeScale;
		com_TimeScale.MajorTimeLabel("<%hh%>:<%nn%>");
		com_TimeScale.Width(32);
}
218
How do I show a double frame

public void init()
{
	COM com_Event,com_Event1,com_Event2,com_Event3,com_Events;
	anytype var_Event,var_Event1,var_Event2,var_Event3,var_Events;
	str var_s,var_s1,var_s2;
	;

	super();

	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.DefaultEventLongLabel("");
	exschedule1.DefaultEventShortLabel("");
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 8:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213))); com_Event = var_Event;
			var_s = "top[25%,back=RGB(255,0,0),align=0x21,pattern=0x000,frame=RGB(0,0,0)],client[back=RGB(255,255,0),align=0x21,pattern=0x000,frame=R";
			var_s = var_s + "GB(0,0,0)]";
			com_Event.BodyBackgroundExt(var_s);
			com_Event.BodyBackgroundExtValue(1/*exIndexExt1*/,1/*exBackColorExt*/,COMVariant::createFromInt(255));
			com_Event.BodyBackgroundExtValue(1/*exIndexExt1*/,2/*exClientExt*/,"35%");
		var_Event1 = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:00:00",213))); com_Event1 = var_Event1;
			com_Event1.BodyBackgroundExt("top[25%,back=RGB(255,0,0),align=0x22],client[back=RGB(255,255,0),align=0x22]");
			com_Event1.BodyBackgroundExtValue(1/*exIndexExt1*/,2/*exClientExt*/,"35%");
			com_Event1.BodyBackgroundExtValue(2/*exIndexExt2*/,1/*exBackColorExt*/,COMVariant::createFromInt(65535));
		var_Event2 = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 14:00:00",213))); com_Event2 = var_Event2;
			com_Event2.ShowStatus(false);
			var_s1 = "left[4,back=RGB(128,128,128)],top[25%,back=RGB(255,0,0)],client[back=RGB(255,255,0)],none[(0%,0%,100%,100%),pattern=0x000,frame=";
			var_s1 = var_s1 + "RGB(0,0,0)]";
			com_Event2.BodyBackgroundExt(var_s1);
		var_Event3 = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 14:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 16:00:00",213))); com_Event3 = var_Event3;
			com_Event3.ShowStatus(false);
			var_s2 = "left[4,back=RGB(128,128,128)],top[25%,back=RGB(255,0,0)],client[back=RGB(255,255,0)],none[(4,0%,100%-4,100%),pattern=0x000,frame";
			var_s2 = var_s2 + "=RGB(0,0,0)]";
			com_Event3.BodyBackgroundExt(var_s2);
}
217
How can I add more colors on the event

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	str var_s;
	;

	super();

	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)))); com_Event = var_Event;
		com_Event.BodyBackgroundExt("bottom[15%](left[65%,frame,back=RGB(128,255,255)],client[back=RGB(255,0,0),frame])");
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213)))); com_Event = var_Event;
		com_Event.BodyBackgroundExt("right[15%](bottom[35%,frame,back=RGB(128,255,255)],client[back=RGB(255,0,0),frame])");
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 11:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 14:00:00",213)))); com_Event = var_Event;
		var_s = "left[33%,back=RGB(0,128,0)](top[50%,back=RGB(0,255,0)]),left[33%](top[33%,back=RGB(0,255,255)],top[33%,back=RGB(0,0,128)],client";
		var_s = var_s + "[back=RGB(0,0,255)]),client(top[25%,back=RGB(240,240,240)],top[25%,back=RGB(192,192,192)],top[25%,back=RGB(128,128,128)],client[";
		var_s = var_s + "back=RGB(0,0,0)])";
		com_Event.BodyBackgroundExt(var_s);
}
216
When I have 3 month visible in the calendar section, it seems I can only move back and forth through the months 3 months at a time. Is it possible to move back and forth through the months 1 month at a time
public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.AlignDate(false);
		com_Calendar.MinMonthY(2);
		com_Calendar.MaxMonthY(2);
}
215
How can I bound the control to a data source

// Error event - Fired when an internal error occurs.
void onEvent_Error(int   _Error,str   _Description)
{
	;
	print( _Description );
}

public void init()
{
	COM com_rs;
	anytype rs;
	;

	super();

	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	rs = COM::createFromObject(new ADODB.Recordset()); com_rs = rs;
		rs.Open("Events","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExSchedule\\Sample\\Access2007\\datasource.accdb",3/*adOpenStatic*/,3/*adLockOptimistic*/);
	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("11/11/2013",213)));
	exschedule1.DataField(1/*exEventStartDateTime*/,"Start");
	exschedule1.DataField(2/*exEventEndDateTime*/,"End");
	exschedule1.DataField(11/*exEventExtraLabel*/,"Extra");
	exschedule1.DataSource(rs);
	exschedule1.EndUpdate();
}
214
How can I start drag and drop an event

// OLEStartDrag event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events.
public void init()
{
	COM com_Event;
	anytype var_Event;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.OLEDropMode(1/*exOLEDropManual*/);
	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	exschedule1.DefaultEventLongLabel("<%=%256%><br><%=%5%>");
	exschedule1.DefaultEventShortLabel(exschedule1.DefaultEventLongLabel());
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	var_Event = COM::createFromObject(exschedule1.Events()).Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213))); com_Event = var_Event;
	com_Event.ExtraLabel("Click the event and wait to start dragging.");
	exschedule1.EndUpdate();
}
213
I use the HighlightDate property to mark a date, instead the selection is not visible if I select the same date. What can be done

public void init()
{
	;

	super();

	exschedule1.ShowHighlightDate(4353/*exHighlightDateCalendarEllipticClip | exHighlightDateCalendarGradient | exShowHighlightDateCalendar*/);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exschedule1.HighlightDate(str2Date("1/9/2001",213),COMVariant::createFromInt(65280));
	exschedule1.HighlightDate(str2Date("1/17/2001",213),"65280,255");
	exschedule1.HighlightDate(str2Date("1/25/2001",213),"255,65280,16711680");
}
212
How can I arrange the colors to highlight the date vertically

public void init()
{
	;

	super();

	exschedule1.ShowHighlightDate(49/*exHighlightDateVertical | exShowHighlightDateCalendar*/);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exschedule1.HighlightDate(str2Date("1/9/2001",213),COMVariant::createFromInt(65280));
	exschedule1.HighlightDate(str2Date("1/17/2001",213),"65280,255");
	exschedule1.HighlightDate(str2Date("1/25/2001",213),"255,65280,16711680");
}
211
Is it possible to highlight a date in gradient

public void init()
{
	;

	super();

	exschedule1.ShowHighlightDate(257/*exHighlightDateCalendarGradient | exShowHighlightDateCalendar*/);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exschedule1.HighlightDate(str2Date("1/9/2001",213),COMVariant::createFromInt(65280));
	exschedule1.HighlightDate(str2Date("1/17/2001",213),"65280,255");
	exschedule1.HighlightDate(str2Date("1/25/2001",213),"255,65280,16711680");
}
210
Is it possible to highlight a date in the calendar panel only

public void init()
{
	;

	super();

	exschedule1.ShowHighlightDate(1/*exShowHighlightDateCalendar*/);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	exschedule1.HighlightDate(str2Date("1/9/2001",213),COMVariant::createFromInt(65280));
	exschedule1.HighlightDate(str2Date("1/17/2001",213),"65280,255");
	exschedule1.HighlightDate(str2Date("1/25/2001",213),"255,65280,16711680");
}
209
Is it possible to highlight a date in the control

public void init()
{
	;

	super();

	exschedule1.ShowHighlightDate(3/*exShowHighlightDate*/);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/25/2001",213)));
	exschedule1.HighlightDate(str2Date("1/9/2001",213),COMVariant::createFromInt(65280));
	exschedule1.HighlightDate(str2Date("1/17/2001",213),"65280,255");
	exschedule1.HighlightDate(str2Date("1/25/2001",213),"255,65280,16711680");
}
208
How we need to put "nonworking time" to each group, because staff A is working different times then staff B. Is this possible

public void init()
{
	COM com_Event,com_Group,com_NonworkingTime,com_NonworkingTimes;
	anytype var_Event,var_Group,var_NonworkingTime,var_NonworkingTimes;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.BodyEventBackColor(WinApi::RGB2int(240,240,240));
	exschedule1.ShowGroupingEvents(true);
	exschedule1.DisplayGroupingButton(true);
	var_Group = COM::createFromObject(exschedule1.Groups()).Add(1,"Group 1"); com_Group = var_Group;
	com_Group.Visible(true);
	var_Group = COM::createFromObject(exschedule1.Groups()).Add(2,"Group 2"); com_Group = var_Group;
	com_Group.Visible(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/25/2012",213)));
	exschedule1.NonworkingPatterns().Add(1234,11/*exPatternBrick*/);
	var_NonworkingTimes = exschedule1.NonworkingTimes(); com_NonworkingTimes = var_NonworkingTimes;
		com_NonworkingTimes.Add("1","00:00","08:45",1234);
		var_NonworkingTime = COM::createFromObject(com_NonworkingTimes.Add("weekday(value) = 5","10:00","11:45",1)); com_NonworkingTime = var_NonworkingTime;
		com_NonworkingTime.GroupID(COMVariant::createFromInt(1));
		var_NonworkingTime = COM::createFromObject(com_NonworkingTimes.Add("weekday(value) = 5","12:00","13:00",1234)); com_NonworkingTime = var_NonworkingTime;
		com_NonworkingTime.GroupID(COMVariant::createFromInt(2));
	var_Event = COM::createFromObject(exschedule1.Events()).Add(COMVariant::createFromUtcDateTime(str2Datetime("5/25/2012 9:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/25/2012 13:00:00",213))); com_Event = var_Event;
	com_Event.GroupID(1);
	exschedule1.EndUpdate();
}
207
I have a double click event set to launch a window so the user can supply input. The problem is that double click changes the view. How do I change this behavior
// DblClick event - Occurs when the user dblclk the left mouse button over an object.
void onEvent_DblClick(int   _Shift,int   _X,int   _Y)
{
	;
	print( "DblClick " );
	print( _X );
	print( _Y );
}

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213)));
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:30:00",213)))); com_Event = var_Event;
		com_Event.StatusColor(WinApi::RGB2int(255,0,0));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 11:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 13:30:00",213)));
	exschedule1.AllowEditEvent(0/*exDisallow*/);
	exschedule1.AllowToggleSchedule(0/*exDisallow*/);
	exschedule1.EndUpdate();
}
206
I have two-time scales. How do I change the label while updating the events to show the date-time on the second time-scale

public void init()
{
	COM com_Events,com_TimeScale;
	anytype var_Events,var_TimeScale;
	;

	super();

	exschedule1.DayEndTime("13:00");
	var_TimeScale = COM::createFromObject(exschedule1.TimeScales()).Add("+3:00"); com_TimeScale = var_TimeScale;
		com_TimeScale.AlignLeft(true);
		com_TimeScale.Caption("EST <b>+03");
	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
	exschedule1.UpdateEventsLabel("Start: <%=date(%1+3/24)%><br>End: <%=date(%2+3/24)%>");
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 11:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 13:30:00",213)));
	exschedule1.EndUpdate();
}
205
Is there a way to add a hyperlink to the event that would run a report with parameters

// AnchorClick event - Occurs when an anchor element is clicked.
void onEvent_AnchorClick(str   _AnchorID,str   _Options)
{
	;
	print( _AnchorID );
	print( _Options );
}

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("6/20/2012",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 11:00:00",213)))); com_Event = var_Event;
		com_Event.LongLabel("<%=%256%><br><a 1234;option 1>more ...</a>");
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 11:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 13:00:00",213)))); com_Event = var_Event;
		com_Event.LongLabel("<%=%256%><br><a 1235;option 2>more ...</a>");
}
204
Can I have multiple months in the calendar section

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.MinMonthY(2);
		com_Calendar.MaxMonthY(2);
}
203
I need to make sure that at least the order number stays visible when the event is resized. Is there a way during event modification (another event be added at the same time that makes the event size shrink) to adjust the caption location

public void init()
{
	COM com_Event,com_Event1,com_Events;
	anytype var_Event,var_Event1,var_Events;
	;

	super();

	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("6/20/2012",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 11:00:00",213))); com_Event = var_Event;
			com_Event.UserData(COMVariant::createFromInt(1234));
			com_Event.ShortLabel("<%=%256%><br>Order: <%=%6%>");
			com_Event.LongLabel(com_Event.ShortLabel());
		var_Event1 = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 11:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 13:00:00",213))); com_Event1 = var_Event1;
			com_Event1.UserData(COMVariant::createFromInt(1235));
			com_Event1.ShortLabel("<%=%256%>, Order: <%=%6%>");
			com_Event1.LongLabel(com_Event1.ShortLabel());
}
202
I need to make sure that at least the order number stays visible when the event is resized. Is there a way during event modification (another event be added at the same time that makes the event size shrink) to adjust the caption location

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("6/20/2012",213)));
	exschedule1.DefaultEventShortLabel("<%=%256%><br>Order: <b><%=%6%>");
	exschedule1.DefaultEventLongLabel(exschedule1.DefaultEventShortLabel());
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 11:00:00",213)))); com_Event = var_Event;
		com_Event.UserData(COMVariant::createFromInt(1234));
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 11:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 13:00:00",213)))); com_Event = var_Event;
		com_Event.UserData(COMVariant::createFromInt(1235));
}
201
Can you add text with links in the event

// AnchorClick event - Occurs when an anchor element is clicked.
void onEvent_AnchorClick(str   _AnchorID,str   _Options)
{
	;
	print( _AnchorID );
	print( _Options );
}

public void init()
{
	COM com_Event,com_Event1,com_Events;
	anytype var_Event,var_Event1,var_Events;
	;

	super();

	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("6/20/2012",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 11:00:00",213))); com_Event = var_Event;
			com_Event.ShortLabel("<a 1><%=%256%></a>");
			com_Event.LongLabel(com_Event.ShortLabel());
		var_Event1 = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 11:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 13:00:00",213))); com_Event1 = var_Event1;
			com_Event1.ShortLabel("<a 2><%=%256%></a>");
			com_Event1.LongLabel(com_Event1.ShortLabel());
}