325
Clear Undo/Redo queue (method 2)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowUndoRedo = True
		.Calendar.Selection = #1/10/2001#
		With .Events
			.Add #1/10/2001 10:00:00 AM#,#1/10/2001 11:30:00 AM#
			.Add #1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#
		End With
		c = .UndoRedoQueueLength
		.UndoRedoQueueLength = 0
		.UndoRedoQueueLength = c
		alert( .UndoListAction() )
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

324
Clear Undo/Redo queue (method 1)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowUndoRedo = True
		.Calendar.Selection = #1/10/2001#
		With .Events
			.Add #1/10/2001 10:00:00 AM#,#1/10/2001 11:30:00 AM#
			.Add #1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#
		End With
		.AllowUndoRedo = True
		alert( .UndoListAction() )
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

323
Removes Redo operations

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowUndoRedo = True
		.Calendar.Selection = #1/10/2001#
		With .Events
			.Add #1/10/2001 10:00:00 AM#,#1/10/2001 11:30:00 AM#
			.Add #1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#
		End With
		.Undo 
		.RedoRemoveAction 13
		alert( .RedoListAction() )
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

322
Removes Undo operations

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowUndoRedo = True
		.Calendar.Selection = #1/10/2001#
		With .Events
			.Add #1/10/2001 10:00:00 AM#,#1/10/2001 11:30:00 AM#
			.Add #1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#
		End With
		.UndoRemoveAction 13
		alert( .UndoListAction() )
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

321
Record the UI operations as a block of undo/redo operations

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowUndoRedo = True
		.Calendar.Selection = #1/10/2001#
		.StartBlockUndoRedo 
		With .Events
			.Add #1/10/2001 10:00:00 AM#,#1/10/2001 11:30:00 AM#
			.Add #1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#
		End With
		.EndBlockUndoRedo 
		alert( .UndoListAction() )
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

320
Groups the next to current Undo/Redo Actions in a single block

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowUndoRedo = True
		.Calendar.Selection = #1/10/2001#
		With .Events
			.Add #1/10/2001 10:00:00 AM#,#1/10/2001 11:30:00 AM#
			.Add #1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#
		End With
		.GroupUndoRedoActions 2
		alert( .UndoListAction() )
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

319
Limits the number of entries within the Undo/Redo queue

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowUndoRedo = True
		.Calendar.Selection = #1/10/2001#
		.UndoRedoQueueLength = 1
		With .Events
			.Add #1/10/2001 10:00:00 AM#,#1/10/2001 11:30:00 AM#
			.Add #1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#
		End With
		alert( .UndoListAction() )
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

318
Lists the Redo actions that can be performed on the control

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowUndoRedo = True
		.Calendar.Selection = #1/10/2001#
		With .Events
			.Add #1/10/2001 10:00:00 AM#,#1/10/2001 11:30:00 AM#
			.Add #1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#
		End With
		.Undo 
		alert( .RedoListAction() )
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

317
Lists the Undo actions that can be performed on the control

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowUndoRedo = True
		.Calendar.Selection = #1/10/2001#
		With .Events
			.Add #1/10/2001 10:00:00 AM#,#1/10/2001 11:30:00 AM#
			.Add #1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#
		End With
		alert( .UndoListAction() )
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

316
Checks whether the Undo operation is possible

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowUndoRedo = True
		.Calendar.Selection = #1/10/2001#
		With .Events
			.Add #1/10/2001 10:00:00 AM#,#1/10/2001 11:30:00 AM#
			.Add #1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#
		End With
		.Undo 
		alert( "CanRedo" )
		alert( .CanRedo )
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

315
Call Redo by code

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowUndoRedo = True
		.Calendar.Selection = #1/10/2001#
		With .Events
			.Add #1/10/2001 10:00:00 AM#,#1/10/2001 11:30:00 AM#
			.Add #1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#
		End With
		.Undo 
		.Redo 
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

314
Checks whether the Undo operation is possible

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowUndoRedo = True
		.Calendar.Selection = #1/10/2001#
		With .Events
			.Add #1/10/2001 10:00:00 AM#,#1/10/2001 11:30:00 AM#
			.Add #1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#
		End With
		alert( "CanUndo" )
		alert( .CanUndo )
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

313
Call Undo by code

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowUndoRedo = True
		.Calendar.Selection = #1/10/2001#
		With .Events
			.Add #1/10/2001 10:00:00 AM#,#1/10/2001 11:30:00 AM#
			.Add #1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#
		End With
		.Undo 
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

312
Save the calendar-event's properties for Undo/Redo operations, by code

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowUndoRedo = True
		.Calendar.Selection = #1/10/2001#
		.Events.Add #1/10/2001 10:00:00 AM#,#1/10/2001 11:30:00 AM#
		.StartBlockUndoRedo 
		With .Events.Add(#1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#)
			h = .StartUpdateEvent
			.BodyBackColor = RGB(0,0,1)
			.BodyForeColor = RGB(255,255,255)
			.StatusColor = RGB(255,0,0)
			.EndUpdateEvent h
		End With
		.EndBlockUndoRedo 
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

311
No color is restored for the calendar-event when Undo/Redo operation is performed

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowUndoRedo = True
		.Calendar.Selection = #1/10/2001#
		.Events.Add #1/10/2001 10:00:00 AM#,#1/10/2001 11:30:00 AM#
		.StartBlockUndoRedo 
		With .Events.Add(#1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#)
			h = .StartUpdateEvent
			.BodyBackColor = RGB(0,0,1)
			.BodyForeColor = RGB(255,255,255)
			.StatusColor = RGB(255,0,0)
			.EndUpdateEvent h
		End With
		.EndBlockUndoRedo 
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

310
How can I ensure that a specified calendar-event fits the control's visible area
<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		With .Events
			With .Add(#1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#).BodyPattern
				.Type = 6
				.Color = RGB(224,224,224)
			End With
			.Add(#1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#).EnsureVisible 
		End With
	End With
End Function
</SCRIPT>
</BODY>

309
LayoutEndChanging(exUndo), LayoutEndChanging(exRedo) or LayoutEndChanging(exUndoRedoUpdate) notifiy your application once a Undo/Redo operation is executed (CTRL+Z, CTRL+Y) or updated

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Schedule1_LayoutEndChanging(Operation)
	With Schedule1
		alert( "LayoutEndChanging" )
		alert( Operation )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowUndoRedo = True
		.Calendar.Selection = #1/10/2001#
		With .Events
			.Add #1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#
			.Add #1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

308
Turn on the Undo/Redo feature

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowUndoRedo = True
		.Calendar.Selection = #1/10/2001#
		With .Events
			.Add #1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#
			.Add #1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

307
How can I make the header (date/group) always visible, so it stays on the top while the user scrolls the chart

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Schedule1_LayoutEndChanging(Operation)
	With Schedule1
		alert( Operation )
		.DayViewHeight = 2016
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.SelectDate(#5/20/2012#) = True
			.Select 3
		End With
		.ScrollBars = 2
		.ShowViewCompact = 3
		.DayViewHeight = 2016
		.TimeScales.Item(0).MinorTimeRuler = "00:10"
		.DayStartTime = "00:00"
		.DayEndTime = "24:00"
		.OnResizeControl = 3073 ' OnResizeControlEnum.exCalendarAutoHide Or OnResizeControlEnum.exCalendarFit Or OnResizeControlEnum.exResizePanelRight
		.Calendar.Selection = #5/24/2012#
		.DisplayGroupingButton = True
		.ShowGroupingEvents = True
		.ApplyGroupingColors = False
		With .Groups
			With .Add(1,"Group 1")
				.Visible = True
				.EventBackColor = RGB(128,128,128)
				.Title = "1'st Group"
			End With
			With .Add(2,"Group 2")
				.Visible = True
				.EventBackColor = RGB(255,0,0)
				.Title = "2'nd Group"
			End With
		End With
		.DefaultEventLongLabel = "<%=%256%><br>Group's Caption: <b><%=%262%></b><br>Group's Title: <b><%=%263%></b>"
		.DefaultEventShortLabel = .DefaultEventLongLabel
		With .Events
			.Add(#5/24/2012 1:00:00 AM#,#5/24/2012 2:00:00 AM#).GroupID = 1
			.Add(#5/24/2012 1:45:00 AM#,#5/24/2012 2:30:00 AM#).GroupID = 2
			.Add(#5/24/2012 2:30:00 AM#,#5/24/2012 4:30:00 AM#).GroupID = 1
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

306
It appears that Width property of the Group does not what. What am I doing wrong
<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.Calendar.Selection = #1/10/2001#
		.DisplayGroupingButton = True
		.ShowGroupingEvents = True
		.OnResizeControl = 3073 ' OnResizeControlEnum.exCalendarAutoHide Or OnResizeControlEnum.exCalendarFit Or OnResizeControlEnum.exResizePanelRight
		With .Groups
			With .Add(1,"Group 1")
				.Title = "First"
				.Visible = True
			End With
			With .Add(2,"Group 2")
				.Title = "Second"
				.Visible = True
			End With
			With .Add(3,"Group 3")
				.Title = "Third"
				.Visible = True
			End With
		End With
		.DayViewWidth = 144
		.Groups.Item(1).Width = 48
		.Groups.Item(2).Width = 48
		With .Events
			.Add(#1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#).GroupID = 1
			.Add(#1/10/2001 10:00:00 AM#,#1/10/2001 1:00:00 PM#).GroupID = 2
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

305
ImageSize property on 32 (specifies the size of control' icons/images/check-boxes/radio-buttons)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.Calendar.Selection = #5/24/2012#
		.ImageSize = 32
		.Font.Size = 16
		.EventsFont.Size = 16
		.TimeScaleFont.Size = 16
		.TimeScales.Item(0).Width = 128
		.Images "gBJJgBAIDAAEg4AEEKAD/hz/EMNh8TIRNGwAjEZAEXjAojKAjMLjABhkaABAk0plUrlktl0vmExmUzmk1m03nE5nU7nk9miAoE+oVDolFo1HpFJpU5h8Sf9OqFNqUOq" & _
	"NUqdPq9VrFWrlbr1QpdhAFAkFis1ntFptVrtkrpszrNvmVxqk3uVtm1kmF3sdBvF/wGBmV+j9BYGHwWJulfxdax2NyFdx2JlV6l9Nw7AAGZymdz2Cy2GxErvWcz9ivlw" & _
	"yV21cuxugwktzGIzmvwtl0+53U5y0a0Wazmmyu/3dCyOMyXHx/J5nIr9q3uyqnBxFN3G46ma4vb7mD2Ng4nZze00fDkHC7t7us2rOX5tguetpHRlmz4HVqnXk1PjHO+C" & _
	"MPo9MBMC+j2vC8j7wS8cFNI4kBo05UIvfCT/NsnsApU+0Fqg/T+oy/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bu18Pph5CiHymI0RpSXGJ/z2oUOxYxG858AyiI+bfJtuTcG5yelBJy" & _
	"T8okhqFd4a5yxL0rvulYtKCsZiWxWkc1s1cRoxxwhA31DLE0mR9l9HqX8fJgTDmFMVH0MIsRzVYnwnMi1dyzmhLt2kS2pxIiU62Wj5ptQGlSYFakLonTUJNLKaM5Wzlf" & _
	"fEkuFkk5wTrhVO2eE7G6lJhxFFYUZ55zmn0WuBCD4pzhirFCKkbomsOoIYmZx5p90LoYWGPdD5g0QmJRKYxbZ6zYoVQ2jVGylSak7KSkFH6RSjpHKFuU+YMyNo5SulkC" & _
	"6I0vonTCitMXPoEpVS2H5FQfEqp2R1opIgAEkJISYARTCukOhmPNI5Ex/wzGHUsicMwA1LHgQ90Y/KpoQHAD+pB/R4NzIaMAB9Xaw1gqaAOsh/A/ptIkWUfhGK1kZH8R" & _
	"gH5GqvgArqRmt4AAPrTroRofBGADkqr6Rmu4D7CEaHARiwpJrEEZsXXwlVjyMWRsaRqwdkLGNBABZmytmyMnaINZqyVpLR2ftKAAAdd6h2osbaskdiq4EZtgSmyNcbVW" & _
	"RJNXe3AA7REar3b0stlAAXBtoRmvJGLjEYAHUWsFcwCD/rnaop9aEICMAPdK5hT6xpeuzdOtAgKuJeGfdq6ggEbkTvAP+p9UCHXrvKkcgIA=="
		With .Events
			.Add(#5/24/2012 11:30:00 AM#,#5/24/2012 2:30:00 PM#).Pictures = "1/2"
			.Add(#5/24/2012 0:45:00 PM#,#5/24/2012 3:45:00 PM#).Pictures = "1,2"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

304
ImageSize property on 16 (default) (specifies the size of control' icons)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.Calendar.Selection = #5/24/2012#
		.ImageSize = 16
		.Images "gBJJgBAIDAAEg4ACEKAD/hz/EMNh8TIRNGwAjEZAEXjAojJAjMLjABAAgjUYkUnlUrlktl0vmExmUzmk1m03nE5nU7nkrQCAntBoVDolFo1HoM/ADAplLptImdMYFOq" & _
	"dSqlXq1QrVbrlGpVWsFNrNdnNjsk7pQAtNroFnt0sh8Yr9iulTuNxs1Eu8OiT/vsnsNVutXlk/oGGtVKxGLxWNtsZtN8iUYuNvy0Zvd+xNYwdwvl4p870GCqc8vOeuVt" & _
	"tmp1knyOayWVy+WzN/ze1wOElenm+12WUz/Bv2/3UyyWrzeutux2GSyGP2dQ33C1ur3GD3M4zUNzHdlWjq/E3nGzVpjWv4HA7fRy/Tv2IrN8rPW6nZ3ve7mUlfu20Z8a" & _
	"cvQyb+vY9jasYoDwMm+LytVBDqKG3z8O3Cb8P+mkAuY9cCQ2uL4KaxDKvkp8RNLEjqugnrwQo/UWPzFyeQw5sNLZFENrI4kOqU66pw8uzmOKvTqNqjULJvGL1JO48GtT" & _
	"GsbLdEL3scxLlyiw8dQeoUVxdLTtyKmUjwGlslRPJsnK1HbAKbKCrsQo8uQk/CeP44iaR/ATnTNPLvyxPU+z9P9AUDQVBowiofJXQ6Oo+kKMpIkjztE4TKn4P6JowfgP" & _
	"nwD5/nAjB8AOeAPo0eAA1IAFH07UhAIMpYAVIYFHqBUhwVjV1S1EtQAHxW65V0AZwAeuQAnwB5gAPYViEDVhwAHTQBkCjB4gOhwDmCyhH0sACAg=="
		With .Events
			.Add(#5/24/2012 11:30:00 AM#,#5/24/2012 2:30:00 PM#).Pictures = "1/2"
			.Add(#5/24/2012 0:45:00 PM#,#5/24/2012 3:45:00 PM#).Pictures = "1,2"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

303
Is it possible to show a different background color for alternate days

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.Background(41) = RGB(0,0,0)
		.Background(42) = RGB(0,0,0)
		.Background(159) = RGB(240,240,240)
		.Background(160) = RGB(128,128,128)
		.Calendar.Select 3
	End With
End Function
</SCRIPT>
</BODY>

302
How can I select all events

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.Calendar.Selection = #5/24/2012#
		With .Events
			.Add #5/24/2012 10:00:00 AM#,#5/24/2012 0:00:00 PM#
			.Add #5/24/2012 10:00:00 AM#,#5/24/2012 0:00:00 PM#
		End With
		.SelectAll 
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

301
How can I unselect all events
<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.Calendar.Selection = #5/24/2012#
		With .Events
			.Add #5/24/2012 10:00:00 AM#,#5/24/2012 0:00:00 PM#
			.Add #5/24/2012 10:00:00 AM#,#5/24/2012 0:00:00 PM#
		End With
		.SelectAll 
		.Selection = ""
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

300
How do I immediately select a newly added event

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Schedule1_AddEvent(Ev)
	' Ev.Selected = True
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()

End Function
</SCRIPT>
</BODY>

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.

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.OnResizeControl = 2048
		.DisplayGroupingButton = True
		.ShowGroupingEvents = True
		.BodyEventForeColor = RGB(255,255,255)
		.DayStartTime = "09:00"
		.DayEndTime = "14:00"
		With .Calendar
			.SelectDate(#5/24/2012#) = True
			.Select 3
		End With
		.ScrollBars = 0
		.ShowViewCompact = 1
		With .Groups
			With .Add(1,"1")
				.Visible = True
				.EventBackColor = RGB(255,0,0)
				.HeaderBackColor = .EventBackColor
				.HeaderForeColor = RGB(255,255,255)
			End With
			With .Add(2,"2")
				.Visible = True
				.EventBackColor = RGB(204,0,0)
				.HeaderBackColor = .EventBackColor
				.HeaderForeColor = RGB(255,255,255)
			End With
			With .Add(3,"3")
				.Visible = True
				.EventBackColor = RGB(153,0,0)
				.HeaderBackColor = .EventBackColor
				.HeaderForeColor = RGB(255,255,255)
			End With
			With .Add(4,"4")
				.Visible = True
				.EventBackColor = RGB(102,0,0)
				.HeaderBackColor = .EventBackColor
				.HeaderForeColor = RGB(255,255,255)
			End With
			With .Add(5,"5")
				.Visible = True
				.EventBackColor = RGB(51,0,0)
				.HeaderBackColor = .EventBackColor
				.HeaderForeColor = RGB(255,255,255)
			End With
		End With
		With .Events
			.Add(#5/24/2012 10:00:00 AM#,#5/24/2012 0:00:00 PM#).GroupID = 1
			.Add(#5/24/2012 10:45:00 AM#,#5/24/2012 0:30:00 PM#).GroupID = 2
			.Add(#5/24/2012 11:30:00 AM#,#5/24/2012 1:30:00 PM#).GroupID = 3
			.Add(#5/24/2012 10:45:00 AM#,#5/24/2012 0:30:00 PM#).GroupID = 4
			.Add(#5/24/2012 10:45:00 AM#,#5/24/2012 0:30:00 PM#).GroupID = 5
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.OnResizeControl = 2048
		.Calendar.Selection = #5/24/2012#
		.DisplayGroupingButton = True
		.ShowGroupingEvents = True
		.BodyEventForeColor = RGB(255,255,255)
		.DayStartTime = "09:00"
		.DayEndTime = "14:00"
		With .Groups
			With .Add(1,"Room1")
				.Visible = True
				.EventBackColor = RGB(255,0,0)
				.HeaderBackColor = .EventBackColor
				.HeaderForeColor = RGB(255,255,255)
			End With
			With .Add(2,"Room2")
				.Visible = True
				.EventBackColor = RGB(204,0,0)
				.HeaderBackColor = .EventBackColor
				.HeaderForeColor = RGB(255,255,255)
			End With
			With .Add(3,"Room3")
				.Visible = True
				.EventBackColor = RGB(153,0,0)
				.HeaderBackColor = .EventBackColor
				.HeaderForeColor = RGB(255,255,255)
			End With
			With .Add(4,"Room4")
				.Visible = True
				.EventBackColor = RGB(102,0,0)
				.HeaderBackColor = .EventBackColor
				.HeaderForeColor = RGB(255,255,255)
			End With
			With .Add(5,"Room5")
				.Visible = True
				.EventBackColor = RGB(51,0,0)
				.HeaderBackColor = .EventBackColor
				.HeaderForeColor = RGB(255,255,255)
			End With
		End With
		With .Events
			.Add(#5/24/2012 10:00:00 AM#,#5/24/2012 0:00:00 PM#).GroupID = 1
			.Add(#5/24/2012 10:45:00 AM#,#5/24/2012 0:30:00 PM#).GroupID = 2
			.Add(#5/24/2012 11:30:00 AM#,#5/24/2012 1:30:00 PM#).GroupID = 3
			.Add(#5/24/2012 10:45:00 AM#,#5/24/2012 0:30:00 PM#).GroupID = 4
			.Add(#5/24/2012 10:45:00 AM#,#5/24/2012 0:30:00 PM#).GroupID = 5
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

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
<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.VerticalScrollWheel = 3
	End With
End Function
</SCRIPT>
</BODY>

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)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.SelectEventStyle = 48
		.AllowAllDayEventScroll = 4416 ' AllDayEventScrollEnum.exAllDayEventWheelScroll Or AllDayEventScrollEnum.exAllDayEventMax4
		.DefaultEventLongLabel = "<%=%><%= ( %3 = 0 ? (`Group's ID:` + %4 + `<br>Group's Caption:` + %262  + `<br>Group's Title: ` + %263 + `<br>` + %256 ) : ( (" & _
	"`Group's ID:` + %4 + ` , ` + %256 ) replace `<br>` with `,` ) ) %>"
		.DefaultEventShortLabel = "<%=%><%=  ( %3 = 0 ? (`Group's ID:` + %4 + `<br>Group's Caption:` + %262  + `<br>Group's Title: ` + %263 + `<br>` + %256 ) : ( " & _
	"(`Group's ID:` + %4 + ` , ` + %256 ) ) replace `<br>` with `\r\n` ) %>"
		.Calendar.Selection = #1/10/2001#
		.DisplayGroupingButton = True
		.ShowGroupingEvents = True
		.HeaderGroupHeight = 1
		.ShowAllDayHeader = True
		.OnResizeControl = 3073 ' OnResizeControlEnum.exCalendarAutoHide Or OnResizeControlEnum.exCalendarFit Or OnResizeControlEnum.exResizePanelRight
		With .Groups
			With .Add(1,"Group 1")
				.Title = "First"
				.Visible = True
			End With
			With .Add(2,"Group 2")
				.Title = "Second"
				.Visible = True
			End With
		End With
		With .Events
			.Add(#1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#).GroupID = 1
			.Add(#1/10/2001 10:00:00 AM#,#1/10/2001 1:00:00 PM#).GroupID = 2
			With .Add(#1/10/2001#,#1/10/2001#)
				.GroupID = 1
				.AllDayEvent = True
			End With
			With .Add(#1/10/2001#,#1/10/2001#)
				.GroupID = 2
				.AllDayEvent = True
			End With
			With .Add(#1/10/2001#,#1/10/2001#)
				.GroupID = 2
				.AllDayEvent = True
			End With
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

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)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.SelectEventStyle = 48
		.DefaultEventLongLabel = "<%=%><%= %4 < 0  ? `<b>` + %256 + `</b> <off -4>(all)` : ( (`Group's ID:` + %4 + `<br>Group's Caption:` + %262  + `<br>Group's " & _
	"Title: ` + %263 + `<br>` + %256 ) replace ( %3 ? `<br>` : ``) with `,` ) %>"
		.DefaultEventShortLabel = "<%=%><%=  %4 < 0 ? %256 : ( %3 = 0 ? (`Group's ID:` + %4 + `<br>Group's Caption:` + %262  + `<br>Group's Title: ` + %263 + `<br" & _
	">` + %256 ) : ( (`Group's ID:` + %4 + ` , ` + %256 ) ) replace `<br>` with `\r\n` ) %>"
		.Calendar.Selection = #1/10/2001#
		.DisplayGroupingButton = True
		.ShowGroupingEvents = True
		.HeaderGroupHeight = 1
		.ShowAllDayHeader = True
		.OnResizeControl = 3073 ' OnResizeControlEnum.exCalendarAutoHide Or OnResizeControlEnum.exCalendarFit Or OnResizeControlEnum.exResizePanelRight
		With .Groups
			With .Add(1,"Group 1")
				.Title = "First"
				.Visible = True
			End With
			With .Add(2,"Group 2")
				.Title = "Second"
				.Visible = True
			End With
		End With
		With .Events
			.Add(#1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#).GroupID = 1
			.Add(#1/10/2001 10:00:00 AM#,#1/10/2001 1:00:00 PM#).GroupID = 2
			With .Add(#1/10/2001#,#1/10/2001#)
				.GroupID = 1
				.AllDayEvent = True
			End With
			With .Add(#1/10/2001#,#1/10/2001#)
				.GroupID = -1
				.AllDayEvent = True
			End With
			With .Add(#1/10/2001#,#1/10/2001#)
				.GroupID = 2
				.AllDayEvent = True
			End With
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.Calendar.Selection = #5/24/2012#
		.DefaultEventLongLabel = "<%=%><%=%5%><br><%=%256%>"
		With .Events
			.Add(#5/24/2012 9:00:00 AM#,#5/24/2012 10:00:00 AM#).Caption = "textzeile1<br>textzeile2<br>textzeile3"
			.Add(#5/24/2012 10:00:00 AM#,#5/24/2012 11:00:00 AM#).Caption = "textzeile1<br><fgcolor-FF0000><b>textzeile2</b></fgcolor>"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.TimeScales.Item(0).Visible = False
		.OnResizeControl = 2048
		.ShowViewCompact = -1
		With .Calendar
			.Selection = #5/24/2012#
			.Select 2
		End With
		With .Events
			.Add #5/24/2012 10:00:00 AM#,#5/24/2012 0:00:00 PM#
			.Add(#5/24/2012 10:45:00 AM#,#5/24/2012 0:30:00 PM#).ShowStatus = False
			.Add #5/24/2012 11:30:00 AM#,#5/24/2012 1:30:00 PM#
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #5/21/2012#
			.Selection = "value in (#5/21/2012#,#5/22/2012#,#5/23/2012#,#5/24/2012#,#5/25/2012#)"
		End With
		.OnResizeControl = 768 ' OnResizeControlEnum.exChangePanels Or OnResizeControlEnum.exHideSplitter
		.ScrollBars = 2
		.ShowViewCompact = 1
		.AllowMoveSchedule = 0
		.AllowResizeSchedule = 0
		.AllowToggleSchedule = 0
		.AllowExchangePanels = 0
		.AllowMoveTimeScale = 0
		.AllowResizeTimeScale = 0
		.AllowMultiDaysEvent = False
		.Background(36) = .Background(37)
		.TimeScales.Item(0).MinorTimeRuler = "00:10"
		.DayStartTime = "10:00"
		.DayEndTime = "14:00"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.OnResizeControl = 2048
		.ShowAllDayHeader = True
		.Calendar.Selection = #5/21/2012#
		.Calendar.Selection = "value in (#5/21/2012#,#5/22/2012#,#5/23/2012#,#5/24/2012#,#5/25/2012#)"
		.ShowViewCompact = -1
		.ScrollBars = 2
		With .Events
			.Add(#5/22/2012#,#5/23/2012#).AllDayEvent = True
			.Add(#5/21/2012#,#5/24/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/24/2012#).AllDayEvent = True
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.SelectDate(#5/20/2012#) = True
			.Select 5
		End With
		.OnResizeControl = 768 ' OnResizeControlEnum.exChangePanels Or OnResizeControlEnum.exHideSplitter
		.ScrollBars = 0
		.ShowViewCompact = 1
		.AllowMoveSchedule = 0
		.AllowResizeSchedule = 0
		.AllowToggleSchedule = 0
		.AllowExchangePanels = 0
		.AllowMoveTimeScale = 0
		.AllowResizeTimeScale = 0
		.AllowMultiDaysEvent = False
		.Background(36) = .Background(37)
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.OnResizeControl = 768 ' OnResizeControlEnum.exChangePanels Or OnResizeControlEnum.exHideSplitter
		.Calendar.Selection = #6/27/2012#
		With .MarkZones.Add("zoneA",#6/27/2012 9:00:00 AM#,#6/27/2012 11:00:00 AM#)
			.Pattern.Type = 0
			.LongLabel = "Yellow"
			.BackColor = RGB(255,255,0)
		End With
		With .MarkZones.Add("zoneB",#6/27/2012 0:00:00 PM#,#6/27/2012 1:30:00 PM#)
			.Pattern.Type = 0
			.LongLabel = "Green"
			.BackColor = RGB(0,255,0)
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.Calendar.Selection = Schedule1.ExecuteTemplate("#5/24/2012#")
		With .MarkTimes
			With .Add("timer",Schedule1.ExecuteTemplate("#5/24/2012 11:35#"))
				.Movable = True
				.LineColor = RGB(0,0,255)
				.StatusEventBackColor = RGB(0,0,255)
				.TimeScaleLineColor = RGB(0,0,255)
				.TimeScaleLabel = "<fgcolor=0000FF><b><%hh%>:<%nn%> <%AM/PM%>"
			End With
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

287
How do I display a picture with transparency

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Schedule1_PictureClick(Key)
	With Schedule1
		alert( Key )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.ShowSelectEvent = False
		.Calendar.Selection = #5/24/2012#
		With .Pictures
			.Add "pic1","gCJKBOI4NBQaBQAhQNJJIIhShQAEEREAIA0ROZ6PT0hQKYZpIZDKBJkIgKByN5mNJsMsKPABVqXBI4KjrD7HL6GWKPJKiCIhMiySidKxbOzZZJWMLsGL2FqyLjZMonN" & _
	"a2CyiZDOUqsQqUEq0ZCNISFXDIFxzZ4hUrbdrefZ/fz3ZgzZ75Tz3XjvHZnZznPieb55AKgAqmRyOOzEhR7XirWaWQQMTa+QIhDbZOZAAoYUCPDAQG7FXI4JRrNCoIRd" & _
	"PyyFr0AYifDUKZ+PCufK4RReALLUbtdBHSrGTCCNKqT4MbRqUxxQx+CAAEQ2VCBbxqGaLYDZNgzFbCbLDarRCrqMYMM6cWqpHKUDqhZjnVijEoLcp0FCjVg2OYhTjN/Q" & _
	"Wk4bo4iseBsAcABIDoPA5g2HgADIkQfDCNxwkEQYnFmAIAB4OJHGcKAPioGRKFKdh2g6UB8iiZ5QkYQp3gKWhDlsWYmAARBcgCIAUniVpmiSA5AF3A4wG8P41nGWwDDA" & _
	"W4MAAIpSG+bRzBoGx3AeCJhh6C4ljCUJGnSRBUFKAIQA6EgIHM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012 0:00:00 PM#).Pictures = "pic1"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

286
I need a border around each event/item on scheduler. Can you direct me to propery to use (to all)

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Schedule1_AddEvent(Ev)
	' Ev.BodyBackgroundExt = "[frame=RGB(0,0,0),framethick]"
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.SelectEventStyle = 48
		.Calendar.Selection = #1/10/2001#
		.OnResizeControl = 3073 ' OnResizeControlEnum.exCalendarAutoHide Or OnResizeControlEnum.exCalendarFit Or OnResizeControlEnum.exResizePanelRight
		.StatusEventSize = 0
		.DefaultEventPadding(-1) = 4
		With .Events
			.Add #1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#
			.Add #1/10/2001 9:00:00 AM#,#1/10/2001 1:00:00 PM#
			.Add #1/10/2001 0:30:00 PM#,#1/10/2001 1:00:00 PM#
		End With
	End With
End Function
</SCRIPT>
</BODY>

285
I need a border around each event/item on scheduler. Can you direct me to propery to use (distinct)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.SelectEventStyle = 48
		.Calendar.Selection = #1/10/2001#
		.OnResizeControl = 3073 ' OnResizeControlEnum.exCalendarAutoHide Or OnResizeControlEnum.exCalendarFit Or OnResizeControlEnum.exResizePanelRight
		.StatusEventSize = 0
		.DefaultEventPadding(-1) = 4
		With .Events
			.Add(#1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#).BodyBackgroundExt = "[frame=RGB(0,0,0),framethick]"
			.Add(#1/10/2001 9:00:00 AM#,#1/10/2001 1:00:00 PM#).BodyBackgroundExt = "[frame=RGB(128,128,128),framethick]"
			.Add(#1/10/2001 0:30:00 PM#,#1/10/2001 1:00:00 PM#).BodyBackgroundExt = "[frame=RGB(0,0,0),framethick]"
		End With
	End With
End Function
</SCRIPT>
</BODY>

284
How can I change/specify the caption of the groups, when the user clicks the drop down button

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.Calendar.Selection = #5/24/2012#
		.DisplayGroupingButton = True
		.ShowGroupingEvents = True
		With .Groups
			With .Add(1,"Group A")
				.Caption = "<fgcolor=808080><c><b>Group A</b><c><br><font ;6>France, Romania, Albania and Switzerland"
				.Visible = True
				.EventBackColor = RGB(128,128,128)
			End With
			With .Add(2,"Group B")
				.Caption = "<fgcolor=FF0000><c><b>Group B</b><c><br><font ;6>England, Russia, Wales and Slovakia"
				.Visible = True
				.EventBackColor = RGB(255,0,0)
			End With
		End With
		With .Events
			.Add(#5/24/2012 10:00:00 AM#,#5/24/2012 0:00:00 PM#).GroupID = 1
			.Add(#5/24/2012 10:45:00 AM#,#5/24/2012 0:30:00 PM#).GroupID = 2
			.Add(#5/24/2012 11:30:00 AM#,#5/24/2012 1:30:00 PM#).GroupID = 1
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

283
Is it possible to hide the group header, but still display the groups/captions

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.HTMLPicture("pic1") = "gCJKBOI4NBQaBQAhQNJJIIhShQAEEREAIA0ROZ6PT0hQKYZpIZDKBJkIgKByN5mNJsMsKPABVqXBI4KjrD7HL6GWKPJKiCIhMiySidKxbOzZZJWMLsGL2FqyLjZMonN" & _
	"a2CyiZDOUqsQqUEq0ZCNISFXDIFxzZ4hUrbdrefZ/fz3ZgzZ75T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8f0" & _
	"hNgIB7BEhghKBXBThdEpDkheg/B+hdB8Brh2htgzBVBAEADiS0kU52cjV4vDsbRgwy6gA0pl5EQke1MpQKMAa4iWgDwJU68n+MHuAScfxUfj+wi6EFuwHC5Wkhgkuwkc" & _
	"40G2qeE8elEOF8lHCNAeTwsMTwqWOyWeIGQjxIbyQB0AFHgLayJHARwI0iE+HuGQEAAlT0IR0KiDWW2I2EYcUoaE8/giYAEiGAEiijXAEGwpx4HmeAWQNXcBFGTwaQik" & _
	"DlE9Bo41iYTuOA4zjnB2qzk2NzeEy4YkGwlQIikAE8hGM805rEEAmAKmUtQEkHuO9yj2u1GofEONxMVR8SiSulw6EMjEESDOTgGgEQi2MjjU5mI5l4pSWl0s1e+vUCXC" & _
	"+iGQtjEIwOCXi+xqAGowVeoQU+jgeX63GgsHeq1CoTREEpAkL0hgNAA9AoFUQTRBYLzAJgIwAEQIhZAAZjNIEUAXMw+gUBQPCNHE0YFBsKgXC8Xg8DsRySGwhQFAWFQY" & _
	"IE0gAB4pjjFcrhcPk4ziMUiy/AMzQwAIZwUPsxwgGsAg0AUCiCOgkQyhEAhFAAzAgCs6h9BYjAqCkgjiEQDA4BEhhuF01SdLoqjaGARwjIY4APF44QEC4JBwNwhDOHED" & _
	"wRAYDwVF49QxFk9hBA4KQnPMh4BDw9hIEkKDFFgoBGL4IQiEYGS+OQZBdKYLDAIsSwLMM9xkMo+y4OsRRICEkAEBgqShCkEArOMeBBEwTCiCcPgiDoNQpE48A9P4owtJ" & _
	"0CxoMEsACFkQjIM0zQVCk8hRH4LT4LcoT2FkZAmBMeCyAA8QYIASQJBEnSWIg/BtMw0SpOkUDEBsayZAAEADK0GTrAYICzIsuTMLgkBNH45gnOU8QAEgAT5JcFCSCIGg" & _
	"TBkFiNJkHRzLE9g3CA5QJAk0CGBF7gAywSRFE4RCuEIYCCQE="
		.Calendar.Selection = #5/24/2012#
		.DisplayGroupingButton = True
		.ShowGroupingEvents = True
		With .Groups
			With .Add(1,"<c><b>Group</b><br><c><img>pic1</img>")
				.Visible = True
				.EventBackColor = RGB(128,128,128)
			End With
			With .Add(2,"<c><b>Group</b><br><c><img>pic2</img>")
				.Visible = True
				.EventBackColor = RGB(255,0,0)
			End With
		End With
		With .Events
			.Add(#5/24/2012 10:00:00 AM#,#5/24/2012 0:00:00 PM#).GroupID = 1
			.Add(#5/24/2012 10:45:00 AM#,#5/24/2012 0:30:00 PM#).GroupID = 2
			.Add(#5/24/2012 11:30:00 AM#,#5/24/2012 1:30:00 PM#).GroupID = 1
		End With
		.HeaderGroupHeight = -1
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

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)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.OnResizeControl = 768 ' OnResizeControlEnum.exChangePanels Or OnResizeControlEnum.exHideSplitter
		With .Calendar
			.Selection = "#1/1/2016#"
			.Selection = "(int((yearday(value) -1- ((7-weekday(value - yearday(value) + 1)) mod 7) )/7) = int((yearday(#1/7/2016#))/7))"
		End With
		.BorderSelStyle = -1
		.ShowViewCompact = -1
		With .Events
			.Add #1/10/2016 8:30:00 AM#,#1/10/2016 2:30:00 PM#
			.Add #1/11/2016 9:30:00 AM#,#1/11/2016 11:30:00 AM#
			.Add #1/15/2016 10:30:00 AM#,#1/15/2016 11:30:00 AM#
		End With
		s = .Calendar.Selection
		.Calendar.Selection = "0"
		var_CopyTo = .CopyTo("c:/temp/test.png")
		alert( "Look for c:/temp/test.png file" )
		.Calendar.Selection = s
	End With
End Function
</SCRIPT>
</BODY>

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)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.OnResizeControl = 768 ' OnResizeControlEnum.exChangePanels Or OnResizeControlEnum.exHideSplitter
		With .Calendar
			.Selection = #1/1/2012#
			.SelectDate(#1/1/2012#) = False
		End With
		With .Events
			.Add #1/1/2012 8:30:00 AM#,#1/1/2012 9:30:00 AM#
			.Add #1/1/2012 8:35:00 AM#,#1/1/2012 9:35:00 AM#
			.Add #1/1/2012 10:30:00 AM#,#1/1/2012 0:30:00 PM#
		End With
		var_CopyTo = .CopyTo("c:/temp/test.png")
		alert( "Look for c:/temp/test.png file" )
	End With
End Function
</SCRIPT>
</BODY>

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)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		With .Calendar
			.Selection = #1/1/2012#
			.SelectDate(#1/1/2012#) = False
		End With
		With .Events
			.Add #1/1/2012 8:30:00 AM#,#1/1/2012 9:30:00 AM#
			.Add #1/1/2012 8:35:00 AM#,#1/1/2012 9:35:00 AM#
			.Add #1/1/2012 10:30:00 AM#,#1/1/2012 0:30:00 PM#
		End With
		var_CopyTo = .CopyTo("c:/temp/test.png")
		alert( "Look for c:/temp/test.png file" )
	End With
End Function
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowSelectCreateEvent = 2
		.OnResizeControl = 2048
		.ShowAllDayHeader = True
		.Calendar.Selection = #5/21/2012#
		.Calendar.Selection = "value >= #5/20/2012# and value <= #5/26/2012#"
		.ShowViewCompact = -1
		.AllowAllDayEventScroll = 4403 ' &H23 Or AllDayEventScrollEnum.exAllDayEventWheelScroll Or AllDayEventScrollEnum.exAllDayEventNoMax
		.BodyEventBackColor = RGB(128,128,128)
		.Background(165) = RGB(220,220,220)
		With .Events
			.Add(#5/21/2012#,#5/24/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/23/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/24/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/23/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/24/2012#,#5/25/2012#).AllDayEvent = True
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

278
Is it possible to highlight the newly created event ( runtime creation )
<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.AllowSelectCreateEvent = 2
	End With
End Function
</SCRIPT>
</BODY>

277
Is it possible to select the newly created event ( runtime creation )
<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.AllowSelectCreateEvent = 1
	End With
End Function
</SCRIPT>
</BODY>

276
I have noticed that the all-day header change its background, if has scrolling events. Is it possible to change that (ebn)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.VisualAppearance.Add 1,"gBFLBCJwBAEHhEJAAChABRUIQAAYAQGKIaBoAKBQAGaAoDDQMQ3QwAAwjSLEEwsACEIrjKCRShyCYZRrGQBQTCIZBqEqSZLiEZRQCWIAxATGchwHIEQgND6cIDmMAHf" & _
	"j2PI+RZKMoRZJUExZFyERhASQZZoyN40UzOc6vfL9KRDEAEIRKAyTDLQdRyGSMMgEVBJBCbMiNBqhESIJo+GI4BhFYSUZalGSnO6gIBAgIA=="
		.AllowSelectCreateEvent = 2
		.OnResizeControl = 2048
		.ShowAllDayHeader = True
		.Calendar.Selection = #5/21/2012#
		.Calendar.Selection = "value in (#5/21/2012#,#5/22/2012#,#5/23/2012#,#5/24/2012#,#5/25/2012#)"
		.ShowViewCompact = -1
		.AllowAllDayEventScroll = 4416 ' AllDayEventScrollEnum.exAllDayEventWheelScroll Or AllDayEventScrollEnum.exAllDayEventMax4
		.Background(165) = &H1000000
		With .Events
			.Add(#5/22/2012#,#5/23/2012#).AllDayEvent = True
			.Add(#5/21/2012#,#5/24/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/24/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/23/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/24/2012#,#5/26/2012#).AllDayEvent = True
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

275
I have noticed that the all-day header change its background, if has scrolling events. Is it possible to change that (solid)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowSelectCreateEvent = 2
		.OnResizeControl = 2048
		.ShowAllDayHeader = True
		.Calendar.Selection = #5/21/2012#
		.Calendar.Selection = "value in (#5/21/2012#,#5/22/2012#,#5/23/2012#,#5/24/2012#,#5/25/2012#)"
		.ShowViewCompact = -1
		.AllowAllDayEventScroll = 4416 ' AllDayEventScrollEnum.exAllDayEventWheelScroll Or AllDayEventScrollEnum.exAllDayEventMax4
		.Background(165) = RGB(220,220,220)
		With .Events
			.Add(#5/22/2012#,#5/23/2012#).AllDayEvent = True
			.Add(#5/21/2012#,#5/24/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/24/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/23/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/24/2012#,#5/26/2012#).AllDayEvent = True
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

274
I have noticed that the all-day header change its background, if has scrolling events. Is it possible to remove that

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowSelectCreateEvent = 2
		.OnResizeControl = 2048
		.ShowAllDayHeader = True
		.Calendar.Selection = #5/21/2012#
		.Calendar.Selection = "value in (#5/21/2012#,#5/22/2012#,#5/23/2012#,#5/24/2012#,#5/25/2012#)"
		.ShowViewCompact = -1
		.AllowAllDayEventScroll = 4416 ' AllDayEventScrollEnum.exAllDayEventWheelScroll Or AllDayEventScrollEnum.exAllDayEventMax4
		.Background(165) = RGB(0,0,0)
		With .Events
			.Add(#5/22/2012#,#5/23/2012#).AllDayEvent = True
			.Add(#5/21/2012#,#5/24/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/24/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/23/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/24/2012#,#5/26/2012#).AllDayEvent = True
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

273
The user scrolls through the all-day events, when mouse wheel is rotated. Can I disable that
<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowSelectCreateEvent = 2
		.OnResizeControl = 2048
		.ShowAllDayHeader = True
		.Calendar.Selection = #5/21/2012#
		.Calendar.Selection = "value in (#5/21/2012#,#5/22/2012#,#5/23/2012#,#5/24/2012#,#5/25/2012#)"
		.ShowViewCompact = -1
		.AllowAllDayEventScroll = 320 ' AllDayEventScrollEnum.exAllDayEventScroll Or AllDayEventScrollEnum.exAllDayEventMax4
		With .Events
			.Add(#5/22/2012#,#5/23/2012#).AllDayEvent = True
			.Add(#5/21/2012#,#5/24/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/24/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/23/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/24/2012#,#5/26/2012#).AllDayEvent = True
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

272
Is it possible to specify the number of all-day events to be visible

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowSelectCreateEvent = 2
		.OnResizeControl = 2048
		.ShowAllDayHeader = True
		.Calendar.Selection = #5/21/2012#
		.Calendar.Selection = "value in (#5/21/2012#,#5/22/2012#,#5/23/2012#,#5/24/2012#,#5/25/2012#)"
		.ShowViewCompact = -1
		.AllowAllDayEventScroll = 4416 ' AllDayEventScrollEnum.exAllDayEventWheelScroll Or AllDayEventScrollEnum.exAllDayEventMax4
		With .Events
			.Add(#5/22/2012#,#5/23/2012#).AllDayEvent = True
			.Add(#5/21/2012#,#5/24/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/24/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/23/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/24/2012#,#5/26/2012#).AllDayEvent = True
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

271
How do I disable scrolling the all-day header
<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.AllowSelectCreateEvent = 2
		.OnResizeControl = 2048
		.ShowAllDayHeader = True
		.Calendar.Selection = #5/21/2012#
		.Calendar.Selection = "value in (#5/21/2012#,#5/22/2012#,#5/23/2012#,#5/24/2012#,#5/25/2012#)"
		.ShowViewCompact = -1
		.AllowAllDayEventScroll = 0
		With .Events
			.Add(#5/22/2012#,#5/23/2012#).AllDayEvent = True
			.Add(#5/21/2012#,#5/24/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/24/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/22/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/23/2012#,#5/25/2012#).AllDayEvent = True
			.Add(#5/24/2012#,#5/26/2012#).AllDayEvent = True
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

270
How can I display the current week only, when the user selects the date in the calendar panel

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.OnResizeControl = 129 ' OnResizeControlEnum.exDisableSplitter Or OnResizeControlEnum.exResizePanelRight
		With .Calendar
			.OnSelectDate = 1
			.Selection = #1/10/2001#
			.SingleSel = True
		End With
		.Calendar.FirstWeekDay = 1
		.ScrollBars = 0
		.ShowViewCompact = -1
		.AllowResizeSchedule = 0
		.AllowMoveSchedule = 0
		.AllowToggleSchedule = 0
		.Background(35) = .Background(34)
		.TimeScales.Item(0).AllowResize = False
		.DayViewWidth = 0
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

269
How do I capture the control and save it as PDF (Method 2)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		With .Calendar
			.Selection = #6/1/2001#
			.Selection = "value in (#6/11/2001#,#6/12/2001#)"
		End With
		.DayViewWidth = 512
		.DayViewHeight = 512
		With .Events
			.Add #6/11/2001 10:00:00 AM#,#6/11/2001 1:00:00 PM#
			.Add #6/12/2001 10:00:00 AM#,#6/12/2001 1:00:00 PM#
		End With
		var_CopyTo = .CopyTo("C:/Temp/test.pdf")
		alert( "Look For: C:/Temp/test.pdf file" )
	End With
End Function
</SCRIPT>
</BODY>

268
How do I capture the control and save it as PDF (Method 1)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		With .Calendar
			.Selection = #6/1/2001#
			.Selection = "value in (#6/11/2001#,#6/12/2001#)"
		End With
		.DayViewWidth = 512
		.DayViewHeight = 512
		With .Events
			.Add #6/11/2001 10:00:00 AM#,#6/11/2001 1:00:00 PM#
			.Add #6/12/2001 10:00:00 AM#,#6/12/2001 1:00:00 PM#
		End With
		With CreateObject("Exontrol.Print")
			.Options = "FitToPage=On"
			.PrintExt = Schedule1.Object
			.CopyTo "C:/Temp/test.pdf"
			alert( "Look For: C:/Temp/test.pdf file" )
		End With
	End With
End Function
</SCRIPT>
</BODY>

267
How do I capture the control and save it as an image (JPG or BMP) (Method 2)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		With .Calendar
			.Selection = #6/1/2001#
			.Selection = "value in (#6/11/2001#,#6/12/2001#)"
		End With
		.DayViewWidth = 512
		.DayViewHeight = 512
		With .Events
			.Add #6/11/2001 10:00:00 AM#,#6/11/2001 1:00:00 PM#
			.Add #6/12/2001 10:00:00 AM#,#6/12/2001 1:00:00 PM#
		End With
		var_CopyTo = .CopyTo("C:/Temp/test.bmp")
		var_CopyTo1 = .CopyTo("C:/Temp/test.jpg")
		alert( "Look For: C:/Temp/test.* file" )
	End With
End Function
</SCRIPT>
</BODY>

266
How do I capture the control and save it as an image (JPG or BMP) (Method 1)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		With .Calendar
			.Selection = #6/1/2001#
			.Selection = "value in (#6/11/2001#,#6/12/2001#)"
		End With
		.DayViewWidth = 512
		.DayViewHeight = 512
		With .Events
			.Add #6/11/2001 10:00:00 AM#,#6/11/2001 1:00:00 PM#
			.Add #6/12/2001 10:00:00 AM#,#6/12/2001 1:00:00 PM#
		End With
		With CreateObject("Exontrol.Print")
			.Options = "FitToPage=On"
			.PrintExt = Schedule1.Object
			.CopyTo "C:/Temp/test.bmp"
			.CopyTo "C:/Temp/test.jpg"
			alert( "Look For: C:/Temp/test.* file" )
		End With
	End With
End Function
</SCRIPT>
</BODY>

265
Recurrence: The 2nd to last weekday of the month

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/29/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/29/1997 9:00:00 AM#,#9/29/1997 2:00:00 PM#).Repetitive = "FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-2"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

264
Recurrence: The 3rd instance into the month of one of Tuesday, Wednesday or Thursday, for the next 3 months

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/4/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/4/1997 9:00:00 AM#,#9/4/1997 2:00:00 PM#).Repetitive = "FREQ=MONTHLY;COUNT=3;BYDAY=TU,WE,TH;BYSETPOS=3"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

263
Recurrence: The last work day of the month

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/30/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#8/5/1997 9:00:00 AM#,#8/5/1997 2:00:00 PM#).Repetitive = "FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

262
Recurrence: An example where the days generated makes a difference because of WKST (Sample 2)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #8/5/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 0
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#8/5/1997 9:00:00 AM#,#8/5/1997 2:00:00 PM#).Repetitive = "FREQ=WEEKLY;INTERVAL=2;COUNT=4;BYDAY=TU,SU"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

261
Recurrence: An example where the days generated makes a difference because of WKST (Sample 1)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #8/5/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#8/5/1997 9:00:00 AM#,#8/5/1997 2:00:00 PM#).Repetitive = "FREQ=WEEKLY;INTERVAL=2;COUNT=4;BYDAY=TU,SU"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

260
Recurrence: Every four years, the first Tuesday after a Monday in November, forever (U.S. Presidential Election day)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #11/5/1996#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#11/5/1996 9:00:00 AM#,#11/5/1996 2:00:00 PM#).Repetitive = "FREQ=YEARLY;INTERVAL=4;BYMONTH=11;BYDAY=TU;BYMONTHDAY=2,3,4,5,6,7,8"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

259
Recurrence: The first Saturday that follows the first Sunday of the month, forever

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/13/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/13/1997 9:00:00 AM#,#9/13/1997 2:00:00 PM#).Repetitive = "FREQ=MONTHLY;BYDAY=SA;BYMONTHDAY=7,8,9,10,11,12,13"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

258
Recurrence: Every Friday the 13th, forever

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #2/13/1998#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/2/1997 9:00:00 AM#,#9/2/1997 2:00:00 PM#).Repetitive = "FREQ=MONTHLY;BYDAY=FR;BYMONTHDAY=13"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

257
Recurrence: Every Thursday, but only during June, July, and August, forever

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #6/5/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#6/5/1997 9:00:00 AM#,#6/5/1997 2:00:00 PM#).Repetitive = "FREQ=YEARLY;BYDAY=TH;BYMONTH=6,7,8"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

256
Recurrence: Every Thursday in March, forever

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #3/13/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#3/13/1997 9:00:00 AM#,#3/13/1997 2:00:00 PM#).Repetitive = "FREQ=YEARLY;BYMONTH=3;BYDAY=TH"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

255
Recurrence: Monday of week number 20 (where the default start of the week is Monday), forever

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #5/12/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#5/12/1997 9:00:00 AM#,#5/12/1997 2:00:00 PM#).Repetitive = "FREQ=YEARLY;BYWEEKNO=20;BYDAY=MO"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

254
Recurrence: Every 20th Monday of the year, forever

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #5/19/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#1/1/1997 9:00:00 AM#,#1/1/1997 2:00:00 PM#).Repetitive = "FREQ=YEARLY;BYDAY=20MO"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

253
Recurrence: Every 3rd year on the 1st, 100th and 200th day for 10 occurrences

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #1/1/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#1/1/1997 9:00:00 AM#,#1/1/1997 2:00:00 PM#).Repetitive = "FREQ=YEARLY;INTERVAL=3;COUNT=10;BYYEARDAY=1,100,200"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

252
Recurrence: Every other year on January, February, and March for 10 occurrences

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #3/10/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#3/10/1997 9:00:00 AM#,#3/10/1997 2:00:00 PM#).Repetitive = "FREQ=YEARLY;INTERVAL=2;COUNT=10;BYMONTH=1,2,3"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

251
Recurrence: Yearly in June and July for 10 occurrences

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #6/10/1997#
			.ShowNonMonthDays = False
			.MaxMonthX = 2
			.MaxMonthY = 2
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#6/10/1997 9:00:00 AM#,#6/10/1997 2:00:00 PM#).Repetitive = "FREQ=YEARLY;COUNT=10;BYMONTH=6,7"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

250
Recurrence: Every Tuesday, every other month

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/2/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/2/1997 9:00:00 AM#,#9/2/1997 2:00:00 PM#).Repetitive = "FREQ=MONTHLY;INTERVAL=2;BYDAY=TU"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

249
Recurrence: Every 18 months on the 10th thru 15th of the month for 10 occurrences

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/10/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/10/1997 9:00:00 AM#,#9/10/1997 2:00:00 PM#).Repetitive = "FREQ=MONTHLY;INTERVAL=18;COUNT=10;BYMONTHDAY=10,11,12,13,14,15"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

248
Recurrence: Monthly on the first and last day of the month for 10 occurrences

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/30/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/3/1997 9:00:00 AM#,#9/3/1997 2:00:00 PM#).Repetitive = "FREQ=MONTHLY;COUNT=10;BYMONTHDAY=1,-1"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

247
Recurrence: Monthly on the 2nd and 15th of the month for 10 occurrences

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/2/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/2/1997 9:00:00 AM#,#9/2/1997 2:00:00 PM#).Repetitive = "FREQ=MONTHLY;COUNT=10;BYMONTHDAY=2,15"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

246
Recurrence: Monthly on the third to the last day of the month, forever

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/28/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/28/1997 9:00:00 AM#,#9/28/1997 2:00:00 PM#).Repetitive = "FREQ=MONTHLY;BYMONTHDAY=-3"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

245
Recurrence: Monthly on the second to last Monday of the month for 6 months

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/22/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/22/1997 9:00:00 AM#,#9/22/1997 2:00:00 PM#).Repetitive = "FREQ=MONTHLY;COUNT=6;BYDAY=-2MO"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

244
Recurrence: Every other month on the 1st and last Sunday of the month for 10 occurrences

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/7/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/7/1997 9:00:00 AM#,#9/7/1997 2:00:00 PM#).Repetitive = "FREQ=MONTHLY;INTERVAL=2;COUNT=10;BYDAY=1SU,-1SU"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

243
Recurrence: Monthly on the 1st Friday until December 24, 1997

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/5/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/5/1997 9:00:00 AM#,#9/5/1997 2:00:00 PM#).Repetitive = "FREQ=MONTHLY;UNTIL=19971224T000000Z;BYDAY=1FR"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

242
Recurrence: Monthly on the 1st Friday for ten occurrences

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/5/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/5/1997 9:00:00 AM#,#9/5/1997 2:00:00 PM#).Repetitive = "FREQ=MONTHLY;COUNT=10;BYDAY=1FR"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

241
Recurrence: Every other week on Tuesday and Thursday, for 8 occurrences

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/16/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 0
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/2/1997 9:00:00 AM#,#9/2/1997 2:00:00 PM#).Repetitive = "FREQ=WEEKLY;INTERVAL=2;COUNT=8;WKST=SU;BYDAY=TU,TH"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

240
Recurrence: Every other week on Monday, Wednesday and Friday until December 24, 1997, but starting on Tuesday, September 2, 1997

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/17/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 0
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/2/1997 9:00:00 AM#,#9/2/1997 2:00:00 PM#).Repetitive = "FREQ=WEEKLY;INTERVAL=2;UNTIL=19971224T000000Z;WKST=SU;BYDAY=MO,WE,FR"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

239
Recurrence: Weekly on Tuesday and Thursday for 5 weeks

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/16/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 0
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/2/1997 9:00:00 AM#,#9/2/1997 2:00:00 PM#).Repetitive = "FREQ=WEEKLY;UNTIL=19971007T000000Z;WKST=SU;BYDAY=TU,TH"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

238
Recurrence: Weekly on Tuesday and Thursday for 5 weeks

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/16/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 0
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/2/1997 9:00:00 AM#,#9/2/1997 2:00:00 PM#).Repetitive = "FREQ=WEEKLY;COUNT=10;WKST=SU;BYDAY=TU,TH"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

237
Recurrence: Every other day - forever

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/4/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/2/1997 9:00:00 AM#,#9/2/1997 2:00:00 PM#).Repetitive = "FREQ=DAILY;INTERVAL=2"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

236
Recurrence: Daily until December 24, 1997

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/17/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			.FirstWeekDay = 1
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/2/1997 9:00:00 AM#,#9/2/1997 2:00:00 PM#).Repetitive = "FREQ=DAILY;UNTIL=19971224T000000Z"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

235
Recurrence: Daily for 10 occurrences

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #9/9/1997#
			.ShowNonMonthDays = False
			.MaxMonthY = 4
			With .HighlightEvent
				.Pattern.Type = 256
				.Bold = False
			End With
			.FirstWeekDay = 1
		End With
		.ShowViewCompact = -1
		.BorderSelStyle = -1
		.Background(81) = RGB(240,240,240)
		With .Events
			.Add(#9/2/1997 9:00:00 AM#,#9/2/1997 2:00:00 PM#).Repetitive = "FREQ=DAILY;COUNT=10"
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

234
How do I display the week number according, so the January 1st is in the first week

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #1/1/2016#
			.FirstWeekDay = 0
			.DisplayWeekNumberAs = 1
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

233
How do I display the week number according to ISO8601 standard

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #1/4/2016#
			.FirstWeekDay = 1
			.DisplayWeekNumberAs = 0
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

232
How do I hide the week number

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.FirstWeekDay = 1
			.ShowWeeks = False
			.ShowNonMonthDays = False
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

231
How can I change the background color of the all day header

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.OnResizeControl = 2048
		.ShowAllDayHeader = True
		With .Calendar
			.FirstWeekDay = 1
			.SelectDate(#5/8/2012#) = True
			.Select 3
			.SelectDate(#5/15/2012#) = False
			.Select 19 ' SelectCalendarDateEnum.exSelectToggle Or SelectCalendarDateEnum.exSelectWeek
		End With
		.Background(87) = RGB(240,240,240)
		.HeaderAllDayEventHeight = -20
		.Events.Add(#5/8/2012#,#5/17/2012#).AllDayEvent = True
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

230
How can I display a single text on a specified date

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.Calendar.Selection = #5/26/2012#
		.Calendar.Selection = "value in (#05/23/2012#,#05/24/2012#,#05/25/2012#)"
		.NonworkingPatterns.Add(1234,0).BackgroundExt = "[text=`<font ;6><fgcolor 808080>just a notice`,align=0x11]"
		.NonworkingTimes.Add "value = #05/25/2012#","09:00","10:00",1234
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

229
I am using the control's DataSource property, the question is how can I get the event's identifier Datafield(exEventID)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		Set rs = CreateObject("ADOR.Recordset")
		With rs
			.Open "Events","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Program Files\Exontrol\ExSchedule\Sample\Access2007\datasource.accdb",3,3
		End With
		.BeginUpdate 
		.Calendar.Selection = #11/11/2013#
		.DataField(1) = "Start"
		.DataField(2) = "End"
		.DataField(11) = "Extra"
		.DataSource = rs
		alert( .Events.Item(1).KnownProperty(12) )
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

228
Is it possible to display some text/image on the schedule's view background

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.Calendar.Selection = #5/25/2012#
		.NonworkingPatterns.Add(1234,6).BackgroundExt = "[text=`<fgcolor 808080>just a caption`,align=0x11]"
		.NonworkingPatterns.Add(1235,0).BackgroundExt = "[text=`<fgcolor 808080>just another caption`,align=0x11]"
		.NonworkingTimes.Add "weekday(value) = 5","08:00","08:59:59",1234
		.NonworkingTimes.Add "weekday(value) = 5","09:00","09:59:59",1235
		.NonworkingTimes.Add "weekday(value) = 5","10:00","10:59:59",1234
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

227
How can I display a text on the schedule's view background

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.Calendar.Selection = #5/25/2012#
		.NonworkingPatterns.Add(1234,0).BackgroundExt = "[text=`<fgcolor 808080>just a caption`,align=0x11]"
		.NonworkingTimes.Add "weekday(value) = 5","12:00","13:00",1234
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

226
Is it possible to change the visual appearance of the edit's context menu

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn"
		.Background(99) = &H1000000
	End With
End Function
</SCRIPT>
</BODY>

225
How do I customize the edit's context menu

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
	"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
	"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
	"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
		.EditContextMenuItems = "Insert[group=3](<img>1</img>[id=57763],<img>2</img>[id=57763])"
	End With
End Function
</SCRIPT>
</BODY>

224
How can I lock/fix the date header, so it stays on the top while the user scrolls the chart

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Schedule1_LayoutEndChanging(Operation)
	With Schedule1
		alert( Operation )
		.DayViewHeight = 2016
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.SelectDate(#5/20/2012#) = True
			.Select 3
		End With
		.ScrollBars = 2
		.ShowViewCompact = 3
		.DayViewHeight = 2016
		.AllowMoveSchedule = 0
		.AllowResizeSchedule = 0
		.AllowToggleSchedule = 0
		.AllowExchangePanels = 0
		.AllowMoveTimeScale = 0
		.AllowResizeTimeScale = 0
		.AllowMultiDaysEvent = False
		.TimeScales.Item(0).MinorTimeRuler = "00:10"
		.DayStartTime = "00:00"
		.DayEndTime = "24:00"
		.OnResizeControl = 3073 ' OnResizeControlEnum.exCalendarAutoHide Or OnResizeControlEnum.exCalendarFit Or OnResizeControlEnum.exResizePanelRight
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.SelectDate(#5/20/2012#) = True
			.Select 3
		End With
		.OnResizeControl = 768 ' OnResizeControlEnum.exChangePanels Or OnResizeControlEnum.exHideSplitter
		.ScrollBars = 2
		.ShowViewCompact = 1
		.DayViewHeight = 2016
		.AllowMoveSchedule = 0
		.AllowResizeSchedule = 0
		.AllowToggleSchedule = 0
		.AllowExchangePanels = 0
		.AllowMoveTimeScale = 0
		.AllowResizeTimeScale = 0
		.AllowMultiDaysEvent = False
		.Background(36) = .Background(37)
		.TimeScales.Item(0).MinorTimeRuler = "00:10"
		.DayStartTime = "00:00"
		.DayEndTime = "24:00"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

222
How can I show a single week, no calendar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.SelectDate(#5/20/2012#) = True
			.Select 3
		End With
		.OnResizeControl = 768 ' OnResizeControlEnum.exChangePanels Or OnResizeControlEnum.exHideSplitter
		.ScrollBars = 0
		.ShowViewCompact = 1
		.AllowMoveSchedule = 0
		.AllowResizeSchedule = 0
		.AllowToggleSchedule = 0
		.AllowExchangePanels = 0
		.AllowMoveTimeScale = 0
		.AllowResizeTimeScale = 0
		.AllowMultiDaysEvent = False
		.Background(36) = .Background(37)
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

221
How do I select the dates within a giving interval only

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #5/1/2012#
			.Selection = "(value >= #5/13/2012#) and (value <= #5/26/2012#)"
		End With
		With .Events
			.Add #5/24/2012 9:00:00 AM#,#5/24/2012 0:00:00 PM#
			.Add #5/24/2012 10:45:00 AM#,#5/24/2012 0:45:00 PM#
			.Add #5/24/2012 11:30:00 AM#,#5/24/2012 2:30:00 PM#
			.Add #5/24/2012 0:45:00 PM#,#5/24/2012 3:45:00 PM#
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

220
How do I display the dates within a giving interval only

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		With .Calendar
			.Selection = #5/24/2012#
			.MinDate = #5/13/2012#
			.MaxDate = #5/26/2012#
		End With
		With .Events
			.Add #5/24/2012 9:00:00 AM#,#5/24/2012 0:00:00 PM#
			.Add #5/24/2012 10:45:00 AM#,#5/24/2012 0:45:00 PM#
			.Add #5/24/2012 11:30:00 AM#,#5/24/2012 2:30:00 PM#
			.Add #5/24/2012 0:45:00 PM#,#5/24/2012 3:45:00 PM#
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.DayStartTime = "00:00"
		.DayEndTime = "24:00"
		With .TimeScales.Item(0)
			.MajorTimeLabel = "<%hh%>:<%nn%>"
			.Width = 32
		End With
	End With
End Function
</SCRIPT>
</BODY>

218
How do I show a double frame

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.SelectEventStyle = 48
		.Calendar.Selection = #1/10/2001#
		.DefaultEventLongLabel = ""
		.DefaultEventShortLabel = ""
		With .Events
			With .Add(#1/10/2001 8:00:00 AM#,#1/10/2001 10:00:00 AM#)
				.BodyBackgroundExt = "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=" & _
	"RGB(0,0,0)]"
				.BodyBackgroundExtValue(1,1) = 255
				.BodyBackgroundExtValue(1,2) = "35%"
			End With
			With .Add(#1/10/2001 10:00:00 AM#,#1/10/2001 0:00:00 PM#)
				.BodyBackgroundExt = "top[25%,back=RGB(255,0,0),align=0x22],client[back=RGB(255,255,0),align=0x22]"
				.BodyBackgroundExtValue(1,2) = "35%"
				.BodyBackgroundExtValue(2,1) = 65535
			End With
			With .Add(#1/10/2001 0:00:00 PM#,#1/10/2001 2:00:00 PM#)
				.ShowStatus = False
				.BodyBackgroundExt = "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" & _
	"=RGB(0,0,0)]"
			End With
			With .Add(#1/10/2001 2:00:00 PM#,#1/10/2001 4:00:00 PM#)
				.ShowStatus = False
				.BodyBackgroundExt = "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,fram" & _
	"e=RGB(0,0,0)]"
			End With
		End With
	End With
End Function
</SCRIPT>
</BODY>

217
How can I add more colors on the event

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.SelectEventStyle = 48
		.Calendar.Selection = #1/10/2001#
		With .Events
			.Add(#1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#).BodyBackgroundExt = "bottom[15%](left[65%,frame,back=RGB(128,255,255)],client[back=RGB(255,0,0),frame])"
			.Add(#1/10/2001 10:00:00 AM#,#1/10/2001 1:00:00 PM#).BodyBackgroundExt = "right[15%](bottom[35%,frame,back=RGB(128,255,255)],client[back=RGB(255,0,0),frame])"
			.Add(#1/10/2001 11:00:00 AM#,#1/10/2001 2:00:00 PM#).BodyBackgroundExt = "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)],clien" & _
	"t[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" & _
	"[back=RGB(0,0,0)])"
		End With
	End With
End Function
</SCRIPT>
</BODY>

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
<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		With .Calendar
			.AlignDate = False
			.MinMonthY = 2
			.MaxMonthY = 2
		End With
	End With
End Function
</SCRIPT>
</BODY>

215
How can I bound the control to a data source

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Schedule1_Error(Error,Description)
	With Schedule1
		alert( Description )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		Set rs = CreateObject("ADOR.Recordset")
		With rs
			.Open "Events","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Program Files\Exontrol\ExSchedule\Sample\Access2007\datasource.accdb",3,3
		End With
		.BeginUpdate 
		.Calendar.Selection = #11/11/2013#
		.DataField(1) = "Start"
		.DataField(2) = "End"
		.DataField(11) = "Extra"
		.DataSource = rs
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

214
How can I start drag and drop an event

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Schedule1_OLEStartDrag(Data,AllowedEffects)
	' Data.SetData( "your data to be dragged" )
	With Schedule1
		AllowedEffects = 1
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.OLEDropMode = 1
		.SelectEventStyle = 48
		.DefaultEventLongLabel = "<%=%256%><br><%=%5%>"
		.DefaultEventShortLabel = .DefaultEventLongLabel
		.Calendar.Selection = #1/10/2001#
		.OnResizeControl = 3073 ' OnResizeControlEnum.exCalendarAutoHide Or OnResizeControlEnum.exCalendarFit Or OnResizeControlEnum.exResizePanelRight
		.Events.Add(#1/10/2001 9:00:00 AM#,#1/10/2001 0:30:00 PM#).ExtraLabel = "Click the event and wait to start dragging."
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.ShowHighlightDate = 4353 ' ShowHighlightDateEnum.exHighlightDateCalendarEllipticClip Or ShowHighlightDateEnum.exHighlightDateCalendarGradient Or ShowHighlightDateEnum.exShowHighlightDateCalendar
		.Calendar.Selection = #1/1/2001#
		.HighlightDate(#1/9/2001#) = 65280
		.HighlightDate(#1/17/2001#) = "65280,255"
		.HighlightDate(#1/25/2001#) = "255,65280,16711680"
	End With
End Function
</SCRIPT>
</BODY>

212
How can I arrange the colors to highlight the date vertically

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.ShowHighlightDate = 49 ' ShowHighlightDateEnum.exHighlightDateVertical Or ShowHighlightDateEnum.exShowHighlightDateCalendar
		.Calendar.Selection = #1/1/2001#
		.HighlightDate(#1/9/2001#) = 65280
		.HighlightDate(#1/17/2001#) = "65280,255"
		.HighlightDate(#1/25/2001#) = "255,65280,16711680"
	End With
End Function
</SCRIPT>
</BODY>

211
Is it possible to highlight a date in gradient

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.ShowHighlightDate = 257 ' ShowHighlightDateEnum.exHighlightDateCalendarGradient Or ShowHighlightDateEnum.exShowHighlightDateCalendar
		.Calendar.Selection = #1/1/2001#
		.HighlightDate(#1/9/2001#) = 65280
		.HighlightDate(#1/17/2001#) = "65280,255"
		.HighlightDate(#1/25/2001#) = "255,65280,16711680"
	End With
End Function
</SCRIPT>
</BODY>

210
Is it possible to highlight a date in the calendar panel only

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.ShowHighlightDate = 1
		.Calendar.Selection = #1/1/2001#
		.HighlightDate(#1/9/2001#) = 65280
		.HighlightDate(#1/17/2001#) = "65280,255"
		.HighlightDate(#1/25/2001#) = "255,65280,16711680"
	End With
End Function
</SCRIPT>
</BODY>

209
Is it possible to highlight a date in the control

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.ShowHighlightDate = 3
		.Calendar.Selection = #1/25/2001#
		.HighlightDate(#1/9/2001#) = 65280
		.HighlightDate(#1/17/2001#) = "65280,255"
		.HighlightDate(#1/25/2001#) = "255,65280,16711680"
	End With
End Function
</SCRIPT>
</BODY>

208
How we need to put "nonworking time" to each group, because staff A is working different times then staff B. Is this possible

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.BodyEventBackColor = RGB(240,240,240)
		.ShowGroupingEvents = True
		.DisplayGroupingButton = True
		.Groups.Add(1,"Group 1").Visible = True
		.Groups.Add(2,"Group 2").Visible = True
		.Calendar.Selection = #5/25/2012#
		.NonworkingPatterns.Add 1234,11
		With .NonworkingTimes
			.Add "1","00:00","08:45",1234
			.Add("weekday(value) = 5","10:00","11:45",1).GroupID = 1
			.Add("weekday(value) = 5","12:00","13:00",1234).GroupID = 2
		End With
		.Events.Add(#5/25/2012 9:30:00 AM#,#5/25/2012 1:00:00 PM#).GroupID = 1
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

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
<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Schedule1_DblClick(Shift,X,Y)
	With Schedule1
		alert( "DblClick " )
		alert( X )
		alert( Y )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.BeginUpdate 
		.Calendar.Selection = #5/24/2012#
		With .Events
			.Add #5/24/2012 10:00:00 AM#,#5/24/2012 0:00:00 PM#
			.Add(#5/24/2012 10:45:00 AM#,#5/24/2012 0:30:00 PM#).StatusColor = RGB(255,0,0)
			.Add #5/24/2012 11:30:00 AM#,#5/24/2012 1:30:00 PM#
		End With
		.AllowEditEvent = 0
		.AllowToggleSchedule = 0
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.DayEndTime = "13:00"
		With .TimeScales.Add("+3:00")
			.AlignLeft = True
			.Caption = "EST <b>+03"
		End With
		.BeginUpdate 
		.Calendar.Selection = #5/24/2012#
		.UpdateEventsLabel = "Start: <%=date(%1+3/24)%><br>End: <%=date(%2+3/24)%>"
		With .Events
			.Add #5/24/2012 10:00:00 AM#,#5/24/2012 0:00:00 PM#
			.Add #5/24/2012 10:45:00 AM#,#5/24/2012 0:30:00 PM#
			.Add #5/24/2012 11:30:00 AM#,#5/24/2012 1:30:00 PM#
		End With
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

205
Is there a way to add a hyperlink to the event that would run a report with parameters

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Schedule1_AnchorClick(AnchorID,Options)
	With Schedule1
		alert( AnchorID )
		alert( Options )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.Calendar.Selection = #6/20/2012#
		With .Events
			.Add(#6/20/2012 9:00:00 AM#,#6/20/2012 11:00:00 AM#).LongLabel = "<%=%256%><br><a 1234;option 1>more ...</a>"
			.Add(#6/20/2012 11:00:00 AM#,#6/20/2012 1:00:00 PM#).LongLabel = "<%=%256%><br><a 1235;option 2>more ...</a>"
		End With
	End With
End Function
</SCRIPT>
</BODY>

204
Can I have multiple months in the calendar section

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		With .Calendar
			.MinMonthY = 2
			.MaxMonthY = 2
		End With
	End With
End Function
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.Calendar.Selection = #6/20/2012#
		With .Events
			With .Add(#6/20/2012 9:00:00 AM#,#6/20/2012 11:00:00 AM#)
				.UserData = 1234
				.ShortLabel = "<%=%256%><br>Order: <%=%6%>"
				.LongLabel = .ShortLabel
			End With
			With .Add(#6/20/2012 11:00:00 AM#,#6/20/2012 1:00:00 PM#)
				.UserData = 1235
				.ShortLabel = "<%=%256%>, Order: <%=%6%>"
				.LongLabel = .ShortLabel
			End With
		End With
	End With
End Function
</SCRIPT>
</BODY>

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

<BODY onload="Init()">
<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.Calendar.Selection = #6/20/2012#
		.DefaultEventShortLabel = "<%=%256%><br>Order: <b><%=%6%>"
		.DefaultEventLongLabel = .DefaultEventShortLabel
		With .Events
			.Add(#6/20/2012 9:00:00 AM#,#6/20/2012 11:00:00 AM#).UserData = 1234
			.Add(#6/20/2012 11:00:00 AM#,#6/20/2012 1:00:00 PM#).UserData = 1235
		End With
	End With
End Function
</SCRIPT>
</BODY>

201
Can you add text with links in the event

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Schedule1_AnchorClick(AnchorID,Options)
	With Schedule1
		alert( AnchorID )
		alert( Options )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:9B09E13D-7A88-4299-9DBE-383380435377" id="Schedule1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Schedule1
		.Calendar.Selection = #6/20/2012#
		With .Events
			With .Add(#6/20/2012 9:00:00 AM#,#6/20/2012 11:00:00 AM#)
				.ShortLabel = "<a 1><%=%256%></a>"
				.LongLabel = .ShortLabel
			End With
			With .Add(#6/20/2012 11:00:00 AM#,#6/20/2012 1:00:00 PM#)
				.ShortLabel = "<a 2><%=%256%></a>"
				.LongLabel = .ShortLabel
			End With
		End With
	End With
End Function
</SCRIPT>
</BODY>