146:
Can I include the month's number in the date header

local oCalendar,var_Appearance

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "1,(" + ["] + "" + ["] + "[b=0],(" + ["] + "" + ["] + "[b=0]/24;2[b=0][bg=0x01000000]/" + ["] + "" + ["] + "[b=0]):24," + ["] + "" + ["] + "[b=0]):32,(" + ["] + "" + ["] + "[b=0],(" + ["] + "" + ["] + "[b=0]/24;3[b=0][bg=0x01000000]/" + ["] + "" + ["] + "[b=0]):24," + ["] + "" + ["] + "[b=0]):32"
oCalendar.Template = [DateHeaderField(1) = "`<c><%month%> (` + (dateF(value) left 2) + `) <r><off -6><font ;6><%year%>`"] // oCalendar.DateHeaderField(1) = "`<c><%month%> (` + (dateF(value) left 2) + `) <r><off -6><font ;6><%year%>`"
var_Appearance = oCalendar.VisualAppearance
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABFgDg6AADACAxSDEMQBQKAAzQFAYbhgHCGAAGQaBUgmFgAQhFcZQSKUOQTDKMIziYBYfgkMIgSbJUgDGAkRRdDSOYIkWA5AiKEYoThCIxzTJ8aw3CKbYRAKCXfoUAJFP7Fc6ABJMBx3EyhZ89NDYEwTIKBahoehqIheEQyDSJNb2DCIahhMSEbKtCooDhGFpUWzLdxTJJVawHJoABjkS45PjEAJ+SBPUZVRRlFyfO7BKSjMKKXgkG4zABWVa1bC1FzxQ6mKykKQLQADDIDVZAeL3JTNCS5IyLLDtO77EqmZ5la7cUgRDj4AY7Ua+MzubBZaovOqDYzAey7TDWLRXFDNIzzTgQAyHHrETZHGqwJxMAEapYGqYpVi2HwzDuQ5oHKIQgggSSUGMOgdE4RhYDwJBVAwIQTH2UYhjQJBRAmZxuCEHZ3icJp5EgKxgAIVgCCQSQSEIBQkCAYhCAIJYKmKNIuFcTBIESPYEk6GBUm+BZOmOPgZgWYRTiYEwvEwaIEAAK4KnKOJrgmTpDjCbYJmKSI2CoOxihOLglCuAACioNg8COA4gmcOZOiidg+g+Dh4moOA8CMYokNmCoyiycQ8E8A4iE6D4OjOMgng8ZJjiITA8CSEouEcKwKkkLJyhQIoIkYU9LjORhcCsAAIACLQ8iaSJ6FKC5jJoaobA8KYoACCRKnmMJzhuDpZnSboMCKGJ4nMPIPDmYAACwKIDk6CoLCeU40m6I5oliMoKDya" ;
 +"ICokLIpgoThviOKJoGYf4KmUKhMjMLJLCAAojCyaYoiYGoGmqM46CkOwPEoKonAACxKlSdItmiWBeBeDgrioNo3D0KxSlAAAtgsUpYnUPRPEoco8hCa+T40SxbBRj5tEsHJ1i6JhbGYS4ug8awelQLZAAKZI5C4DxrhYQ9ehmUppWiA48nAPRuFKYpiAAC47laZQ9iuKZSgOPotkuFI7C6C4gACPJAm8eQOhOQZoikDp3kCS5AACPoEk8fBGnqQgpDOSppD2TxjlyPZD6CfwekQTx5lKP5ImseZTCAL5MAMAAAkoTADmMLpIjISp+HSS4PgyMAADBzAHDSIoPCOUpWjObIKE8NJOHKIwPEaTprBsHpdjWLB9AieQ+DQYwQAAMR1EOZxWi+bx7HcWQ8msfRYnnDZQACRwxgwc5rGaMZPE0ZxqjWNZtgyRwAAyTZEnuXJzEyAx2kQcxNkye5cEy3cYAcANrGAIH4OAhx3gNGGPAfgIR8jBA4McBMARVhnH4HQOYmxuCpF2MsecEQVBvGQCcIQug6itGQBoARAQ=")
oCalendar.EndUpdate()

145:
How can I display the previously/next month in the date header

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 1
oCalendar.MaxMonthY = 1
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "2[b=0][bg=RGB(240,240,240)]:32,1,3[b=0][bg=RGB(240,240,240)]:32"
oCalendar.Template = [DateHeaderField(2) = "`<c>` + ( ( ((0:=((month(value) - 1) - 1) ) < 0 ? 11 : =:0 ) array `January February March April May June July August September October November December` split ` ` ) left 3 ) "] // oCalendar.DateHeaderField(2) = "`<c>` + ( ( ((0:=((month(value) - 1) - 1) ) < 0 ? 11 : =:0 ) array `January February March April May June July August September October November December` split ` ` ) left 3 ) "
oCalendar.Template = [DateHeaderField(3) = "`<c>` + ( ( ((0:=((month(value) - 1) + 1) ) = 12 ? 0 : =:0 ) array `January February March April May June July August September October November December` split ` ` ) left 3 ) "] // oCalendar.DateHeaderField(3) = "`<c>` + ( ( ((0:=((month(value) - 1) + 1) ) = 12 ? 0 : =:0 ) array `January February March April May June July August September October November December` split ` ` ) left 3 ) "
oCalendar.EndUpdate()

144:
How can I display the year to a different position

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 1
oCalendar.MaxMonthY = 1
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "6/(1,2[bg=RGB(196,196,196)]:32,3[bg=RGB(196,196,196)]:32)"
oCalendar.Template = [HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="
oCalendar.Template = [DateHeaderField(2) = "<c><img>up</img>"] // oCalendar.DateHeaderField(2) = "<c><img>up</img>"
oCalendar.Template = [DateHeaderField(3) = "<c><img>down</img>"] // oCalendar.DateHeaderField(3) = "<c><img>down</img>"
oCalendar.Template = [DateHeaderField(1) = "<c><%month%>"] // oCalendar.DateHeaderField(1) = "<c><%month%>"
oCalendar.Template = [DateHeaderField(6) = "<r><b><%year%>"] // oCalendar.DateHeaderField(6 /*exHeaderPrevYear | exHeaderPrevMonth*/) = "<r><b><%year%>"
oCalendar.EndUpdate()

143:
Can I display some extra text/caption on the month's header

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 1
oCalendar.MaxMonthY = 1
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "(" + ["] + "<sha ;;0>calendar" + ["] + "[a=17]/1),2:32,3:32"
oCalendar.Template = [HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="
oCalendar.Template = [DateHeaderField(2) = "<c><img>up</img>"] // oCalendar.DateHeaderField(2) = "<c><img>up</img>"
oCalendar.Template = [DateHeaderField(3) = "<c><img>down</img>"] // oCalendar.DateHeaderField(3) = "<c><img>down</img>"
oCalendar.Template = [DateHeaderField(1) = "<c><b><%month%>"] // oCalendar.DateHeaderField(1) = "<c><b><%month%>"
oCalendar.EndUpdate()

142:
How can I display no year on th month's header

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 2
oCalendar.MaxMonthY = 2
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "1,2:32,3:32"
oCalendar.Template = [HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="
oCalendar.Template = [DateHeaderField(2) = "<c><img>up</img>"] // oCalendar.DateHeaderField(2) = "<c><img>up</img>"
oCalendar.Template = [DateHeaderField(3) = "<c><img>down</img>"] // oCalendar.DateHeaderField(3) = "<c><img>down</img>"
oCalendar.Template = [DateHeaderField(1) = "<c><b><%month%>"] // oCalendar.DateHeaderField(1) = "<c><b><%month%>"
oCalendar.EndUpdate()

141:
How can I arrange the month's header ( first and last month only, prev month, next, prev year, picture, ebn, expression)

local oCalendar,var_Appearance

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 2
oCalendar.MaxMonthY = 2
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = " (( xmax * ymax ) = 1 ) ? `2[b=0][bg=0x01000000]:32,1,3[b=0][bg=0x01000000]:32` : ( ( x = 0 and y = 0 ) ? `2[b=0][bg=0x01000000]:32,1`: ( ( x = xmax - 1 and y = ymax - 1 ) ? `1,3[b=0][bg=0x01000000]:32`: `1` ) )"
oCalendar.Template = [DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%></b> <off -6><font ;7><%year%>`"] // oCalendar.DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%></b> <off -6><font ;7><%year%>`"
oCalendar.Template = [HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"] // oCalendar.HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"
oCalendar.Template = [HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="] // oCalendar.HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="
oCalendar.Template = [DateHeaderField(2) = "<c><img>up</img>"] // oCalendar.DateHeaderField(2) = "<c><img>up</img>"
oCalendar.Template = [DateHeaderField(3) = "<c><img>down</img>"] // oCalendar.DateHeaderField(3) = "<c><img>down</img>"
oCalendar.Template = [DateHeaderField(4) = "<c><img>left</img>"] // oCalendar.DateHeaderField(4) = "<c><img>left</img>"
oCalendar.Template = [DateHeaderField(5) = "<c><img>right</img>"] // oCalendar.DateHeaderField(5) = "<c><img>right</img>"
var_Appearance = oCalendar.VisualAppearance
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABFgDg6AADACAxSDEMQBQKAAzQFAYbhgHCGAAGQaBUgmFgAQhFcZQSKUOQTDKMIziYBYfgkMIgSbJUgDGAkRRdDSOYIkWA5AiKEYoThCIxzTJ8aw3CKbYRAKCXfoUAJFP7Fc6ABJMBx3EyhZ89NDYEwTIKBahoehqIheEQyDSJNb2DCIahhMSEbKtCooDhGFpUWzLdxTJJVawHJoABjkS45PjEAJ+SBPUZVRRlFyfO7BKSjMKKXgkG4zABWVa1bC1FzxQ6mKykKQLQADDIDVZAeL3JTNCS5IyLLDtO77EqmZ5la7cUgRDj4AY7Ua+MzubBZaovOqDYzAey7TDWLRXFDNIzzTgQAyHHrETZHGqwJxMAEapYGqYpVi2HwzDuQ5oHKIQgggSSUGMOgdE4RhYDwJBVAwIQTH2UYhjQJBRAmZxuCEHZ3icJp5EgKxgAIVgCCQSQSEIBQkCAYhCAIJYKmKNIuFcTBIESPYEk6GBUm+BZOmOPgZgWYRTiYEwvEwaIEAAK4KnKOJrgmTpDjCbYJmKSI2CoOxihOLglCuAACioNg8COA4gmcOZOiidg+g+Dh4moOA8CMYokNmCoyiycQ8E8A4iE6D4OjOMgng8ZJjiITA8CSEouEcKwKkkLJyhQIoIkYU9LjORhcCsAAIACLQ8iaSJ6FKC5jJoaobA8KYoACCRKnmMJzhuDpZnSboMCKGJ4nMPIPDmYAACwKIDk6CoLCeU40m6I5oliMoKDya" ;
 +"ICokLIpgoThviOKJoGYf4KmUKhMjMLJLCAAojCyaYoiYGoGmqM46CkOwPEoKonAACxKlSdItmiWBeBeDgrioNo3D0KxSlAAAtgsUpYnUPRPEoco8hCa+T40SxbBRj5tEsHJ1i6JhbGYS4ug8awelQLZAAKZI5C4DxrhYQ9ehmUppWiA48nAPRuFKYpiAAC47laZQ9iuKZSgOPotkuFI7C6C4gACPJAm8eQOhOQZoikDp3kCS5AACPoEk8fBGnqQgpDOSppD2TxjlyPZD6CfwekQTx5lKP5ImseZTCAL5MAMAAAkoTADmMLpIjISp+HSS4PgyMAADBzAHDSIoPCOUpWjObIKE8NJOHKIwPEaTprBsHpdjWLB9AieQ+DQYwQAAMR1EOZxWi+bx7HcWQ8msfRYnnDZQACRwxgwc5rGaMZPE0ZxqjWNZtgyRwAAyTZEnuXJzEyAx2kQcxNkye5cEy3cYAcANrGAIH4OAhx3gNGGPAfgIR8jBA4McBMARVhnH4HQOYmxuCpF2MsecEQVBvGQCcIQug6itGQBoARAQ=")
oCalendar.EndUpdate()

140:
How can I arrange the month's header ( first month only, prev month, next, prev year, picture, ebn, expression)

local oCalendar,var_Appearance

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 2
oCalendar.MaxMonthY = 2
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "( x = 0 and y = 0 ) ? `(2[b=0][bg=0x01000000]/3[b=0][bg=0x01000000]):32,1`: `1`"
oCalendar.Template = [DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"] // oCalendar.DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"
oCalendar.Template = [HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"] // oCalendar.HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"
oCalendar.Template = [HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="] // oCalendar.HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="
oCalendar.Template = [DateHeaderField(2) = "<c><img>up</img>"] // oCalendar.DateHeaderField(2) = "<c><img>up</img>"
oCalendar.Template = [DateHeaderField(3) = "<c><img>down</img>"] // oCalendar.DateHeaderField(3) = "<c><img>down</img>"
oCalendar.Template = [DateHeaderField(4) = "<c><img>left</img>"] // oCalendar.DateHeaderField(4) = "<c><img>left</img>"
oCalendar.Template = [DateHeaderField(5) = "<c><img>right</img>"] // oCalendar.DateHeaderField(5) = "<c><img>right</img>"
var_Appearance = oCalendar.VisualAppearance
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABFgDg6AADACAxSDEMQBQKAAzQFAYbhgHCGAAGQaBUgmFgAQhFcZQSKUOQTDKMIziYBYfgkMIgSbJUgDGAkRRdDSOYIkWA5AiKEYoThCIxzTJ8aw3CKbYRAKCXfoUAJFP7Fc6ABJMBx3EyhZ89NDYEwTIKBahoehqIheEQyDSJNb2DCIahhMSEbKtCooDhGFpUWzLdxTJJVawHJoABjkS45PjEAJ+SBPUZVRRlFyfO7BKSjMKKXgkG4zABWVa1bC1FzxQ6mKykKQLQADDIDVZAeL3JTNCS5IyLLDtO77EqmZ5la7cUgRDj4AY7Ua+MzubBZaovOqDYzAey7TDWLRXFDNIzzTgQAyHHrETZHGqwJxMAEapYGqYpVi2HwzDuQ5oHKIQgggSSUGMOgdE4RhYDwJBVAwIQTH2UYhjQJBRAmZxuCEHZ3icJp5EgKxgAIVgCCQSQSEIBQkCAYhCAIJYKmKNIuFcTBIESPYEk6GBUm+BZOmOPgZgWYRTiYEwvEwaIEAAK4KnKOJrgmTpDjCbYJmKSI2CoOxihOLglCuAACioNg8COA4gmcOZOiidg+g+Dh4moOA8CMYokNmCoyiycQ8E8A4iE6D4OjOMgng8ZJjiITA8CSEouEcKwKkkLJyhQIoIkYU9LjORhcCsAAIACLQ8iaSJ6FKC5jJoaobA8KYoACCRKnmMJzhuDpZnSboMCKGJ4nMPIPDmYAACwKIDk6CoLCeU40m6I5oliMoKDya" ;
 +"ICokLIpgoThviOKJoGYf4KmUKhMjMLJLCAAojCyaYoiYGoGmqM46CkOwPEoKonAACxKlSdItmiWBeBeDgrioNo3D0KxSlAAAtgsUpYnUPRPEoco8hCa+T40SxbBRj5tEsHJ1i6JhbGYS4ug8awelQLZAAKZI5C4DxrhYQ9ehmUppWiA48nAPRuFKYpiAAC47laZQ9iuKZSgOPotkuFI7C6C4gACPJAm8eQOhOQZoikDp3kCS5AACPoEk8fBGnqQgpDOSppD2TxjlyPZD6CfwekQTx5lKP5ImseZTCAL5MAMAAAkoTADmMLpIjISp+HSS4PgyMAADBzAHDSIoPCOUpWjObIKE8NJOHKIwPEaTprBsHpdjWLB9AieQ+DQYwQAAMR1EOZxWi+bx7HcWQ8msfRYnnDZQACRwxgwc5rGaMZPE0ZxqjWNZtgyRwAAyTZEnuXJzEyAx2kQcxNkye5cEy3cYAcANrGAIH4OAhx3gNGGPAfgIR8jBA4McBMARVhnH4HQOYmxuCpF2MsecEQVBvGQCcIQug6itGQBoARAQ=")
oCalendar.EndUpdate()

139:
How can I arrange the month's header ( all, left, right, prev month, next, prev year, picture, ebn)

local oCalendar,var_Appearance

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 2
oCalendar.MaxMonthY = 2
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "(2[b=0][bg=0x01000000]/4[b=0][bg=0x01000000]):32,1,(3[b=0][bg=0x01000000]/5[b=0][bg=0x01000000]):32"
oCalendar.Template = [DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"] // oCalendar.DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"
oCalendar.Template = [HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"] // oCalendar.HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"
oCalendar.Template = [HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="] // oCalendar.HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="
oCalendar.Template = [DateHeaderField(2) = "<c><img>up</img>"] // oCalendar.DateHeaderField(2) = "<c><img>up</img>"
oCalendar.Template = [DateHeaderField(3) = "<c><img>down</img>"] // oCalendar.DateHeaderField(3) = "<c><img>down</img>"
oCalendar.Template = [DateHeaderField(4) = "<c><img>left</img>"] // oCalendar.DateHeaderField(4) = "<c><img>left</img>"
oCalendar.Template = [DateHeaderField(5) = "<c><img>right</img>"] // oCalendar.DateHeaderField(5) = "<c><img>right</img>"
var_Appearance = oCalendar.VisualAppearance
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABFgDg6AADACAxSDEMQBQKAAzQFAYbhgHCGAAGQaBUgmFgAQhFcZQSKUOQTDKMIziYBYfgkMIgSbJUgDGAkRRdDSOYIkWA5AiKEYoThCIxzTJ8aw3CKbYRAKCXfoUAJFP7Fc6ABJMBx3EyhZ89NDYEwTIKBahoehqIheEQyDSJNb2DCIahhMSEbKtCooDhGFpUWzLdxTJJVawHJoABjkS45PjEAJ+SBPUZVRRlFyfO7BKSjMKKXgkG4zABWVa1bC1FzxQ6mKykKQLQADDIDVZAeL3JTNCS5IyLLDtO77EqmZ5la7cUgRDj4AY7Ua+MzubBZaovOqDYzAey7TDWLRXFDNIzzTgQAyHHrETZHGqwJxMAEapYGqYpVi2HwzDuQ5oHKIQgggSSUGMOgdE4RhYDwJBVAwIQTH2UYhjQJBRAmZxuCEHZ3icJp5EgKxgAIVgCCQSQSEIBQkCAYhCAIJYKmKNIuFcTBIESPYEk6GBUm+BZOmOPgZgWYRTiYEwvEwaIEAAK4KnKOJrgmTpDjCbYJmKSI2CoOxihOLglCuAACioNg8COA4gmcOZOiidg+g+Dh4moOA8CMYokNmCoyiycQ8E8A4iE6D4OjOMgng8ZJjiITA8CSEouEcKwKkkLJyhQIoIkYU9LjORhcCsAAIACLQ8iaSJ6FKC5jJoaobA8KYoACCRKnmMJzhuDpZnSboMCKGJ4nMPIPDmYAACwKIDk6CoLCeU40m6I5oliMoKDya" ;
 +"ICokLIpgoThviOKJoGYf4KmUKhMjMLJLCAAojCyaYoiYGoGmqM46CkOwPEoKonAACxKlSdItmiWBeBeDgrioNo3D0KxSlAAAtgsUpYnUPRPEoco8hCa+T40SxbBRj5tEsHJ1i6JhbGYS4ug8awelQLZAAKZI5C4DxrhYQ9ehmUppWiA48nAPRuFKYpiAAC47laZQ9iuKZSgOPotkuFI7C6C4gACPJAm8eQOhOQZoikDp3kCS5AACPoEk8fBGnqQgpDOSppD2TxjlyPZD6CfwekQTx5lKP5ImseZTCAL5MAMAAAkoTADmMLpIjISp+HSS4PgyMAADBzAHDSIoPCOUpWjObIKE8NJOHKIwPEaTprBsHpdjWLB9AieQ+DQYwQAAMR1EOZxWi+bx7HcWQ8msfRYnnDZQACRwxgwc5rGaMZPE0ZxqjWNZtgyRwAAyTZEnuXJzEyAx2kQcxNkye5cEy3cYAcANrGAIH4OAhx3gNGGPAfgIR8jBA4McBMARVhnH4HQOYmxuCpF2MsecEQVBvGQCcIQug6itGQBoARAQ=")
oCalendar.EndUpdate()

138:
How can I arrange the month's header ( all, left, right, prev month, next, prev year, picture, ebn)

local oCalendar,var_Appearance

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 2
oCalendar.MaxMonthY = 2
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "2[b=0][bg=0x01000000]:32,3[b=0][bg=0x01000000]:32,1,4[b=0][bg=0x01000000]:32,5[b=0][bg=0x01000000]:32"
oCalendar.Template = [DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"] // oCalendar.DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"
oCalendar.Template = [HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"] // oCalendar.HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"
oCalendar.Template = [HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="] // oCalendar.HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="
oCalendar.Template = [DateHeaderField(2) = "<c><img>up</img>"] // oCalendar.DateHeaderField(2) = "<c><img>up</img>"
oCalendar.Template = [DateHeaderField(3) = "<c><img>down</img>"] // oCalendar.DateHeaderField(3) = "<c><img>down</img>"
oCalendar.Template = [DateHeaderField(4) = "<c><img>left</img>"] // oCalendar.DateHeaderField(4) = "<c><img>left</img>"
oCalendar.Template = [DateHeaderField(5) = "<c><img>right</img>"] // oCalendar.DateHeaderField(5) = "<c><img>right</img>"
var_Appearance = oCalendar.VisualAppearance
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABFgDg6AADACAxSDEMQBQKAAzQFAYbhgHCGAAGQaBUgmFgAQhFcZQSKUOQTDKMIziYBYfgkMIgSbJUgDGAkRRdDSOYIkWA5AiKEYoThCIxzTJ8aw3CKbYRAKCXfoUAJFP7Fc6ABJMBx3EyhZ89NDYEwTIKBahoehqIheEQyDSJNb2DCIahhMSEbKtCooDhGFpUWzLdxTJJVawHJoABjkS45PjEAJ+SBPUZVRRlFyfO7BKSjMKKXgkG4zABWVa1bC1FzxQ6mKykKQLQADDIDVZAeL3JTNCS5IyLLDtO77EqmZ5la7cUgRDj4AY7Ua+MzubBZaovOqDYzAey7TDWLRXFDNIzzTgQAyHHrETZHGqwJxMAEapYGqYpVi2HwzDuQ5oHKIQgggSSUGMOgdE4RhYDwJBVAwIQTH2UYhjQJBRAmZxuCEHZ3icJp5EgKxgAIVgCCQSQSEIBQkCAYhCAIJYKmKNIuFcTBIESPYEk6GBUm+BZOmOPgZgWYRTiYEwvEwaIEAAK4KnKOJrgmTpDjCbYJmKSI2CoOxihOLglCuAACioNg8COA4gmcOZOiidg+g+Dh4moOA8CMYokNmCoyiycQ8E8A4iE6D4OjOMgng8ZJjiITA8CSEouEcKwKkkLJyhQIoIkYU9LjORhcCsAAIACLQ8iaSJ6FKC5jJoaobA8KYoACCRKnmMJzhuDpZnSboMCKGJ4nMPIPDmYAACwKIDk6CoLCeU40m6I5oliMoKDya" ;
 +"ICokLIpgoThviOKJoGYf4KmUKhMjMLJLCAAojCyaYoiYGoGmqM46CkOwPEoKonAACxKlSdItmiWBeBeDgrioNo3D0KxSlAAAtgsUpYnUPRPEoco8hCa+T40SxbBRj5tEsHJ1i6JhbGYS4ug8awelQLZAAKZI5C4DxrhYQ9ehmUppWiA48nAPRuFKYpiAAC47laZQ9iuKZSgOPotkuFI7C6C4gACPJAm8eQOhOQZoikDp3kCS5AACPoEk8fBGnqQgpDOSppD2TxjlyPZD6CfwekQTx5lKP5ImseZTCAL5MAMAAAkoTADmMLpIjISp+HSS4PgyMAADBzAHDSIoPCOUpWjObIKE8NJOHKIwPEaTprBsHpdjWLB9AieQ+DQYwQAAMR1EOZxWi+bx7HcWQ8msfRYnnDZQACRwxgwc5rGaMZPE0ZxqjWNZtgyRwAAyTZEnuXJzEyAx2kQcxNkye5cEy3cYAcANrGAIH4OAhx3gNGGPAfgIR8jBA4McBMARVhnH4HQOYmxuCpF2MsecEQVBvGQCcIQug6itGQBoARAQ=")
oCalendar.EndUpdate()

137:
How can I arrange the month's header ( left, right, prev month, next, prev year, picture, ebn)

local oCalendar,var_Appearance

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 2
oCalendar.MaxMonthY = 2
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "(2[b=0][bg=0x01000000]/3[b=0][bg=0x01000000]):32,1,(4[b=0][bg=0x01000000]/5[b=0][bg=0x01000000]):32"
oCalendar.Template = [DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"] // oCalendar.DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"
oCalendar.Template = [HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"] // oCalendar.HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"
oCalendar.Template = [HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="] // oCalendar.HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="
oCalendar.Template = [DateHeaderField(2) = "<c><img>up</img>"] // oCalendar.DateHeaderField(2) = "<c><img>up</img>"
oCalendar.Template = [DateHeaderField(3) = "<c><img>down</img>"] // oCalendar.DateHeaderField(3) = "<c><img>down</img>"
oCalendar.Template = [DateHeaderField(4) = "<c><img>left</img>"] // oCalendar.DateHeaderField(4) = "<c><img>left</img>"
oCalendar.Template = [DateHeaderField(5) = "<c><img>right</img>"] // oCalendar.DateHeaderField(5) = "<c><img>right</img>"
var_Appearance = oCalendar.VisualAppearance
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABFgDg6AADACAxSDEMQBQKAAzQFAYbhgHCGAAGQaBUgmFgAQhFcZQSKUOQTDKMIziYBYfgkMIgSbJUgDGAkRRdDSOYIkWA5AiKEYoThCIxzTJ8aw3CKbYRAKCXfoUAJFP7Fc6ABJMBx3EyhZ89NDYEwTIKBahoehqIheEQyDSJNb2DCIahhMSEbKtCooDhGFpUWzLdxTJJVawHJoABjkS45PjEAJ+SBPUZVRRlFyfO7BKSjMKKXgkG4zABWVa1bC1FzxQ6mKykKQLQADDIDVZAeL3JTNCS5IyLLDtO77EqmZ5la7cUgRDj4AY7Ua+MzubBZaovOqDYzAey7TDWLRXFDNIzzTgQAyHHrETZHGqwJxMAEapYGqYpVi2HwzDuQ5oHKIQgggSSUGMOgdE4RhYDwJBVAwIQTH2UYhjQJBRAmZxuCEHZ3icJp5EgKxgAIVgCCQSQSEIBQkCAYhCAIJYKmKNIuFcTBIESPYEk6GBUm+BZOmOPgZgWYRTiYEwvEwaIEAAK4KnKOJrgmTpDjCbYJmKSI2CoOxihOLglCuAACioNg8COA4gmcOZOiidg+g+Dh4moOA8CMYokNmCoyiycQ8E8A4iE6D4OjOMgng8ZJjiITA8CSEouEcKwKkkLJyhQIoIkYU9LjORhcCsAAIACLQ8iaSJ6FKC5jJoaobA8KYoACCRKnmMJzhuDpZnSboMCKGJ4nMPIPDmYAACwKIDk6CoLCeU40m6I5oliMoKDya" ;
 +"ICokLIpgoThviOKJoGYf4KmUKhMjMLJLCAAojCyaYoiYGoGmqM46CkOwPEoKonAACxKlSdItmiWBeBeDgrioNo3D0KxSlAAAtgsUpYnUPRPEoco8hCa+T40SxbBRj5tEsHJ1i6JhbGYS4ug8awelQLZAAKZI5C4DxrhYQ9ehmUppWiA48nAPRuFKYpiAAC47laZQ9iuKZSgOPotkuFI7C6C4gACPJAm8eQOhOQZoikDp3kCS5AACPoEk8fBGnqQgpDOSppD2TxjlyPZD6CfwekQTx5lKP5ImseZTCAL5MAMAAAkoTADmMLpIjISp+HSS4PgyMAADBzAHDSIoPCOUpWjObIKE8NJOHKIwPEaTprBsHpdjWLB9AieQ+DQYwQAAMR1EOZxWi+bx7HcWQ8msfRYnnDZQACRwxgwc5rGaMZPE0ZxqjWNZtgyRwAAyTZEnuXJzEyAx2kQcxNkye5cEy3cYAcANrGAIH4OAhx3gNGGPAfgIR8jBA4McBMARVhnH4HQOYmxuCpF2MsecEQVBvGQCcIQug6itGQBoARAQ=")
oCalendar.EndUpdate()

136:
How can I arrange the month's header ( down, next, prev month, next, prev year, picture, ebn)

local oCalendar,var_Appearance

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 2
oCalendar.MaxMonthY = 2
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "1/16;(2[bg=0x01808080],3[bg=0x01000000])[b=15],(4[bg=0x01808080],5[bg=0x01000000])[b=15]"
oCalendar.Template = [DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"] // oCalendar.DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"
oCalendar.Template = [HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"] // oCalendar.HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"
oCalendar.Template = [HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="] // oCalendar.HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="
oCalendar.Template = [DateHeaderField(2) = "<c><img>up</img>"] // oCalendar.DateHeaderField(2) = "<c><img>up</img>"
oCalendar.Template = [DateHeaderField(3) = "<c><img>down</img>"] // oCalendar.DateHeaderField(3) = "<c><img>down</img>"
oCalendar.Template = [DateHeaderField(4) = "<c><img>left</img>"] // oCalendar.DateHeaderField(4) = "<c><img>left</img>"
oCalendar.Template = [DateHeaderField(5) = "<c><img>right</img>"] // oCalendar.DateHeaderField(5) = "<c><img>right</img>"
var_Appearance = oCalendar.VisualAppearance
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABFgDg6AADACAxSDEMQBQKAAzQFAYbhgHCGAAGQaBUgmFgAQhFcZQSKUOQTDKMIziYBYfgkMIgSbJUgDGAkRRdDSOYIkWA5AiKEYoThCIxzTJ8aw3CKbYRAKCXfoUAJFP7Fc6ABJMBx3EyhZ89NDYEwTIKBahoehqIheEQyDSJNb2DCIahhMSEbKtCooDhGFpUWzLdxTJJVawHJoABjkS45PjEAJ+SBPUZVRRlFyfO7BKSjMKKXgkG4zABWVa1bC1FzxQ6mKykKQLQADDIDVZAeL3JTNCS5IyLLDtO77EqmZ5la7cUgRDj4AY7Ua+MzubBZaovOqDYzAey7TDWLRXFDNIzzTgQAyHHrETZHGqwJxMAEapYGqYpVi2HwzDuQ5oHKIQgggSSUGMOgdE4RhYDwJBVAwIQTH2UYhjQJBRAmZxuCEHZ3icJp5EgKxgAIVgCCQSQSEIBQkCAYhCAIJYKmKNIuFcTBIESPYEk6GBUm+BZOmOPgZgWYRTiYEwvEwaIEAAK4KnKOJrgmTpDjCbYJmKSI2CoOxihOLglCuAACioNg8COA4gmcOZOiidg+g+Dh4moOA8CMYokNmCoyiycQ8E8A4iE6D4OjOMgng8ZJjiITA8CSEouEcKwKkkLJyhQIoIkYU9LjORhcCsAAIACLQ8iaSJ6FKC5jJoaobA8KYoACCRKnmMJzhuDpZnSboMCKGJ4nMPIPDmYAACwKIDk6CoLCeU40m6I5oliMoKDya" ;
 +"ICokLIpgoThviOKJoGYf4KmUKhMjMLJLCAAojCyaYoiYGoGmqM46CkOwPEoKonAACxKlSdItmiWBeBeDgrioNo3D0KxSlAAAtgsUpYnUPRPEoco8hCa+T40SxbBRj5tEsHJ1i6JhbGYS4ug8awelQLZAAKZI5C4DxrhYQ9ehmUppWiA48nAPRuFKYpiAAC47laZQ9iuKZSgOPotkuFI7C6C4gACPJAm8eQOhOQZoikDp3kCS5AACPoEk8fBGnqQgpDOSppD2TxjlyPZD6CfwekQTx5lKP5ImseZTCAL5MAMAAAkoTADmMLpIjISp+HSS4PgyMAADBzAHDSIoPCOUpWjObIKE8NJOHKIwPEaTprBsHpdjWLB9AieQ+DQYwQAAMR1EOZxWi+bx7HcWQ8msfRYnnDZQACRwxgwc5rGaMZPE0ZxqjWNZtgyRwAAyTZEnuXJzEyAx2kQcxNkye5cEy3cYAcANrGAIH4OAhx3gNGGPAfgIR8jBA4McBMARVhnH4HQOYmxuCpF2MsecEQVBvGQCcIQug6itGQBoARAQ=")
oCalendar.EndUpdate()

135:
How can I arrange the month's header ( down, next, prev month, picture, ebn)

local oCalendar,var_Appearance

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 2
oCalendar.MaxMonthY = 2
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "1/16;2[b=0][bg=0x01000000],3[b=0][bg=0x01000000]"
oCalendar.Template = [DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"] // oCalendar.DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"
oCalendar.Template = [HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"] // oCalendar.HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"
oCalendar.Template = [HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="] // oCalendar.HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="
oCalendar.Template = [DateHeaderField(2) = "<c><img>up</img>"] // oCalendar.DateHeaderField(2) = "<c><img>up</img>"
oCalendar.Template = [DateHeaderField(3) = "<c><img>down</img>"] // oCalendar.DateHeaderField(3) = "<c><img>down</img>"
oCalendar.Template = [DateHeaderField(4) = "<c><img>left</img>"] // oCalendar.DateHeaderField(4) = "<c><img>left</img>"
oCalendar.Template = [DateHeaderField(5) = "<c><img>right</img>"] // oCalendar.DateHeaderField(5) = "<c><img>right</img>"
var_Appearance = oCalendar.VisualAppearance
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABFgDg6AADACAxSDEMQBQKAAzQFAYbhgHCGAAGQaBUgmFgAQhFcZQSKUOQTDKMIziYBYfgkMIgSbJUgDGAkRRdDSOYIkWA5AiKEYoThCIxzTJ8aw3CKbYRAKCXfoUAJFP7Fc6ABJMBx3EyhZ89NDYEwTIKBahoehqIheEQyDSJNb2DCIahhMSEbKtCooDhGFpUWzLdxTJJVawHJoABjkS45PjEAJ+SBPUZVRRlFyfO7BKSjMKKXgkG4zABWVa1bC1FzxQ6mKykKQLQADDIDVZAeL3JTNCS5IyLLDtO77EqmZ5la7cUgRDj4AY7Ua+MzubBZaovOqDYzAey7TDWLRXFDNIzzTgQAyHHrETZHGqwJxMAEapYGqYpVi2HwzDuQ5oHKIQgggSSUGMOgdE4RhYDwJBVAwIQTH2UYhjQJBRAmZxuCEHZ3icJp5EgKxgAIVgCCQSQSEIBQkCAYhCAIJYKmKNIuFcTBIESPYEk6GBUm+BZOmOPgZgWYRTiYEwvEwaIEAAK4KnKOJrgmTpDjCbYJmKSI2CoOxihOLglCuAACioNg8COA4gmcOZOiidg+g+Dh4moOA8CMYokNmCoyiycQ8E8A4iE6D4OjOMgng8ZJjiITA8CSEouEcKwKkkLJyhQIoIkYU9LjORhcCsAAIACLQ8iaSJ6FKC5jJoaobA8KYoACCRKnmMJzhuDpZnSboMCKGJ4nMPIPDmYAACwKIDk6CoLCeU40m6I5oliMoKDya" ;
 +"ICokLIpgoThviOKJoGYf4KmUKhMjMLJLCAAojCyaYoiYGoGmqM46CkOwPEoKonAACxKlSdItmiWBeBeDgrioNo3D0KxSlAAAtgsUpYnUPRPEoco8hCa+T40SxbBRj5tEsHJ1i6JhbGYS4ug8awelQLZAAKZI5C4DxrhYQ9ehmUppWiA48nAPRuFKYpiAAC47laZQ9iuKZSgOPotkuFI7C6C4gACPJAm8eQOhOQZoikDp3kCS5AACPoEk8fBGnqQgpDOSppD2TxjlyPZD6CfwekQTx5lKP5ImseZTCAL5MAMAAAkoTADmMLpIjISp+HSS4PgyMAADBzAHDSIoPCOUpWjObIKE8NJOHKIwPEaTprBsHpdjWLB9AieQ+DQYwQAAMR1EOZxWi+bx7HcWQ8msfRYnnDZQACRwxgwc5rGaMZPE0ZxqjWNZtgyRwAAyTZEnuXJzEyAx2kQcxNkye5cEy3cYAcANrGAIH4OAhx3gNGGPAfgIR8jBA4McBMARVhnH4HQOYmxuCpF2MsecEQVBvGQCcIQug6itGQBoARAQ=")
oCalendar.EndUpdate()

134:
How can I arrange the month's header ( left, right center, next, prev month, picture, ebn)

local oCalendar,var_Appearance

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 2
oCalendar.MaxMonthY = 2
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "2[b=0][bg=0x01000000],1,3[b=0][bg=0x01000000]"
oCalendar.Template = [DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"] // oCalendar.DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"
oCalendar.Template = [HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"] // oCalendar.HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"
oCalendar.Template = [HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="] // oCalendar.HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="
oCalendar.Template = [DateHeaderField(2) = "<c><img>up</img>"] // oCalendar.DateHeaderField(2) = "<c><img>up</img>"
oCalendar.Template = [DateHeaderField(3) = "<c><img>down</img>"] // oCalendar.DateHeaderField(3) = "<c><img>down</img>"
oCalendar.Template = [DateHeaderField(4) = "<c><img>left</img>"] // oCalendar.DateHeaderField(4) = "<c><img>left</img>"
oCalendar.Template = [DateHeaderField(5) = "<c><img>right</img>"] // oCalendar.DateHeaderField(5) = "<c><img>right</img>"
var_Appearance = oCalendar.VisualAppearance
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABFgDg6AADACAxSDEMQBQKAAzQFAYbhgHCGAAGQaBUgmFgAQhFcZQSKUOQTDKMIziYBYfgkMIgSbJUgDGAkRRdDSOYIkWA5AiKEYoThCIxzTJ8aw3CKbYRAKCXfoUAJFP7Fc6ABJMBx3EyhZ89NDYEwTIKBahoehqIheEQyDSJNb2DCIahhMSEbKtCooDhGFpUWzLdxTJJVawHJoABjkS45PjEAJ+SBPUZVRRlFyfO7BKSjMKKXgkG4zABWVa1bC1FzxQ6mKykKQLQADDIDVZAeL3JTNCS5IyLLDtO77EqmZ5la7cUgRDj4AY7Ua+MzubBZaovOqDYzAey7TDWLRXFDNIzzTgQAyHHrETZHGqwJxMAEapYGqYpVi2HwzDuQ5oHKIQgggSSUGMOgdE4RhYDwJBVAwIQTH2UYhjQJBRAmZxuCEHZ3icJp5EgKxgAIVgCCQSQSEIBQkCAYhCAIJYKmKNIuFcTBIESPYEk6GBUm+BZOmOPgZgWYRTiYEwvEwaIEAAK4KnKOJrgmTpDjCbYJmKSI2CoOxihOLglCuAACioNg8COA4gmcOZOiidg+g+Dh4moOA8CMYokNmCoyiycQ8E8A4iE6D4OjOMgng8ZJjiITA8CSEouEcKwKkkLJyhQIoIkYU9LjORhcCsAAIACLQ8iaSJ6FKC5jJoaobA8KYoACCRKnmMJzhuDpZnSboMCKGJ4nMPIPDmYAACwKIDk6CoLCeU40m6I5oliMoKDya" ;
 +"ICokLIpgoThviOKJoGYf4KmUKhMjMLJLCAAojCyaYoiYGoGmqM46CkOwPEoKonAACxKlSdItmiWBeBeDgrioNo3D0KxSlAAAtgsUpYnUPRPEoco8hCa+T40SxbBRj5tEsHJ1i6JhbGYS4ug8awelQLZAAKZI5C4DxrhYQ9ehmUppWiA48nAPRuFKYpiAAC47laZQ9iuKZSgOPotkuFI7C6C4gACPJAm8eQOhOQZoikDp3kCS5AACPoEk8fBGnqQgpDOSppD2TxjlyPZD6CfwekQTx5lKP5ImseZTCAL5MAMAAAkoTADmMLpIjISp+HSS4PgyMAADBzAHDSIoPCOUpWjObIKE8NJOHKIwPEaTprBsHpdjWLB9AieQ+DQYwQAAMR1EOZxWi+bx7HcWQ8msfRYnnDZQACRwxgwc5rGaMZPE0ZxqjWNZtgyRwAAyTZEnuXJzEyAx2kQcxNkye5cEy3cYAcANrGAIH4OAhx3gNGGPAfgIR8jBA4McBMARVhnH4HQOYmxuCpF2MsecEQVBvGQCcIQug6itGQBoARAQ=")
oCalendar.EndUpdate()

133:
How can I arrange the month's header (right up down, next, prev month, picture, ebn)

local oCalendar,var_Appearance

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 2
oCalendar.MaxMonthY = 2
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "1,(2[b=0][bg=0x01000000]/3[b=0][bg=0x01000000]):32"
oCalendar.Template = [DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"] // oCalendar.DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"
oCalendar.Template = [HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"] // oCalendar.HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"
oCalendar.Template = [HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="] // oCalendar.HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="
oCalendar.Template = [DateHeaderField(2) = "<c><img>up</img>"] // oCalendar.DateHeaderField(2) = "<c><img>up</img>"
oCalendar.Template = [DateHeaderField(3) = "<c><img>down</img>"] // oCalendar.DateHeaderField(3) = "<c><img>down</img>"
oCalendar.Template = [DateHeaderField(4) = "<c><img>left</img>"] // oCalendar.DateHeaderField(4) = "<c><img>left</img>"
oCalendar.Template = [DateHeaderField(5) = "<c><img>right</img>"] // oCalendar.DateHeaderField(5) = "<c><img>right</img>"
var_Appearance = oCalendar.VisualAppearance
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABFgDg6AADACAxSDEMQBQKAAzQFAYbhgHCGAAGQaBUgmFgAQhFcZQSKUOQTDKMIziYBYfgkMIgSbJUgDGAkRRdDSOYIkWA5AiKEYoThCIxzTJ8aw3CKbYRAKCXfoUAJFP7Fc6ABJMBx3EyhZ89NDYEwTIKBahoehqIheEQyDSJNb2DCIahhMSEbKtCooDhGFpUWzLdxTJJVawHJoABjkS45PjEAJ+SBPUZVRRlFyfO7BKSjMKKXgkG4zABWVa1bC1FzxQ6mKykKQLQADDIDVZAeL3JTNCS5IyLLDtO77EqmZ5la7cUgRDj4AY7Ua+MzubBZaovOqDYzAey7TDWLRXFDNIzzTgQAyHHrETZHGqwJxMAEapYGqYpVi2HwzDuQ5oHKIQgggSSUGMOgdE4RhYDwJBVAwIQTH2UYhjQJBRAmZxuCEHZ3icJp5EgKxgAIVgCCQSQSEIBQkCAYhCAIJYKmKNIuFcTBIESPYEk6GBUm+BZOmOPgZgWYRTiYEwvEwaIEAAK4KnKOJrgmTpDjCbYJmKSI2CoOxihOLglCuAACioNg8COA4gmcOZOiidg+g+Dh4moOA8CMYokNmCoyiycQ8E8A4iE6D4OjOMgng8ZJjiITA8CSEouEcKwKkkLJyhQIoIkYU9LjORhcCsAAIACLQ8iaSJ6FKC5jJoaobA8KYoACCRKnmMJzhuDpZnSboMCKGJ4nMPIPDmYAACwKIDk6CoLCeU40m6I5oliMoKDya" ;
 +"ICokLIpgoThviOKJoGYf4KmUKhMjMLJLCAAojCyaYoiYGoGmqM46CkOwPEoKonAACxKlSdItmiWBeBeDgrioNo3D0KxSlAAAtgsUpYnUPRPEoco8hCa+T40SxbBRj5tEsHJ1i6JhbGYS4ug8awelQLZAAKZI5C4DxrhYQ9ehmUppWiA48nAPRuFKYpiAAC47laZQ9iuKZSgOPotkuFI7C6C4gACPJAm8eQOhOQZoikDp3kCS5AACPoEk8fBGnqQgpDOSppD2TxjlyPZD6CfwekQTx5lKP5ImseZTCAL5MAMAAAkoTADmMLpIjISp+HSS4PgyMAADBzAHDSIoPCOUpWjObIKE8NJOHKIwPEaTprBsHpdjWLB9AieQ+DQYwQAAMR1EOZxWi+bx7HcWQ8msfRYnnDZQACRwxgwc5rGaMZPE0ZxqjWNZtgyRwAAyTZEnuXJzEyAx2kQcxNkye5cEy3cYAcANrGAIH4OAhx3gNGGPAfgIR8jBA4McBMARVhnH4HQOYmxuCpF2MsecEQVBvGQCcIQug6itGQBoARAQ=")
oCalendar.EndUpdate()

132:
How can I arrange the month's header (left, next, prev month, picture, ebn)

local oCalendar,var_Appearance

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 2
oCalendar.MaxMonthY = 2
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "(" + ["] + "" + ["] + "[b=0],(" + ["] + "" + ["] + "[b=0]/24;2[b=0][bg=0x01000000]/" + ["] + "" + ["] + "[b=0]):24," + ["] + "" + ["] + "[b=0]):32,(" + ["] + "" + ["] + "[b=0],(" + ["] + "" + ["] + "[b=0]/24;3[b=0][bg=0x01000000]/" + ["] + "" + ["] + "[b=0]):24," + ["] + "" + ["] + "[b=0]):32,1"
oCalendar.Template = [DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"] // oCalendar.DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"
oCalendar.Template = [HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"] // oCalendar.HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"
oCalendar.Template = [HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="] // oCalendar.HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="
oCalendar.Template = [DateHeaderField(2) = "<c><img>up</img>"] // oCalendar.DateHeaderField(2) = "<c><img>up</img>"
oCalendar.Template = [DateHeaderField(3) = "<c><img>down</img>"] // oCalendar.DateHeaderField(3) = "<c><img>down</img>"
oCalendar.Template = [DateHeaderField(4) = "<c><img>left</img>"] // oCalendar.DateHeaderField(4) = "<c><img>left</img>"
oCalendar.Template = [DateHeaderField(5) = "<c><img>right</img>"] // oCalendar.DateHeaderField(5) = "<c><img>right</img>"
var_Appearance = oCalendar.VisualAppearance
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABFgDg6AADACAxSDEMQBQKAAzQFAYbhgHCGAAGQaBUgmFgAQhFcZQSKUOQTDKMIziYBYfgkMIgSbJUgDGAkRRdDSOYIkWA5AiKEYoThCIxzTJ8aw3CKbYRAKCXfoUAJFP7Fc6ABJMBx3EyhZ89NDYEwTIKBahoehqIheEQyDSJNb2DCIahhMSEbKtCooDhGFpUWzLdxTJJVawHJoABjkS45PjEAJ+SBPUZVRRlFyfO7BKSjMKKXgkG4zABWVa1bC1FzxQ6mKykKQLQADDIDVZAeL3JTNCS5IyLLDtO77EqmZ5la7cUgRDj4AY7Ua+MzubBZaovOqDYzAey7TDWLRXFDNIzzTgQAyHHrETZHGqwJxMAEapYGqYpVi2HwzDuQ5oHKIQgggSSUGMOgdE4RhYDwJBVAwIQTH2UYhjQJBRAmZxuCEHZ3icJp5EgKxgAIVgCCQSQSEIBQkCAYhCAIJYKmKNIuFcTBIESPYEk6GBUm+BZOmOPgZgWYRTiYEwvEwaIEAAK4KnKOJrgmTpDjCbYJmKSI2CoOxihOLglCuAACioNg8COA4gmcOZOiidg+g+Dh4moOA8CMYokNmCoyiycQ8E8A4iE6D4OjOMgng8ZJjiITA8CSEouEcKwKkkLJyhQIoIkYU9LjORhcCsAAIACLQ8iaSJ6FKC5jJoaobA8KYoACCRKnmMJzhuDpZnSboMCKGJ4nMPIPDmYAACwKIDk6CoLCeU40m6I5oliMoKDya" ;
 +"ICokLIpgoThviOKJoGYf4KmUKhMjMLJLCAAojCyaYoiYGoGmqM46CkOwPEoKonAACxKlSdItmiWBeBeDgrioNo3D0KxSlAAAtgsUpYnUPRPEoco8hCa+T40SxbBRj5tEsHJ1i6JhbGYS4ug8awelQLZAAKZI5C4DxrhYQ9ehmUppWiA48nAPRuFKYpiAAC47laZQ9iuKZSgOPotkuFI7C6C4gACPJAm8eQOhOQZoikDp3kCS5AACPoEk8fBGnqQgpDOSppD2TxjlyPZD6CfwekQTx5lKP5ImseZTCAL5MAMAAAkoTADmMLpIjISp+HSS4PgyMAADBzAHDSIoPCOUpWjObIKE8NJOHKIwPEaTprBsHpdjWLB9AieQ+DQYwQAAMR1EOZxWi+bx7HcWQ8msfRYnnDZQACRwxgwc5rGaMZPE0ZxqjWNZtgyRwAAyTZEnuXJzEyAx2kQcxNkye5cEy3cYAcANrGAIH4OAhx3gNGGPAfgIR8jBA4McBMARVhnH4HQOYmxuCpF2MsecEQVBvGQCcIQug6itGQBoARAQ=")
oCalendar.EndUpdate()

131:
How can I arrange the month's header (left, right, next, prev month, picture, ebn)

local oCalendar,var_Appearance

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 2
oCalendar.MaxMonthY = 2
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "(" + ["] + "" + ["] + "[b=0],(" + ["] + "" + ["] + "[b=0]/24;2[b=0][bg=0x01000000]/" + ["] + "" + ["] + "[b=0]):24," + ["] + "" + ["] + "[b=0]):32,1,(" + ["] + "" + ["] + "[b=0],(" + ["] + "" + ["] + "[b=0]/24;3[b=0][bg=0x01000000]/" + ["] + "" + ["] + "[b=0]):24," + ["] + "" + ["] + "[b=0]):32"
oCalendar.Template = [DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"] // oCalendar.DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"
oCalendar.Template = [HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"] // oCalendar.HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"
oCalendar.Template = [HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="] // oCalendar.HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="
oCalendar.Template = [DateHeaderField(2) = "<c><img>up</img>"] // oCalendar.DateHeaderField(2) = "<c><img>up</img>"
oCalendar.Template = [DateHeaderField(3) = "<c><img>down</img>"] // oCalendar.DateHeaderField(3) = "<c><img>down</img>"
oCalendar.Template = [DateHeaderField(4) = "<c><img>left</img>"] // oCalendar.DateHeaderField(4) = "<c><img>left</img>"
oCalendar.Template = [DateHeaderField(5) = "<c><img>right</img>"] // oCalendar.DateHeaderField(5) = "<c><img>right</img>"
var_Appearance = oCalendar.VisualAppearance
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABFgDg6AADACAxSDEMQBQKAAzQFAYbhgHCGAAGQaBUgmFgAQhFcZQSKUOQTDKMIziYBYfgkMIgSbJUgDGAkRRdDSOYIkWA5AiKEYoThCIxzTJ8aw3CKbYRAKCXfoUAJFP7Fc6ABJMBx3EyhZ89NDYEwTIKBahoehqIheEQyDSJNb2DCIahhMSEbKtCooDhGFpUWzLdxTJJVawHJoABjkS45PjEAJ+SBPUZVRRlFyfO7BKSjMKKXgkG4zABWVa1bC1FzxQ6mKykKQLQADDIDVZAeL3JTNCS5IyLLDtO77EqmZ5la7cUgRDj4AY7Ua+MzubBZaovOqDYzAey7TDWLRXFDNIzzTgQAyHHrETZHGqwJxMAEapYGqYpVi2HwzDuQ5oHKIQgggSSUGMOgdE4RhYDwJBVAwIQTH2UYhjQJBRAmZxuCEHZ3icJp5EgKxgAIVgCCQSQSEIBQkCAYhCAIJYKmKNIuFcTBIESPYEk6GBUm+BZOmOPgZgWYRTiYEwvEwaIEAAK4KnKOJrgmTpDjCbYJmKSI2CoOxihOLglCuAACioNg8COA4gmcOZOiidg+g+Dh4moOA8CMYokNmCoyiycQ8E8A4iE6D4OjOMgng8ZJjiITA8CSEouEcKwKkkLJyhQIoIkYU9LjORhcCsAAIACLQ8iaSJ6FKC5jJoaobA8KYoACCRKnmMJzhuDpZnSboMCKGJ4nMPIPDmYAACwKIDk6CoLCeU40m6I5oliMoKDya" ;
 +"ICokLIpgoThviOKJoGYf4KmUKhMjMLJLCAAojCyaYoiYGoGmqM46CkOwPEoKonAACxKlSdItmiWBeBeDgrioNo3D0KxSlAAAtgsUpYnUPRPEoco8hCa+T40SxbBRj5tEsHJ1i6JhbGYS4ug8awelQLZAAKZI5C4DxrhYQ9ehmUppWiA48nAPRuFKYpiAAC47laZQ9iuKZSgOPotkuFI7C6C4gACPJAm8eQOhOQZoikDp3kCS5AACPoEk8fBGnqQgpDOSppD2TxjlyPZD6CfwekQTx5lKP5ImseZTCAL5MAMAAAkoTADmMLpIjISp+HSS4PgyMAADBzAHDSIoPCOUpWjObIKE8NJOHKIwPEaTprBsHpdjWLB9AieQ+DQYwQAAMR1EOZxWi+bx7HcWQ8msfRYnnDZQACRwxgwc5rGaMZPE0ZxqjWNZtgyRwAAyTZEnuXJzEyAx2kQcxNkye5cEy3cYAcANrGAIH4OAhx3gNGGPAfgIR8jBA4McBMARVhnH4HQOYmxuCpF2MsecEQVBvGQCcIQug6itGQBoARAQ=")
oCalendar.EndUpdate()

130:
How can I arrange the month's header (right, next, prev month, picture, ebn)

local oCalendar,var_Appearance

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 2
oCalendar.MaxMonthY = 2
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "1,(" + ["] + "" + ["] + "[b=0],(" + ["] + "" + ["] + "[b=0]/24;2[b=0][bg=0x01000000]/" + ["] + "" + ["] + "[b=0]):24," + ["] + "" + ["] + "[b=0]):32,(" + ["] + "" + ["] + "[b=0],(" + ["] + "" + ["] + "[b=0]/24;3[b=0][bg=0x01000000]/" + ["] + "" + ["] + "[b=0]):24," + ["] + "" + ["] + "[b=0]):32"
oCalendar.Template = [DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"] // oCalendar.DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"
oCalendar.Template = [HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"] // oCalendar.HTMLPicture("left") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJUJJEIJUPDaMZkEANWACeJvMgBIwSGgXAaxGIQI6RMYAJBzFQQHYBeIzKQNYCpTIYAbwNQmMgAILNfAMEBKGYuAaIaxMGYDFD2ARVASRNBDNCeSAIDRCW7MAgDDDZDIAKbADgRVrfUCNiIAJJFJxEVxCMCCgI"
oCalendar.Template = [HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="] // oCalendar.HTMLPicture("right") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIBOZSI5CACuZwcdMRAhnIJNIMKWKPBb8MIFiIJOBILJzhQOYc7YYBY5vVBkiJEJJEIJUHBPMbAARYUI0KKADJKEaDEpAVgAYjHYI8GSACgQb4AcRiGCPJgwNQIEzANIICaUUwpUDIBYjKIzBAsAZiWQ1QYABLZTKBAIATL2CUxXJdV8RABJIpOIiuIRgQUBA="
oCalendar.Template = [DateHeaderField(2) = "<c><img>up</img>"] // oCalendar.DateHeaderField(2) = "<c><img>up</img>"
oCalendar.Template = [DateHeaderField(3) = "<c><img>down</img>"] // oCalendar.DateHeaderField(3) = "<c><img>down</img>"
oCalendar.Template = [DateHeaderField(4) = "<c><img>left</img>"] // oCalendar.DateHeaderField(4) = "<c><img>left</img>"
oCalendar.Template = [DateHeaderField(5) = "<c><img>right</img>"] // oCalendar.DateHeaderField(5) = "<c><img>right</img>"
var_Appearance = oCalendar.VisualAppearance
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABFgDg6AADACAxSDEMQBQKAAzQFAYbhgHCGAAGQaBUgmFgAQhFcZQSKUOQTDKMIziYBYfgkMIgSbJUgDGAkRRdDSOYIkWA5AiKEYoThCIxzTJ8aw3CKbYRAKCXfoUAJFP7Fc6ABJMBx3EyhZ89NDYEwTIKBahoehqIheEQyDSJNb2DCIahhMSEbKtCooDhGFpUWzLdxTJJVawHJoABjkS45PjEAJ+SBPUZVRRlFyfO7BKSjMKKXgkG4zABWVa1bC1FzxQ6mKykKQLQADDIDVZAeL3JTNCS5IyLLDtO77EqmZ5la7cUgRDj4AY7Ua+MzubBZaovOqDYzAey7TDWLRXFDNIzzTgQAyHHrETZHGqwJxMAEapYGqYpVi2HwzDuQ5oHKIQgggSSUGMOgdE4RhYDwJBVAwIQTH2UYhjQJBRAmZxuCEHZ3icJp5EgKxgAIVgCCQSQSEIBQkCAYhCAIJYKmKNIuFcTBIESPYEk6GBUm+BZOmOPgZgWYRTiYEwvEwaIEAAK4KnKOJrgmTpDjCbYJmKSI2CoOxihOLglCuAACioNg8COA4gmcOZOiidg+g+Dh4moOA8CMYokNmCoyiycQ8E8A4iE6D4OjOMgng8ZJjiITA8CSEouEcKwKkkLJyhQIoIkYU9LjORhcCsAAIACLQ8iaSJ6FKC5jJoaobA8KYoACCRKnmMJzhuDpZnSboMCKGJ4nMPIPDmYAACwKIDk6CoLCeU40m6I5oliMoKDya" ;
 +"ICokLIpgoThviOKJoGYf4KmUKhMjMLJLCAAojCyaYoiYGoGmqM46CkOwPEoKonAACxKlSdItmiWBeBeDgrioNo3D0KxSlAAAtgsUpYnUPRPEoco8hCa+T40SxbBRj5tEsHJ1i6JhbGYS4ug8awelQLZAAKZI5C4DxrhYQ9ehmUppWiA48nAPRuFKYpiAAC47laZQ9iuKZSgOPotkuFI7C6C4gACPJAm8eQOhOQZoikDp3kCS5AACPoEk8fBGnqQgpDOSppD2TxjlyPZD6CfwekQTx5lKP5ImseZTCAL5MAMAAAkoTADmMLpIjISp+HSS4PgyMAADBzAHDSIoPCOUpWjObIKE8NJOHKIwPEaTprBsHpdjWLB9AieQ+DQYwQAAMR1EOZxWi+bx7HcWQ8msfRYnnDZQACRwxgwc5rGaMZPE0ZxqjWNZtgyRwAAyTZEnuXJzEyAx2kQcxNkye5cEy3cYAcANrGAIH4OAhx3gNGGPAfgIR8jBA4McBMARVhnH4HQOYmxuCpF2MsecEQVBvGQCcIQug6itGQBoARAQ=")
oCalendar.EndUpdate()

129:
Can I specify a different foreground color for the current month

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 2
oCalendar.MaxMonthY = 2
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "1,2:32,3:32"
oCalendar.Template = [DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"] // oCalendar.DateHeaderField(1) = " ( ( ( month(value) = month(date(``) ) and ( year(value) = year(date(``) ) ) ) ) ? `<b><fgcolor=0000FF>` : `` ) + `<c><%month%> <%year%>`"
oCalendar.EndUpdate()

128:
How do I change the +/- when using the custom format for month's header (with no background)

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 2
oCalendar.MaxMonthY = 2
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "1,2:32,3:32"
oCalendar.Template = [HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="
oCalendar.Template = [DateHeaderField(2) = "<c><img>up</img>"] // oCalendar.DateHeaderField(2) = "<c><img>up</img>"
oCalendar.Template = [DateHeaderField(3) = "<c><img>down</img>"] // oCalendar.DateHeaderField(3) = "<c><img>down</img>"
oCalendar.EndUpdate()

127:
How do I change the +/- when using the custom format for month's header (with background)

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 2
oCalendar.MaxMonthY = 2
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "1,(" + ["] + "" + ["] + "[b=0],(" + ["] + "" + ["] + "[b=0]/24;2[b=0][bg=RGB(196,196,196)]/" + ["] + "" + ["] + "[b=0]):24," + ["] + "" + ["] + "[b=0]):32,(" + ["] + "" + ["] + "[b=0],(" + ["] + "" + ["] + "[b=0]/24;3[b=0][bg=RGB(196,196,196)]/" + ["] + "" + ["] + "[b=0]):24," + ["] + "" + ["] + "[b=0]):32"
oCalendar.Template = [HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("up") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiJZJJEIJUPDaMZkUAQGAOP4DRShOgvHIGQA0U5CbKzOIZYRIICzCaUX4PS4hRgEGg/QaKJLhGSESIIZoMfAMMIkKQzJxDDBJaCMaoQSABVhAXgQRBLRFdNhIB4QY4PfyUJB7AYAFo+DIWOb7LDdiIAJJFJxEVxCMCCgIA="
oCalendar.Template = [HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="] // oCalendar.HTMLPicture("down") = "gCJKBOI4NBQaBQAhQNJJIIhShQACERCAIA0RD7zf5hiIEM5BJpBhSxR4LfhhAsRKZJIhBKg4J7tRjJBIAEAMAjzWIJba0E5rWQcWaBAoFR7oK4HewRZCMPiMUDLXRoS4PfjCQJrEhdaJ5ET4YIvTgOJ5kFSTKpkFaTKLEFqTGxyFgTIyuMgCeJaPwDSIKEhlCT5ZoWFT4iIAJJFJxEVxCMCCgIA="
oCalendar.Template = [DateHeaderField(2) = "<c><img>up</img>"] // oCalendar.DateHeaderField(2) = "<c><img>up</img>"
oCalendar.Template = [DateHeaderField(3) = "<c><img>down</img>"] // oCalendar.DateHeaderField(3) = "<c><img>down</img>"
oCalendar.EndUpdate()

126:
How can I arrange the month's header (right, next, prev month)

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.Appearance = 0
oCalendar.Template = [Background(8) = BackColor] // oCalendar.Background(8) = oCalendar.BackColor
oCalendar.FirstDay = 2
oCalendar.MaxMonthX = 2
oCalendar.MaxMonthY = 2
oCalendar.DrawGridLine = 0
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.MarkToday = true
oCalendar.AutoSize = 0
oCalendar.AlignmentDay = 1
oCalendar.FixedCellHeight = 32
oCalendar.FixedCellWidth = 32
oCalendar.DateHeaderFormat = "1,(" + ["] + "" + ["] + "[b=0],(" + ["] + "" + ["] + "[b=0]/24;2[b=0][bg=RGB(196,196,196)]/" + ["] + "" + ["] + "[b=0]):24," + ["] + "" + ["] + "[b=0]):32,(" + ["] + "" + ["] + "[b=0],(" + ["] + "" + ["] + "[b=0]/24;3[b=0][bg=RGB(196,196,196)]/" + ["] + "" + ["] + "[b=0]):24," + ["] + "" + ["] + "[b=0]):32"
oCalendar.EndUpdate()

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

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.FirstDay = 1
oCalendar.DisplayWeekNumberAs = 1
oCalendar.ShowWeeks = true
oCalendar.Date = "01/01/2016"
oCalendar.EndUpdate()

124:
How do I display the week number according to ISO8601 standard

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.FirstDay = 2
oCalendar.DisplayWeekNumberAs = 0
oCalendar.ShowWeeks = true
oCalendar.Date = "01/01/2016"
oCalendar.EndUpdate()

123:
Just seen the BackgroundExt property. Not sure what I can do with that

local oCalendar,var_Event,var_Event1,var_Event10,var_Event11,var_Event12,var_Event2,var_Event3,var_Event4,var_Event5,var_Event6,var_Event7,var_Event8,var_Event9,var_Events

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BeginUpdate()
oCalendar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oCalendar.AlignmentDay = 1
oCalendar.FixedCellWidth = 48
oCalendar.FixedCellHeight = 48
oCalendar.AutoSize = 0
oCalendar.MaxMonthX = 1
oCalendar.MaxMonthY = 1
oCalendar.Date = "02/01/2014"
oCalendar.ShowNonMonthDays = false
oCalendar.DrawGridLine = 2
var_Events = oCalendar.Events
	// var_Events.Add("02/03/2014").BackgroundExt = "bottom[8,pattern=0x006,patterncolor=RGB(190,190,190),frame=RGB(0,0,0),framethick]"
	var_Event = var_Events.Add("02/03/2014")
	with (oCalendar)
		TemplateDef = [dim var_Event]
		TemplateDef = var_Event
		Template = [var_Event.BackgroundExt = "bottom[8,pattern=0x006,patterncolor=RGB(190,190,190),frame=RGB(0,0,0),framethick]"]
	endwith
	// var_Events.Add("02/04/2014").BackgroundExt = "bottom[100%,pattern=0x003,frame=RGB(0,0,0),framethick]"
	var_Event1 = var_Events.Add("02/04/2014")
	with (oCalendar)
		TemplateDef = [dim var_Event1]
		TemplateDef = var_Event1
		Template = [var_Event1.BackgroundExt = "bottom[100%,pattern=0x003,frame=RGB(0,0,0),framethick]"]
	endwith
	// var_Events.Add("02/05/2014").BackgroundExt = "top[8,pattern=0x006,patterncolor=RGB(190,190,190),frame=RGB(0,0,0),framethick]"
	var_Event2 = var_Events.Add("02/05/2014")
	with (oCalendar)
		TemplateDef = [dim var_Event2]
		TemplateDef = var_Event2
		Template = [var_Event2.BackgroundExt = "top[8,pattern=0x006,patterncolor=RGB(190,190,190),frame=RGB(0,0,0),framethick]"]
	endwith
	// var_Events.Add("02/10/2014").BackgroundExt = "top[4](left[4],right[4],client),bottom[4](left[4],right[4],client),left[4],right[4],client(left[10%](top[90%,back=RGB(0,0,0)]),top[30%,back=RGB(254,217,102)],client[back=RGB(123,250,212)])"
	var_Event3 = var_Events.Add("02/10/2014")
	with (oCalendar)
		TemplateDef = [dim var_Event3]
		TemplateDef = var_Event3
		Template = [var_Event3.BackgroundExt = "top[4](left[4],right[4],client),bottom[4](left[4],right[4],client),left[4],right[4],client(left[10%](top[90%,back=RGB(0,0,0)]),top[30%,back=RGB(254,217,102)],client[back=RGB(123,250,212)])"]
	endwith
	// var_Events.Add("02/11/2014").BackgroundExt = "left[33%,back=RGB(0,128,0)],left[33%,back=RGB(0,255,0)],client[back=RGB(255,128,128)]"
	var_Event4 = var_Events.Add("02/11/2014")
	with (oCalendar)
		TemplateDef = [dim var_Event4]
		TemplateDef = var_Event4
		Template = [var_Event4.BackgroundExt = "left[33%,back=RGB(0,128,0)],left[33%,back=RGB(0,255,0)],client[back=RGB(255,128,128)]"]
	endwith
	// var_Events.Add("02/12/2014").BackgroundExt = "top[33%,back=RGB(0,128,0)],left[33%,back=RGB(0,255,0)],client[back=RGB(255,128,128)](top[50%,back=RGB(0,255,255)])"
	var_Event5 = var_Events.Add("02/12/2014")
	with (oCalendar)
		TemplateDef = [dim var_Event5]
		TemplateDef = var_Event5
		Template = [var_Event5.BackgroundExt = "top[33%,back=RGB(0,128,0)],left[33%,back=RGB(0,255,0)],client[back=RGB(255,128,128)](top[50%,back=RGB(0,255,255)])"]
	endwith
	// var_Events.Add("02/13/2014").BackgroundExt = "bottom[12](left[75%,back=0x01000000]),none[(0,100%-22,100%,22),text=`<sha ;;0><font ;6>75%`,align=0x11]"
	var_Event6 = var_Events.Add("02/13/2014")
	with (oCalendar)
		TemplateDef = [dim var_Event6]
		TemplateDef = var_Event6
		Template = [var_Event6.BackgroundExt = "bottom[12](left[75%,back=0x01000000]),none[(0,100%-22,100%,22),text=`<sha ;;0><font ;6>75%`,align=0x11]"]
	endwith
	// var_Events.Add("02/14/2014").BackgroundExt = "top[12](left[55%,back=0x01FEFEFE]),none[(0,0,100%,12),pattern=0x000,frame=RGB(0,255,0)],none[(0,0,100%,22),text=`<sha ;;0><font ;6>55%`,align=0x11]"
	var_Event7 = var_Events.Add("02/14/2014")
	with (oCalendar)
		TemplateDef = [dim var_Event7]
		TemplateDef = var_Event7
		Template = [var_Event7.BackgroundExt = "top[12](left[55%,back=0x01FEFEFE]),none[(0,0,100%,12),pattern=0x000,frame=RGB(0,255,0)],none[(0,0,100%,22),text=`<sha ;;0><font ;6>55%`,align=0x11]"]
	endwith
	// var_Events.Add("02/17/2014").BackgroundExt = "bottom[16,align=0x11,text=`<fgcolor 808080><font ;6>extra`]"
	var_Event8 = var_Events.Add("02/17/2014")
	with (oCalendar)
		TemplateDef = [dim var_Event8]
		TemplateDef = var_Event8
		Template = [var_Event8.BackgroundExt = "bottom[16,align=0x11,text=`<fgcolor 808080><font ;6>extra`]"]
	endwith
	// var_Events.Add("02/18/2014").BackgroundExt = "root[text=`<fgcolor 808080><font ;6>extra 2`,align=0x01](bottom[16,text=`<fgcolor 808080><font ;6>extra1`,align=0x21])"
	var_Event9 = var_Events.Add("02/18/2014")
	with (oCalendar)
		TemplateDef = [dim var_Event9]
		TemplateDef = var_Event9
		Template = [var_Event9.BackgroundExt = "root[text=`<fgcolor 808080><font ;6>extra 2`,align=0x01](bottom[16,text=`<fgcolor 808080><font ;6>extra1`,align=0x21])"]
	endwith
	var_Event10 = var_Events.Add("02/19/2014")
		var_Event10.BackgroundExt = "top[4](left[4],right[4],client),bottom[4](left[4],right[4],client),left[4],right[4],client[text=`<fgcolor 808080><font ;6><b>B`,align=0x22](client[text=`<fgcolor 808080><font ;6><b>A`,align=0x20](client[text=`<fgcolor 808080><font ;6><b>D`,align=0x00](client[text=`<fgcolor 808080><font ;6><b>C`,align=0x02](client))))"
		var_Event10.Caption = "<sha ;;0><font ;12><fgcolor FF0000><b><%day%>"
	// var_Events.Add("02/20/2014").BackgroundExt = "root[text=`<fgcolor 808080><b>B`,align=0x22](client[text=`<fgcolor 808080><b>A`,align=0x20])"
	var_Event11 = var_Events.Add("02/20/2014")
	with (oCalendar)
		TemplateDef = [dim var_Event11]
		TemplateDef = var_Event11
		Template = [var_Event11.BackgroundExt = "root[text=`<fgcolor 808080><b>B`,align=0x22](client[text=`<fgcolor 808080><b>A`,align=0x20])"]
	endwith
	var_Event12 = var_Events.Add("02/21/2014")
		var_Event12.BackgroundExt = "root[align=0,wordwrap,text=`<font ;6>This is a long story to put on your date, to break the lines. `]"
		var_Event12.Caption = "<b><fgcolor FFFFFF><out 1;2><font ;18><%day%>"
oCalendar.EndUpdate()

122:
How can I show a pattern over a date

local oCalendar,var_Event,var_Event1,var_Event2

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.AlignmentDay = 1
oCalendar.FixedCellWidth = 36
oCalendar.FixedCellHeight = 36
oCalendar.AutoSize = 0
oCalendar.MaxMonthX = 1
oCalendar.MaxMonthY = 1
oCalendar.Date = "02/01/2014"
oCalendar.ShowNonMonthDays = false
// oCalendar.Events.Add("02/03/2014").BackgroundExt = "bottom[8,pattern=0x006,patterncolor=RGB(190,190,190),frame=RGB(0,0,0),framethick]"
var_Event = oCalendar.Events.Add("02/03/2014")
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.BackgroundExt = "bottom[8,pattern=0x006,patterncolor=RGB(190,190,190),frame=RGB(0,0,0),framethick]"]
endwith
// oCalendar.Events.Add("02/04/2014").BackgroundExt = "bottom[100%,pattern=0x006,patterncolor=RGB(190,190,190),frame=RGB(0,0,0),framethick]"
var_Event1 = oCalendar.Events.Add("02/04/2014")
with (oCalendar)
	TemplateDef = [dim var_Event1]
	TemplateDef = var_Event1
	Template = [var_Event1.BackgroundExt = "bottom[100%,pattern=0x006,patterncolor=RGB(190,190,190),frame=RGB(0,0,0),framethick]"]
endwith
// oCalendar.Events.Add("02/05/2014").BackgroundExt = "top[8,pattern=0x006,patterncolor=RGB(190,190,190),frame=RGB(0,0,0),framethick]"
var_Event2 = oCalendar.Events.Add("02/05/2014")
with (oCalendar)
	TemplateDef = [dim var_Event2]
	TemplateDef = var_Event2
	Template = [var_Event2.BackgroundExt = "top[8,pattern=0x006,patterncolor=RGB(190,190,190),frame=RGB(0,0,0),framethick]"]
endwith
oCalendar.DrawGridLine = 2

121:
Can I use PNG picture files

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Template = [HTMLPicture("pic1") = "c:\exontrol\images\card.png"] // oCalendar.HTMLPicture("pic1") = "c:\exontrol\images\card.png"
oCalendar.AlignmentDay = 0
oCalendar.FixedCellWidth = 64
oCalendar.FixedCellHeight = 48
oCalendar.AutoSize = 0
oCalendar.MaxMonthX = 1
oCalendar.MaxMonthY = 1
// oCalendar.Events.Add(oCalendar.Date).Caption = "<sha><b><%day%></b></sha> <r><img>pic1</img>"
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Caption = "<sha><b><%day%></b></sha> <r><img>pic1</img>"]
endwith

120:
Is it possible to display a custom-size picture assigned to a date

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Template = [HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"] // oCalendar.HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"
oCalendar.AlignmentDay = 0
oCalendar.FixedCellWidth = 64
oCalendar.FixedCellHeight = 48
oCalendar.AutoSize = 0
oCalendar.MaxMonthX = 1
oCalendar.MaxMonthY = 1
// oCalendar.Events.Add(oCalendar.Date).Caption = "<sha><b><%day%></b></sha> <r><img>pic1</img>"
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Caption = "<sha><b><%day%></b></sha> <r><img>pic1</img>"]
endwith

119:
How can I assign a caption and an icon to a date

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oCalendar.AlignmentDay = 0
oCalendar.FixedCellWidth = 48
oCalendar.AutoSize = 0
oCalendar.MaxMonthX = 1
oCalendar.MaxMonthY = 1
// oCalendar.Events.Add(oCalendar.Date).Caption = "<sha><b><%day%></b></sha> <r><img>1</img><off -4><sha;;0><fgcolor FF0000><font ;6>ev</sha>"
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Caption = "<sha><b><%day%></b></sha> <r><img>1</img><off -4><sha;;0><fgcolor FF0000><font ;6>ev</sha>"]
endwith

118:
How can I assign a caption to a date

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.AlignmentDay = 0
oCalendar.FixedCellWidth = 36
oCalendar.AutoSize = 0
oCalendar.MaxMonthX = 1
oCalendar.MaxMonthY = 1
var_Event = oCalendar.Events.Add(oCalendar.Date)
	var_Event.Caption = "<sha><b><%day%></b><r><off -4><sha;;0><fgcolor FF0000><font ;6>ev</sha></sha> 1"
	var_Event.Marker = true

117:
How do I align the day in the calendar control

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.AlignmentDay = 1

116:
How do I specify a different foreground color for weekday headers (S M T W T F S)

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Template = [Background(6) = 16777215] // oCalendar.Background(6) = 0xffffff
oCalendar.Template = [Background(28) = 255] // oCalendar.Background(28) = 0xff

115:
How does localization work

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.FirstDay = oCalendar.LocFirstDay
oCalendar.MonthNames = oCalendar.LocMonthNames()
oCalendar.WeekDays = oCalendar.LocWeekDays()

114:
How can I change the control's Visual appearance

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.VisualDesign = "gBFLBWIgBAEHhEJAEGg6EhCDC0HA0IdT/iyAjAAdcWf8YQAAAcKkEThQCCsiAMRhQBkMHhgABEIBsILBQHRCOp0OhvNwgGM+AUImMHmcHms3nM7ns/GUtmEIB0IIc2GQgFo0q1VrAygI"

113:
How can I align the picture on the control's background

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Picture = oCalendar.ExecuteTemplate("loadpicture(`c:\exontrol\images\card.png`)")
oCalendar.PictureDisplay = 2

112:
Is it possible to place a picture on the control's background

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Picture = oCalendar.ExecuteTemplate("loadpicture(`c:\exontrol\images\card.png`)")

111:
Is it possible to specify the color or the visual appearance (EBN) for selected dates when the control has no focus

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oCalendar.Template = [Background(68) = 16777216] // oCalendar.Background(68) = 0x1000000
oCalendar.Template = [Background(69) = 0] // oCalendar.Background(69) = 0x0
oCalendar.HideSelection = false

110:
Is it possible to specify the color for selected dates when the control loses the focus

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Template = [Background(68) = 8421504] // oCalendar.Background(68) = 0x808080
oCalendar.Template = [Background(69) = 0] // oCalendar.Background(69) = 0x0
oCalendar.HideSelection = false

109:
Can I change the visual appearance for the tooltip, using your EBN files

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ToolTipDelay = 1
oCalendar.ToolTipWidth = 364
oCalendar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oCalendar.Template = [Background(64) = 27951344] // oCalendar.Background(64) = 0x1aa80f0
// oCalendar.Events.Add(oCalendar.Date).Comment = "This is a text that shows up when the cursor hovers the date"
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Comment = "This is a text that shows up when the cursor hovers the date"]
endwith
oCalendar.HideSelection = true

108:
Can I change the color of the control's border (EBN files)

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oCalendar.Appearance = 27966412 /*0x1aabbc8 | Etched*/

107:
Is it possible to change the color for days that are not in the month

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.FirstDay = 2
oCalendar.ShowNonMonthDays = true
oCalendar.NonMonthDaysColor = 0xff

106:
How can I change the foreground color for non-working days

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.FirstDay = 2
oCalendar.NonworkingDaysForeColor = 0xff

105:
How do I change the appearance for the months

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Template = [Background(8) = 8388608] // oCalendar.Background(8) = 0x800000
oCalendar.Template = [Background(21) = 16777215] // oCalendar.Background(21) = 0xffffff

104:
How can I show the more months with its full size
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.AutoSize = 1
oCalendar.MaxMonthX = 2
oCalendar.MaxMonthY = 2

103:
How can I show the calendar with its full size
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.AutoSize = 1
oCalendar.MaxMonthX = 1
oCalendar.MaxMonthY = 1

102:
How can I hide the separator above the Today button

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Template = [Background(13) = BackColor] // oCalendar.Background(13) = oCalendar.BackColor

101:
How do I limit the dates being displayed or selected

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.MaxMonthX = 1
oCalendar.MaxMonthY = 1
oCalendar.ShowYearScroll = false
oCalendar.MinDate = "01/01/2001"
oCalendar.MaxDate = "01/31/2001"
oCalendar.Date = "01/01/2001"

100:
How can I remove an event
local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.AutoSize = false
oCalendar.FixedCellWidth = 36
oCalendar.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
// oCalendar.Events.Add(oCalendar.Date).Image = 1
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Image = 1]
endwith
oCalendar.Events.Remove(oCalendar.Date)

99:
How can I count the events
local oCalendar,var_Count,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
// oCalendar.Events.Add(oCalendar.Date).Image = 1
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Image = 1]
endwith
var_Count = oCalendar.Events.Count

98:
How can I clear all events
local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
// oCalendar.Events.Add(oCalendar.Date).Image = 1
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Image = 1]
endwith
oCalendar.Events.Clear()

97:
How can I save the events in the calendar
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject

96:
How can I assign an icon to a date

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.AutoSize = false
oCalendar.FixedCellWidth = 36
oCalendar.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
// oCalendar.Events.Add(oCalendar.Date).Image = 1
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Image = 1]
endwith

95:
How can I enable or disable a date

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
// oCalendar.Events.Add(oCalendar.Date).Disabled = true
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Disabled = True]
endwith

94:
How can I mark or highlight a date

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
// oCalendar.Events.Add(oCalendar.Date).Marker = true
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Marker = True]
endwith

93:
How can I assign a tooltip or a comment to a date

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
var_Event = oCalendar.Events.Add(oCalendar.Date)
	var_Event.Comment = "This is a text that shows up when the cursor hovers the date"
	var_Event.CommentTitle = "T I T L E"
oCalendar.HideSelection = true

92:
How can I assign any extra data to a date
local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
// oCalendar.Events.Add(oCalendar.Date).UserData = "your data"
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.UserData = "your data"]
endwith

91:
How can I change the background color for a date

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
// oCalendar.Events.Add(oCalendar.Date).BackColor = 0xff
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.BackColor = 255]
endwith

90:
How can I change the foreground color for a date

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
// oCalendar.Events.Add(oCalendar.Date).ForeColor = 0xff
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.ForeColor = 255]
endwith

89:
How can I draw a date as strikeout

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
// oCalendar.Events.Add(oCalendar.Date).StrikeOut = true
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.StrikeOut = True]
endwith

88:
How can I underline a date

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
// oCalendar.Events.Add(oCalendar.Date).Underline = true
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Underline = True]
endwith

87:
How can I make italic a date

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
// oCalendar.Events.Add(oCalendar.Date).Italic = true
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Italic = True]
endwith

86:
How can I bold a date

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
// oCalendar.Events.Add(oCalendar.Date).Bold = true
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Bold = True]
endwith

85:
How can I get the last visible date being displayed in the calendar
local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ShowNonMonthDays = false
// oCalendar.Events.Add(oCalendar.LastVisibleDate).Comment = "This is the last visible date"
var_Event = oCalendar.Events.Add(oCalendar.LastVisibleDate)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Comment = "This is the last visible date"]
endwith

84:
How can I get the first visible date being displayed in the calendar
local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ShowNonMonthDays = false
// oCalendar.Events.Add(oCalendar.FirstVisibleDate).Comment = "This is the first visible date"
var_Event = oCalendar.Events.Add(oCalendar.FirstVisibleDate)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Comment = "This is the first visible date"]
endwith

83:
How can I hide the ticker that's shown for dates that have a tooltip or a comment
local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.CommentBackColor = oCalendar.BackColor
// oCalendar.Events.Add(oCalendar.Date).Comment = "This is a text that shows up when the cursor hovers the date"
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Comment = "This is a text that shows up when the cursor hovers the date"]
endwith

82:
How can I change the visual aspect of the dates that have a comment or a tooltip assigned

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oCalendar.CommentBackColor = 0x1000000
// oCalendar.Events.Add(oCalendar.Date).Comment = "This is a text that shows up when the cursor hovers the date"
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Comment = "This is a text that shows up when the cursor hovers the date"]
endwith
oCalendar.HideSelection = true

81:
How can I change the visual aspect of the dates that have a comment or a tooltip assigned
local oCalendar,var_Appearance,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
var_Appearance = oCalendar.VisualAppearance
	var_Appearance.Add(11,"c:\exontrol\images\normal.ebn")
	var_Appearance.Add(1,"CP:11 4 2 -2 -2")
oCalendar.CommentBackColor = 0x1000000
// oCalendar.Events.Add(oCalendar.Date).Comment = "This is a text that shows up when the cursor hovers the date"
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Comment = "This is a text that shows up when the cursor hovers the date"]
endwith
oCalendar.HideSelection = true

80:
How can I change the color to highlight the dates that have a comment or a tooltip assigned

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.CommentBackColor = 0x0
// oCalendar.Events.Add(oCalendar.Date).Comment = "This is a text that shows up when the cursor hovers the date"
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Comment = "This is a text that shows up when the cursor hovers the date"]
endwith
oCalendar.HideSelection = true

79:
How can I hide the days that are shown in gray, and doesn' belong to the month

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ShowNonMonthDays = false

78:
How can I change the color for non working days

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.NonworkingDays = 6
oCalendar.NonworkingDaysPattern = 10
oCalendar.NonworkingDaysColor = 0xff

77:
How can I change the pattern or the style to draw the non working days

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.NonworkingDays = 6
oCalendar.NonworkingDaysPattern = 10

76:
How can I show or hide the non working days
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.NonworkingDays = 0

75:
How can I specify the non working days
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.NonworkingDays = 6

74:
How do I get the height of the control to fit the MaxMonthY months in the client area
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject

73:
How do I get the width of the control to fit the MaxMonthX months in the client area
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject

72:
How can I specify the min and max years to scroll within
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.MinScrollYear = 2001
oCalendar.MaxScrollYear = 2010

71:
How do I let the tooltip being displayed longer

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ToolTipPopDelay = 10000
// oCalendar.Events.Add(oCalendar.Date).Comment = "This is a text that shows up when the cursor hovers the date"
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Comment = "This is a text that shows up when the cursor hovers the date"]
endwith
oCalendar.HideSelection = true

70:
How can I save the selected dates
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject

69:
How can I change the date that gets the focus
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Date = "01/01/2001"
oCalendar.FocusDate = "01/02/2001"

68:
How can I select a new date
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Date = "01/01/2001"
oCalendar.Value = "01/02/2001"

67:
I've seen that the width of the tooltip is variable. Can I make it larger

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ToolTipWidth = 328
// oCalendar.Events.Add(oCalendar.Date).Comment = "This is a text that shows up when the cursor hovers the date"
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Comment = "This is a text that shows up when the cursor hovers the date"]
endwith
oCalendar.HideSelection = true

66:
How do I disable showing the tooltip for all control
local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ToolTipDelay = 0
// oCalendar.Events.Add(oCalendar.Date).Comment = "This is a text that shows up when the cursor hovers the date"
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Comment = "This is a text that shows up when the cursor hovers the date"]
endwith
oCalendar.HideSelection = true

65:
How do I show the tooltip quicker
local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ToolTipDelay = 1
// oCalendar.Events.Add(oCalendar.Date).Comment = "This is a text that shows up when the cursor hovers the date"
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Comment = "This is a text that shows up when the cursor hovers the date"]
endwith
oCalendar.HideSelection = true

64:
How do I call your x-script language
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ExecuteTemplate("BackColor = RGB(255,0,0)")

63:
How do I call your x-script language
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Template = "BackColor = RGB(255,0,0)"

62:
Can I change the font for the tooltip

local oCalendar,var_Event,var_StdFont

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ToolTipDelay = 1
var_StdFont = oCalendar.ToolTipFont
	var_StdFont.Name = "Tahoma"
	var_StdFont.Size = 14
oCalendar.ToolTipWidth = 364
// oCalendar.Events.Add(oCalendar.Date).Comment = "This is a text that shows up when the cursor hovers the date"
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Comment = "This is a text that shows up when the cursor hovers the date"]
endwith
oCalendar.HideSelection = true

61:
How can I change the caption of the Today's button

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.TodayCaption = "Azi"

60:
How do I get the date from the cursor
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject

59:
How do I unselect a date

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.SingleSel = false
oCalendar.Date = "01/01/2001"
oCalendar.SelDate = "01/02/2001"
oCalendar.SelDate = "01/03/2001"
oCalendar.SelDate = "01/04/2001"
oCalendar.UnSelDate("01/03/2001")

58:
How do I get the list of selected dates
/*
with (this.EXCALENDARACTIVEXCONTROL1.nativeObject)
	SelectionChanged = class::nativeObject_SelectionChanged
endwith
*/
// Fired when the selection is changed.
function nativeObject_SelectionChanged()
	oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
	? Str(oCalendar.SelDate) 
return

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject

57:
How do I select multiple dates

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.SingleSel = false
oCalendar.Date = "01/01/2001"
oCalendar.SelDate = "01/02/2001"
oCalendar.SelDate = "01/03/2001"
oCalendar.SelDate = "01/04/2001"

56:
How do I get the selected date
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.SelDate = oCalendar.Date

55:
How can I build a date expression
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Date = oCalendar.DoDate(2001,1,1)

54:
How can I select a new date

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Date = oCalendar.DoDate(2001,1,1)
oCalendar.SelDate = oCalendar.DoDate(2001,1,2)

53:
How can I select a new date
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Date = "01/01/2001"
oCalendar.SelDate = "01/02/2001"

52:
How can I change the browsed date
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Date = "01/01/2001"

51:
How can I show or hide the buttons that in the header

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ShowYearSelector = false
oCalendar.ShowMonthSelector = false

50:
How can I show or hide the buttons that scrolls the years

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ShowYearSelector = false

49:
How can I disable changing the month in the months selector

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ShowMonthSelector = false

48:
How can I change the visual aspect of the selected date, using your EBN

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BackColor = 0xffffff
oCalendar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oCalendar.SelBackColor = 0x1000000
oCalendar.SelForeColor = oCalendar.BackColor

47:
How can I change the colors for selected dates

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.SelBackColor = 0x0
oCalendar.SelForeColor = 0xffffff

46:
How can I change the color of the line arround a month

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.DrawBorderLine = 2
oCalendar.BorderLineColor = 0xff

45:
How can I change the style of the line arround a month

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.DrawBorderLine = 2

44:
How can I specify the number of months being displayed
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ShowTodayButton = false
oCalendar.ShowYearScroll = false
oCalendar.MinMonthX = 2
oCalendar.MaxMonthX = 2
oCalendar.MinMonthY = 2
oCalendar.MaxMonthY = 2

43:
How can I lock the control, so user can't select a new date
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Locked = true

42:
How do I change the first day of the week

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.FirstDay = 2

41:
How do I change the name of the months

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.MonthNames = "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec"

40:
How do I change the name of the months

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Template = [MonthName(1) = "Jan"] // oCalendar.MonthName(1) = "Jan"
oCalendar.Template = [MonthName(2) = "Feb"] // oCalendar.MonthName(2) = "Feb"
oCalendar.Template = [MonthName(3) = "Mar"] // oCalendar.MonthName(3) = "Mar"
oCalendar.Template = [MonthName(4) = "Apr"] // oCalendar.MonthName(4) = "Apr"
oCalendar.Template = [MonthName(5) = "May"] // oCalendar.MonthName(5) = "May"
oCalendar.Template = [MonthName(6) = "Jun"] // oCalendar.MonthName(6) = "Jun"
oCalendar.Template = [MonthName(7) = "Jul"] // oCalendar.MonthName(7) = "Jul"
oCalendar.Template = [MonthName(8) = "Aug"] // oCalendar.MonthName(8) = "Aug"
oCalendar.Template = [MonthName(9) = "Sep"] // oCalendar.MonthName(9) = "Sep"
oCalendar.Template = [MonthName(10) = "Oct"] // oCalendar.MonthName(10) = "Oct"
oCalendar.Template = [MonthName(11) = "Nov"] // oCalendar.MonthName(11) = "Nov"
oCalendar.Template = [MonthName(12) = "Dec"] // oCalendar.MonthName(12) = "Dec"

39:
How do I change the name for each week day

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.AutoSize = false
oCalendar.FixedCellWidth = 24
oCalendar.FixedCellHeight = 16
oCalendar.WeekDays = "Su Mo Tu We Th Fr Sa"
oCalendar.HeaderForeColor = 0xff
oCalendar.HeaderBackColor = 0xffffff

38:
How can I specify the width and height for dates being displayed in the calendar
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.AutoSize = false
oCalendar.FixedCellWidth = 22
oCalendar.FixedCellHeight = 16

37:
How can I specify the width and height for dates being displayed in the calendar
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.AutoSize = false
oCalendar.FixedCellWidth = 32
oCalendar.FixedCellHeight = 24

36:
How do I change the appearance for dates in the calendar

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.AppearanceDay = 1
oCalendar.BackColor = 0x8000000f

35:
How do I specify the color for the grid lines

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.DrawGridLine = 1
oCalendar.GridLineColor = 0xff

34:
How do I draw the grid lines

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.DrawGridLine = 1

33:
How do I change the foreground color for the week days and week numbers header

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.HeaderForeColor = 0xff
oCalendar.ShowWeeks = true

32:
How do I change the background color for the week days and week numbers header

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.HeaderBackColor = 0xff
oCalendar.ShowWeeks = true

31:
How can I show or hide the 'Today' button

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ShowTodayButton = false

30:
How can I show or hide the scroll bar that changes the year

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ShowYearScroll = false

29:
How can I show or hide the header that displays the months

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ShowMonth = false

28:
How can I show or hide the header that displays the week days

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ShowDays = false

27:
How do I show or hide the weeks

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ShowWeeks = true

26:
How can I change the visual appearance of Today date in the calendar

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.MarkToday = true
oCalendar.Template = [Background(14) = 255] // oCalendar.Background(14) = 0xff

25:
How do I mark the Today date

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.MarkToday = true

24:
How can I show the control's selection even if the control loses the focus

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.HideSelection = false

23:
How can I hide the control's selection when the control loses the focus

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.HideSelection = true

22:
How do I enable single selection
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.SingleSel = true

21:
How do I enable multiple selection

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.SingleSel = false

20:
How do I disable or enable the control
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Enabled = false

19:
Can I change the forecolor for the tooltip

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ToolTipDelay = 1
oCalendar.ToolTipWidth = 364
oCalendar.Template = [Background(66) = 255] // oCalendar.Background(66) = 0xff
// oCalendar.Events.Add(oCalendar.Date).Comment = "This is a text that shows up when the cursor hovers the date"
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Comment = "This is a text that shows up when the cursor hovers the date"]
endwith
oCalendar.HideSelection = true

18:
Can I change the background color for the tooltip

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ToolTipDelay = 1
oCalendar.ToolTipWidth = 364
oCalendar.Template = [Background(65) = 255] // oCalendar.Background(65) = 0xff
// oCalendar.Events.Add(oCalendar.Date).Comment = "This is a text that shows up when the cursor hovers the date"
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Comment = "This is a text that shows up when the cursor hovers the date"]
endwith
oCalendar.HideSelection = true

17:
Can I change the default border of the tooltip, using your EBN files

local oCalendar,var_Event

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ToolTipDelay = 1
oCalendar.ToolTipWidth = 364
oCalendar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oCalendar.Template = [Background(64) = 16777216] // oCalendar.Background(64) = 0x1000000
// oCalendar.Events.Add(oCalendar.Date).Comment = "This is a text that shows up when the cursor hovers the date"
var_Event = oCalendar.Events.Add(oCalendar.Date)
with (oCalendar)
	TemplateDef = [dim var_Event]
	TemplateDef = var_Event
	Template = [var_Event.Comment = "This is a text that shows up when the cursor hovers the date"]
endwith
oCalendar.HideSelection = true

16:
How can I change the visual appearance of the selected month, in the months selector, using EBN files

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oCalendar.Template = [Background(15) = 16777216] // oCalendar.Background(15) = 0x1000000
oCalendar.Template = [Background(16) = 255] // oCalendar.Background(16) = 0xff

15:
How can I change the visual appearance of Today date in the calendar, using EBN files

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.VisualAppearance.Add(1,"c:\exontrol\images\pushed.ebn")
oCalendar.Template = [Background(14) = 16777216] // oCalendar.Background(14) = 0x1000000
oCalendar.Template = [Background(20) = 1] // oCalendar.Background(20) = 0x1
oCalendar.SelForeColor = 0x0
oCalendar.MarkToday = true

14:
How can I change the visual appearance of separator between calendar and 'Today' button , using EBN files

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oCalendar.Template = [Background(13) = 16777216] // oCalendar.Background(13) = 0x1000000

13:
How can I change the visual appearance of the scrolling bar for years, using EBN files

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oCalendar.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
oCalendar.Template = [Background(12) = 16777216] // oCalendar.Background(12) = 0x1000000
oCalendar.Template = [Background(11) = 33554432] // oCalendar.Background(11) = 0x2000000

12:
How can I change the visual appearance of 'Today' button, using EBN files

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oCalendar.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
oCalendar.Template = [Background(9) = 16777216] // oCalendar.Background(9) = 0x1000000
oCalendar.Template = [Background(10) = 33554432] // oCalendar.Background(10) = 0x2000000

11:
How can I change the visual appearance of header , using EBN files

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oCalendar.Template = [Background(8) = 16777216] // oCalendar.Background(8) = 0x1000000
oCalendar.HeaderForeColor = 0xff

10:
How can I change the visual appearance of header that week numbers, using EBN files

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oCalendar.Template = [Background(7) = 16777216] // oCalendar.Background(7) = 0x1000000
oCalendar.HeaderForeColor = 0xff
oCalendar.ShowWeeks = true

9:
How can I change the visual appearance of header that displays days, using EBN files

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oCalendar.Template = [Background(6) = 16777216] // oCalendar.Background(6) = 0x1000000

8:
How can I change the visual appearance of the drop down button, using EBN files
local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oCalendar.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
oCalendar.Template = [Background(4) = 16777216] // oCalendar.Background(4) = 0x1000000
oCalendar.Template = [Background(5) = 33554432] // oCalendar.Background(5) = 0x2000000

7:
How do I change the visual appearance of the left and right buttons in the calendar's header, using EBN files

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oCalendar.Template = [Background(2) = 16777216] // oCalendar.Background(2) = 0x1000000
oCalendar.Template = [Background(3) = 16777216] // oCalendar.Background(3) = 0x1000000

6:
How do I change the visual appearance of the up and down buttons in the calendar's header, using EBN files

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oCalendar.Template = [Background(0) = 16777216] // oCalendar.Background(0) = 0x1000000
oCalendar.Template = [Background(1) = 16777216] // oCalendar.Background(1) = 0x1000000

5:
How do I change the control's foreground color

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.ForeColor = 0xff

4:
How do I change the control's background color

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.BackColor = 0xc8c8c8

3:
How can I change the control's font

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Font.Name = "Verdana"

2:
How do I change the control's border, using your EBN files

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oCalendar.Appearance = 16777216 /*0x1000000 | */

1:
How do I remove the control's border

local oCalendar

oCalendar = form.EXCALENDARACTIVEXCONTROL1.nativeObject
oCalendar.Appearance = 0