325 |
Clear Undo/Redo queue (method 2)
axSchedule1.BeginUpdate(); axSchedule1.AllowUndoRedo = true; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/10/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); int c = axSchedule1.UndoRedoQueueLength; axSchedule1.UndoRedoQueueLength = 0; axSchedule1.UndoRedoQueueLength = c; System.Diagnostics.Debug.Print( axSchedule1.get_UndoListAction(null,null) ); axSchedule1.EndUpdate(); |
324 |
Clear Undo/Redo queue (method 1)
axSchedule1.BeginUpdate(); axSchedule1.AllowUndoRedo = true; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/10/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); axSchedule1.AllowUndoRedo = true; System.Diagnostics.Debug.Print( axSchedule1.get_UndoListAction(null,null) ); axSchedule1.EndUpdate(); |
323 |
Removes Redo operations
axSchedule1.BeginUpdate(); axSchedule1.AllowUndoRedo = true; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/10/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); axSchedule1.Undo(); axSchedule1.RedoRemoveAction(13,null); System.Diagnostics.Debug.Print( axSchedule1.get_RedoListAction(null,null) ); axSchedule1.EndUpdate(); |
322 |
Removes Undo operations
axSchedule1.BeginUpdate(); axSchedule1.AllowUndoRedo = true; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/10/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); axSchedule1.UndoRemoveAction(13,null); System.Diagnostics.Debug.Print( axSchedule1.get_UndoListAction(null,null) ); axSchedule1.EndUpdate(); |
321 |
Record the UI operations as a block of undo/redo operations
|
320 |
Groups the next to current Undo/Redo Actions in a single block
axSchedule1.BeginUpdate(); axSchedule1.AllowUndoRedo = true; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/10/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); axSchedule1.GroupUndoRedoActions(2); System.Diagnostics.Debug.Print( axSchedule1.get_UndoListAction(null,null) ); axSchedule1.EndUpdate(); |
319 |
Limits the number of entries within the Undo/Redo queue
axSchedule1.BeginUpdate(); axSchedule1.AllowUndoRedo = true; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.UndoRedoQueueLength = 1; EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/10/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); System.Diagnostics.Debug.Print( axSchedule1.get_UndoListAction(null,null) ); axSchedule1.EndUpdate(); |
318 |
Lists the Redo actions that can be performed on the control
axSchedule1.BeginUpdate(); axSchedule1.AllowUndoRedo = true; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/10/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); axSchedule1.Undo(); System.Diagnostics.Debug.Print( axSchedule1.get_RedoListAction(null,null) ); axSchedule1.EndUpdate(); |
317 |
Lists the Undo actions that can be performed on the control
axSchedule1.BeginUpdate(); axSchedule1.AllowUndoRedo = true; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/10/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); System.Diagnostics.Debug.Print( axSchedule1.get_UndoListAction(null,null) ); axSchedule1.EndUpdate(); |
316 |
Checks whether the Undo operation is possible
axSchedule1.BeginUpdate(); axSchedule1.AllowUndoRedo = true; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/10/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); axSchedule1.Undo(); System.Diagnostics.Debug.Print( "CanRedo" ); System.Diagnostics.Debug.Print( axSchedule1.CanRedo.ToString() ); axSchedule1.EndUpdate(); |
315 |
Call Redo by code
|
314 |
Checks whether the Undo operation is possible
axSchedule1.BeginUpdate(); axSchedule1.AllowUndoRedo = true; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/10/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); System.Diagnostics.Debug.Print( "CanUndo" ); System.Diagnostics.Debug.Print( axSchedule1.CanUndo.ToString() ); axSchedule1.EndUpdate(); |
313 |
Call Undo by code
|
312 |
Save the calendar-event's properties for Undo/Redo operations, by code
axSchedule1.BeginUpdate(); axSchedule1.AllowUndoRedo = true; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.Events.Add(Convert.ToDateTime("1/10/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); axSchedule1.StartBlockUndoRedo(); EXSCHEDULELib.Event var_Event = axSchedule1.Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); int h = var_Event.StartUpdateEvent; var_Event.BodyBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,1)); var_Event.BodyForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)); var_Event.StatusColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)); var_Event.EndUpdateEvent(h); axSchedule1.EndBlockUndoRedo(); axSchedule1.EndUpdate(); |
311 |
No color is restored for the calendar-event when Undo/Redo operation is performed
axSchedule1.BeginUpdate(); axSchedule1.AllowUndoRedo = true; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.Events.Add(Convert.ToDateTime("1/10/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); axSchedule1.StartBlockUndoRedo(); EXSCHEDULELib.Event var_Event = axSchedule1.Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); int h = var_Event.StartUpdateEvent; var_Event.BodyBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,1)); var_Event.BodyForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)); var_Event.StatusColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)); var_Event.EndUpdateEvent(h); axSchedule1.EndBlockUndoRedo(); axSchedule1.EndUpdate(); |
310 |
How can I ensure that a specified calendar-event fits the control's visible area
|
309 |
LayoutEndChanging(exUndo), LayoutEndChanging(exRedo) or LayoutEndChanging(exUndoRedoUpdate) notifiy your application once a Undo/Redo operation is executed (CTRL+Z, CTRL+Y) or updated
// LayoutEndChanging event - Notifies your application once the control's layout has been changed. private void axSchedule1_LayoutEndChanging(object sender, AxEXSCHEDULELib._IScheduleEvents_LayoutEndChangingEvent e) { System.Diagnostics.Debug.Print( "LayoutEndChanging" ); System.Diagnostics.Debug.Print( e.operation.ToString() ); } //this.axSchedule1.LayoutEndChanging += new AxEXSCHEDULELib._IScheduleEvents_LayoutEndChangingEventHandler(this.axSchedule1_LayoutEndChanging); axSchedule1.BeginUpdate(); axSchedule1.AllowUndoRedo = true; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); axSchedule1.EndUpdate(); |
308 |
Turn on the Undo/Redo feature
|
307 |
How can I make the header (date/group) always visible, so it stays on the top while the user scrolls the chart
// LayoutEndChanging event - Notifies your application once the control's layout has been changed. private void axSchedule1_LayoutEndChanging(object sender, AxEXSCHEDULELib._IScheduleEvents_LayoutEndChangingEvent e) { System.Diagnostics.Debug.Print( e.operation.ToString() ); axSchedule1.DayViewHeight = 2016; } //this.axSchedule1.LayoutEndChanging += new AxEXSCHEDULELib._IScheduleEvents_LayoutEndChangingEventHandler(this.axSchedule1_LayoutEndChanging); axSchedule1.BeginUpdate(); EXSCHEDULELib.Calendar var_Calendar = axSchedule1.Calendar; var_Calendar.set_SelectDate(Convert.ToDateTime("5/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true); var_Calendar.Select(EXSCHEDULELib.SelectCalendarDateEnum.exSelectWeek); axSchedule1.ScrollBars = EXSCHEDULELib.ScrollBarsEnum.exVertical; axSchedule1.ShowViewCompact = EXSCHEDULELib.ShowViewCompactEnum.exViewSingleRowLockHeader; axSchedule1.DayViewHeight = 2016; axSchedule1.TimeScales[0].MinorTimeRuler = "00:10"; axSchedule1.DayStartTime = "00:00"; axSchedule1.DayEndTime = "24:00"; axSchedule1.OnResizeControl = EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide | EXSCHEDULELib.OnResizeControlEnum.exCalendarFit | EXSCHEDULELib.OnResizeControlEnum.exResizePanelRight; axSchedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.DisplayGroupingButton = true; axSchedule1.ShowGroupingEvents = true; axSchedule1.ApplyGroupingColors = false; EXSCHEDULELib.Groups var_Groups = axSchedule1.Groups; EXSCHEDULELib.Group var_Group = var_Groups.Add(1,"Group 1"); var_Group.Visible = true; var_Group.EventBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(128,128,128)); var_Group.Title = "1'st Group"; EXSCHEDULELib.Group var_Group1 = var_Groups.Add(2,"Group 2"); var_Group1.Visible = true; var_Group1.EventBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)); var_Group1.Title = "2'nd Group"; axSchedule1.DefaultEventLongLabel = "<%=%256%><br>Group's Caption: <b><%=%262%></b><br>Group's Title: <b><%=%263%></b>"; axSchedule1.DefaultEventShortLabel = axSchedule1.DefaultEventLongLabel; EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("5/24/2012 1:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 2:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 1; var_Events.Add(Convert.ToDateTime("5/24/2012 1:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 2:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 2; var_Events.Add(Convert.ToDateTime("5/24/2012 2:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 4:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 1; axSchedule1.EndUpdate(); |
306 |
It appears that Width property of the Group does not what. What am I doing wrong
axSchedule1.BeginUpdate(); axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.DisplayGroupingButton = true; axSchedule1.ShowGroupingEvents = true; axSchedule1.OnResizeControl = EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide | EXSCHEDULELib.OnResizeControlEnum.exCalendarFit | EXSCHEDULELib.OnResizeControlEnum.exResizePanelRight; EXSCHEDULELib.Groups var_Groups = axSchedule1.Groups; EXSCHEDULELib.Group var_Group = var_Groups.Add(1,"Group 1"); var_Group.Title = "First"; var_Group.Visible = true; EXSCHEDULELib.Group var_Group1 = var_Groups.Add(2,"Group 2"); var_Group1.Title = "Second"; var_Group1.Visible = true; EXSCHEDULELib.Group var_Group2 = var_Groups.Add(3,"Group 3"); var_Group2.Title = "Third"; var_Group2.Visible = true; axSchedule1.DayViewWidth = 144; axSchedule1.Groups[1].Width = 48; axSchedule1.Groups[2].Width = 48; EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 1; var_Events.Add(Convert.ToDateTime("1/10/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 2; axSchedule1.EndUpdate(); |
305 |
ImageSize property on 32 (specifies the size of control' icons/images/check-boxes/radio-buttons)
|
304 |
ImageSize property on 16 (default) (specifies the size of control' icons)
|
303 |
Is it possible to show a different background color for alternate days
axSchedule1.set_Background(EXSCHEDULELib.BackgroundPartEnum.exScheduleDayHeaderBackColor,(uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,0))); axSchedule1.set_Background(EXSCHEDULELib.BackgroundPartEnum.exScheduleDayHeaderForeColor,(uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,0))); axSchedule1.set_Background(EXSCHEDULELib.BackgroundPartEnum.exScheduleDayBackColorAlternate,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240))); axSchedule1.set_Background(EXSCHEDULELib.BackgroundPartEnum.exScheduleDayForeColorAlternate,(uint)ColorTranslator.ToWin32(Color.FromArgb(128,128,128))); axSchedule1.Calendar.Select(EXSCHEDULELib.SelectCalendarDateEnum.exSelectWeek); |
302 |
How can I select all events
|
301 |
How can I unselect all events
axSchedule1.BeginUpdate(); axSchedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); axSchedule1.SelectAll(); axSchedule1.Selection = ""; axSchedule1.EndUpdate(); |
300 |
How do I immediately select a newly added event
// AddEvent event - Notifies your application once the a new event is added. private void axSchedule1_AddEvent(object sender, AxEXSCHEDULELib._IScheduleEvents_AddEventEvent e) { // Ev.Selected = True } //this.axSchedule1.AddEvent += new AxEXSCHEDULELib._IScheduleEvents_AddEventEventHandler(this.axSchedule1_AddEvent); |
299 |
I would like to know if this allows me to setup a number of room(column). Let's say, i need to go up to 10 rooms is it possible. Also, the possibility to have a complete week of that 10 rooms.
axSchedule1.BeginUpdate(); axSchedule1.OnResizeControl = EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide; axSchedule1.DisplayGroupingButton = true; axSchedule1.ShowGroupingEvents = true; axSchedule1.BodyEventForeColor = Color.FromArgb(255,255,255); axSchedule1.DayStartTime = "09:00"; axSchedule1.DayEndTime = "14:00"; EXSCHEDULELib.Calendar var_Calendar = axSchedule1.Calendar; var_Calendar.set_SelectDate(Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true); var_Calendar.Select(EXSCHEDULELib.SelectCalendarDateEnum.exSelectWeek); axSchedule1.ScrollBars = EXSCHEDULELib.ScrollBarsEnum.exNoScroll; axSchedule1.ShowViewCompact = EXSCHEDULELib.ShowViewCompactEnum.exViewSingleRow; EXSCHEDULELib.Groups var_Groups = axSchedule1.Groups; EXSCHEDULELib.Group var_Group = var_Groups.Add(1,"1"); var_Group.Visible = true; var_Group.EventBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)); var_Group.HeaderBackColor = var_Group.EventBackColor; var_Group.HeaderForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)); EXSCHEDULELib.Group var_Group1 = var_Groups.Add(2,"2"); var_Group1.Visible = true; var_Group1.EventBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(204,0,0)); var_Group1.HeaderBackColor = var_Group1.EventBackColor; var_Group1.HeaderForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)); EXSCHEDULELib.Group var_Group2 = var_Groups.Add(3,"3"); var_Group2.Visible = true; var_Group2.EventBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(153,0,0)); var_Group2.HeaderBackColor = var_Group2.EventBackColor; var_Group2.HeaderForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)); EXSCHEDULELib.Group var_Group3 = var_Groups.Add(4,"4"); var_Group3.Visible = true; var_Group3.EventBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(102,0,0)); var_Group3.HeaderBackColor = var_Group3.EventBackColor; var_Group3.HeaderForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)); EXSCHEDULELib.Group var_Group4 = var_Groups.Add(5,"5"); var_Group4.Visible = true; var_Group4.EventBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(51,0,0)); var_Group4.HeaderBackColor = var_Group4.EventBackColor; var_Group4.HeaderForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 1; var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 2; var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 3; var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 4; var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 5; axSchedule1.EndUpdate(); |
298 |
I would like to know if this allows me to setup a number of room(column). Let's say, i need to go up to 10 rooms is it possible
axSchedule1.BeginUpdate(); axSchedule1.OnResizeControl = EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide; axSchedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.DisplayGroupingButton = true; axSchedule1.ShowGroupingEvents = true; axSchedule1.BodyEventForeColor = Color.FromArgb(255,255,255); axSchedule1.DayStartTime = "09:00"; axSchedule1.DayEndTime = "14:00"; EXSCHEDULELib.Groups var_Groups = axSchedule1.Groups; EXSCHEDULELib.Group var_Group = var_Groups.Add(1,"Room1"); var_Group.Visible = true; var_Group.EventBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)); var_Group.HeaderBackColor = var_Group.EventBackColor; var_Group.HeaderForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)); EXSCHEDULELib.Group var_Group1 = var_Groups.Add(2,"Room2"); var_Group1.Visible = true; var_Group1.EventBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(204,0,0)); var_Group1.HeaderBackColor = var_Group1.EventBackColor; var_Group1.HeaderForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)); EXSCHEDULELib.Group var_Group2 = var_Groups.Add(3,"Room3"); var_Group2.Visible = true; var_Group2.EventBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(153,0,0)); var_Group2.HeaderBackColor = var_Group2.EventBackColor; var_Group2.HeaderForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)); EXSCHEDULELib.Group var_Group3 = var_Groups.Add(4,"Room4"); var_Group3.Visible = true; var_Group3.EventBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(102,0,0)); var_Group3.HeaderBackColor = var_Group3.EventBackColor; var_Group3.HeaderForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)); EXSCHEDULELib.Group var_Group4 = var_Groups.Add(5,"Room5"); var_Group4.Visible = true; var_Group4.EventBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(51,0,0)); var_Group4.HeaderBackColor = var_Group4.EventBackColor; var_Group4.HeaderForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 1; var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 2; var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 3; var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 4; var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 5; axSchedule1.EndUpdate(); |
297 |
Please could you let me know if it is possible to change the increment when the user scrolls the mouse wheel as its to slow by default
|
296 |
I am using the DefaultEventLongLabel property to specify the event's label. Is it possible to change the way the event's label is displayed when it is an all day event (sample 2)
axSchedule1.BeginUpdate(); axSchedule1.SelectEventStyle = EXSCHEDULELib.LinesStyleEnum.exLinesSolid; axSchedule1.AllowAllDayEventScroll = EXSCHEDULELib.AllDayEventScrollEnum.exAllDayEventWheelScroll | EXSCHEDULELib.AllDayEventScrollEnum.exAllDayEventMax4; axSchedule1.DefaultEventLongLabel = "<%=%><%= ( %3 = 0 ? (`Group's ID:` + %4 + `<br>Group's Caption:` + %262 + `<br>Group's Title: ` + %263 + `<br>` + %256 ) : ( (" + "`Group's ID:` + %4 + ` , ` + %256 ) replace `<br>` with `,` ) ) %>"; axSchedule1.DefaultEventShortLabel = "<%=%><%= ( %3 = 0 ? (`Group's ID:` + %4 + `<br>Group's Caption:` + %262 + `<br>Group's Title: ` + %263 + `<br>` + %256 ) : ( " + "(`Group's ID:` + %4 + ` , ` + %256 ) ) replace `<br>` with `\\r\\n` ) %>"; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.DisplayGroupingButton = true; axSchedule1.ShowGroupingEvents = true; axSchedule1.HeaderGroupHeight = 1; axSchedule1.ShowAllDayHeader = true; axSchedule1.OnResizeControl = EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide | EXSCHEDULELib.OnResizeControlEnum.exCalendarFit | EXSCHEDULELib.OnResizeControlEnum.exResizePanelRight; EXSCHEDULELib.Groups var_Groups = axSchedule1.Groups; EXSCHEDULELib.Group var_Group = var_Groups.Add(1,"Group 1"); var_Group.Title = "First"; var_Group.Visible = true; EXSCHEDULELib.Group var_Group1 = var_Groups.Add(2,"Group 2"); var_Group1.Title = "Second"; var_Group1.Visible = true; EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 1; var_Events.Add(Convert.ToDateTime("1/10/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 2; EXSCHEDULELib.Event var_Event = var_Events.Add(Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Event.GroupID = 1; var_Event.AllDayEvent = true; EXSCHEDULELib.Event var_Event1 = var_Events.Add(Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Event1.GroupID = 2; var_Event1.AllDayEvent = true; EXSCHEDULELib.Event var_Event2 = var_Events.Add(Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Event2.GroupID = 2; var_Event2.AllDayEvent = true; axSchedule1.EndUpdate(); |
295 |
I am using the DefaultEventLongLabel property to specify the event's label. Is it possible to change the way the event's label is displayed when it is an all day event (sample 1)
axSchedule1.BeginUpdate(); axSchedule1.SelectEventStyle = EXSCHEDULELib.LinesStyleEnum.exLinesSolid; axSchedule1.DefaultEventLongLabel = "<%=%><%= %4 < 0 ? `<b>` + %256 + `</b> <off -4>(all)` : ( (`Group's ID:` + %4 + `<br>Group's Caption:` + %262 + `<br>Group's " + "Title: ` + %263 + `<br>` + %256 ) replace ( %3 ? `<br>` : ``) with `,` ) %>"; axSchedule1.DefaultEventShortLabel = "<%=%><%= %4 < 0 ? %256 : ( %3 = 0 ? (`Group's ID:` + %4 + `<br>Group's Caption:` + %262 + `<br>Group's Title: ` + %263 + `<br" + ">` + %256 ) : ( (`Group's ID:` + %4 + ` , ` + %256 ) ) replace `<br>` with `\\r\\n` ) %>"; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.DisplayGroupingButton = true; axSchedule1.ShowGroupingEvents = true; axSchedule1.HeaderGroupHeight = 1; axSchedule1.ShowAllDayHeader = true; axSchedule1.OnResizeControl = EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide | EXSCHEDULELib.OnResizeControlEnum.exCalendarFit | EXSCHEDULELib.OnResizeControlEnum.exResizePanelRight; EXSCHEDULELib.Groups var_Groups = axSchedule1.Groups; EXSCHEDULELib.Group var_Group = var_Groups.Add(1,"Group 1"); var_Group.Title = "First"; var_Group.Visible = true; EXSCHEDULELib.Group var_Group1 = var_Groups.Add(2,"Group 2"); var_Group1.Title = "Second"; var_Group1.Visible = true; EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 1; var_Events.Add(Convert.ToDateTime("1/10/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 2; EXSCHEDULELib.Event var_Event = var_Events.Add(Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Event.GroupID = 1; var_Event.AllDayEvent = true; EXSCHEDULELib.Event var_Event1 = var_Events.Add(Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Event1.GroupID = -1; var_Event1.AllDayEvent = true; EXSCHEDULELib.Event var_Event2 = var_Events.Add(Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Event2.GroupID = 2; var_Event2.AllDayEvent = true; axSchedule1.EndUpdate(); |
294 |
The Event.Caption does not support HTML, and so if using in DefaultEventLongLabel/DefaultEventShortLabel no HTML is applied, instead HTML tags are displayed as plain text. What can be done
|
293 |
Please could you let me know how I can remove/hide the time scale/marks from the scheduler. I am creating a month view that only requires a box for the day and no time markers required
|
292 |
Is it possible to lock down the view to allow resizing of the days column but not to allow the scrolling outside of the dictated time zone
|
291 |
I would also like to control the column view to only show 5 days at a time with a side scroll, how would I achieve this please
axSchedule1.BeginUpdate(); axSchedule1.OnResizeControl = EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide; axSchedule1.ShowAllDayHeader = true; axSchedule1.Calendar.Selection = Convert.ToDateTime("5/21/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.Calendar.Selection = "value in (#5/21/2012#,#5/22/2012#,#5/23/2012#,#5/24/2012#,#5/25/2012#)"; axSchedule1.ShowViewCompact = EXSCHEDULELib.ShowViewCompactEnum.exViewCalendarCompact; axSchedule1.ScrollBars = EXSCHEDULELib.ScrollBarsEnum.exVertical; EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("5/22/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/23/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).AllDayEvent = true; var_Events.Add(Convert.ToDateTime("5/21/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).AllDayEvent = true; var_Events.Add(Convert.ToDateTime("5/22/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).AllDayEvent = true; axSchedule1.EndUpdate(); |
290 |
Can I force the schedule grid to only show a single day and then to step through each day using either a custom button click or using the built in schedule calendar
|
289 |
Can I colour the background of the schedulers grid from a time point to another EG 9:00 to 12:00. This is to show users that they can only book appointments in this time zone
axSchedule1.BeginUpdate(); axSchedule1.OnResizeControl = EXSCHEDULELib.OnResizeControlEnum.exChangePanels | EXSCHEDULELib.OnResizeControlEnum.exHideSplitter; axSchedule1.Calendar.Selection = Convert.ToDateTime("6/27/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); EXSCHEDULELib.MarkZone var_MarkZone = axSchedule1.MarkZones.Add("zoneA",Convert.ToDateTime("6/27/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/27/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_MarkZone.Pattern.Type = EXSCHEDULELib.PatternEnum.exPatternEmpty; var_MarkZone.LongLabel = "Yellow"; var_MarkZone.BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,0)); EXSCHEDULELib.MarkZone var_MarkZone1 = axSchedule1.MarkZones.Add("zoneB",Convert.ToDateTime("6/27/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/27/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_MarkZone1.Pattern.Type = EXSCHEDULELib.PatternEnum.exPatternEmpty; var_MarkZone1.LongLabel = "Green"; var_MarkZone1.BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,255,0)); axSchedule1.EndUpdate(); |
288 |
My programming language has the following format for date 2012-05-24-13.04.06.810000 every other format returns a compiler error. Is there a possibility to use a string for the date
axSchedule1.BeginUpdate(); axSchedule1.Calendar.Selection = axSchedule1.ExecuteTemplate("#5/24/2012#"); EXSCHEDULELib.MarkTimes var_MarkTimes = axSchedule1.MarkTimes; EXSCHEDULELib.MarkTime var_MarkTime = var_MarkTimes.Add("timer",axSchedule1.ExecuteTemplate("#5/24/2012 11:35#")); var_MarkTime.Movable = true; var_MarkTime.LineColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,255)); var_MarkTime.StatusEventBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,255)); var_MarkTime.TimeScaleLineColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,255)); var_MarkTime.TimeScaleLabel = "<fgcolor=0000FF><b><%hh%>:<%nn%> <%AM/PM%>"; axSchedule1.EndUpdate(); |
287 |
How do I display a picture with transparency
// PictureClick event - Occurs when the user clicks a picture within an event ( Event.Pictures/ExtraPictures ). private void axSchedule1_PictureClick(object sender, AxEXSCHEDULELib._IScheduleEvents_PictureClickEvent e) { System.Diagnostics.Debug.Print( e.key.ToString() ); } //this.axSchedule1.PictureClick += new AxEXSCHEDULELib._IScheduleEvents_PictureClickEventHandler(this.axSchedule1_PictureClick); axSchedule1.BeginUpdate(); axSchedule1.ShowSelectEvent = false; axSchedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); EXSCHEDULELib.ExPictures var_ExPictures = axSchedule1.Pictures; var_ExPictures.Add("pic1","gCJKBOI4NBQaBQAhQNJJIIhShQAEEREAIA0ROZ6PT0hQKYZpIZDKBJkIgKByN5mNJsMsKPABVqXBI4KjrD7HL6GWKPJKiCIhMiySidKxbOzZZJWMLsGL2FqyLjZMonN" + "a2CyiZDOUqsQqUEq0ZCNISFXDIFxzZ4hUrbdrefZ/fz3ZgzZ75Tz3XjvHZnZznPieb55AKgAqmRyOOzEhR7XirWaWQQMTa+QIhDbZOZAAoYUCPDAQG7FXI4JRrNCoIRd" + "PyyFr0AYifDUKZ+PCufK4RReALLUbtdBHSrGTCCNKqT4MbRqUxxQx+CAAEQ2VCBbxqGaLYDZNgzFbCbLDarRCrqMYMM6cWqpHKUDqhZjnVijEoLcp0FCjVg2OYhTjN/Q" + "Wk4bo4iseBsAcABIDoPA5g2HgADIkQfDCNxwkEQYnFmAIAB4OJHGcKAPioGRKFKdh2g6UB8iiZ5QkYQp3gKWhDlsWYmAARBcgCIAUniVpmiSA5AF3A4wG8P41nGWwDDA" + "W4MAAIpSG+bRzBoGx3AeCJhh6C4ljCUJGnSRBUFKAIQA6EgIHMWBoHqYgAngHJDCALBmhCCAfHOARAScUBvAmc5zHYXxoguXQ8DEMIAH8dI8HmP4/AyQJAEAYAoHqRBy" + "EQGJiECBAzAkKIpBYNIcikAp8kcZhDn4EBChmUoMgqHIqhiWoIgaDImgyVQImaRw/F0EZGCcSw3DaM4Kn6GBBhwYYZDGZo3C+RgOAmNQnhYeYqgsTZenEVgSFYLo2Cyd" + "hGg4OROF2HJjlydR7i+cJjDGFo8BgHgVl4Po+DufJRgcbQOlkCxyKuCJNAsdwIhSC4mgieYKkeHJWD0Ih8BQaYYkkMYppwTg0EsFhJC0SxEkgeodDSF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gIhygrBfgrBTA6AhgvhjAYg+haBAF4vH4cze70OQyenwMnkQoiQrzCFQA9SUXGy9CMMAuywARTOoQYIFaLgw9RErSKcCginiCw7MHqeDoXjsuW69" + "iWxWKDgAjGAaQQvTiMBuN1ugSmcgaaDsOSyDjA/Tm2FEN2E33AMEwTlUtAACAgAVAM2yhh0O0gVFuJCQHnogCO4QonwkVR4ShoaiOHmq/iCPTwiQmuBmgXGjgqjh2RA2" + "HCUfHoiES4gi7EgcyU/xymE4UwSNCU3EMVA2YikFCiSycVCIBBGR2CdGQUBU9wqWVswAUgRIwGwIlkBFmImECyGcEUL3SESm1HIOFS9kgxRQsQIJCosyAmQg8HIslA+R" + "YOEI6EwtS2cHyiiYJHAlAC0iiAUmEzEiksmHUrWUKBqAoih0OMyAIAAKSQFwnRTAEmS9Mwa36GQOhhCc5BcA8gAcFAfTJCEOSiDEsSaNEuC0EMrjRD8XB4LYziiOIJgN" + "ACNAAEkRROEQrhCGAgkBA"); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Pictures = "pic1"; axSchedule1.EndUpdate(); |
286 |
I need a border around each event/item on scheduler. Can you direct me to propery to use (to all)
// AddEvent event - Notifies your application once the a new event is added. private void axSchedule1_AddEvent(object sender, AxEXSCHEDULELib._IScheduleEvents_AddEventEvent e) { // Ev.BodyBackgroundExt = "[frame=RGB(0,0,0),framethick]" } //this.axSchedule1.AddEvent += new AxEXSCHEDULELib._IScheduleEvents_AddEventEventHandler(this.axSchedule1_AddEvent); axSchedule1.SelectEventStyle = EXSCHEDULELib.LinesStyleEnum.exLinesSolid; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.OnResizeControl = EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide | EXSCHEDULELib.OnResizeControlEnum.exCalendarFit | EXSCHEDULELib.OnResizeControlEnum.exResizePanelRight; axSchedule1.StatusEventSize = 0; axSchedule1.set_DefaultEventPadding(EXSCHEDULELib.PaddingEdgeEnum.exPaddingAll,4); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); |
285 |
I need a border around each event/item on scheduler. Can you direct me to propery to use (distinct)
axSchedule1.SelectEventStyle = EXSCHEDULELib.LinesStyleEnum.exLinesSolid; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.OnResizeControl = EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide | EXSCHEDULELib.OnResizeControlEnum.exCalendarFit | EXSCHEDULELib.OnResizeControlEnum.exResizePanelRight; axSchedule1.StatusEventSize = 0; axSchedule1.set_DefaultEventPadding(EXSCHEDULELib.PaddingEdgeEnum.exPaddingAll,4); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).BodyBackgroundExt = "[frame=RGB(0,0,0),framethick]"; var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).BodyBackgroundExt = "[frame=RGB(128,128,128),framethick]"; var_Events.Add(Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).BodyBackgroundExt = "[frame=RGB(0,0,0),framethick]"; |
284 |
How can I change/specify the caption of the groups, when the user clicks the drop down button
axSchedule1.BeginUpdate(); axSchedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.DisplayGroupingButton = true; axSchedule1.ShowGroupingEvents = true; EXSCHEDULELib.Groups var_Groups = axSchedule1.Groups; EXSCHEDULELib.Group var_Group = var_Groups.Add(1,"Group A"); var_Group.Caption = "<fgcolor=808080><c><b>Group A</b><c><br><font ;6>France, Romania, Albania and Switzerland"; var_Group.Visible = true; var_Group.EventBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(128,128,128)); EXSCHEDULELib.Group var_Group1 = var_Groups.Add(2,"Group B"); var_Group1.Caption = "<fgcolor=FF0000><c><b>Group B</b><c><br><font ;6>England, Russia, Wales and Slovakia"; var_Group1.Visible = true; var_Group1.EventBackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 1; var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 2; var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 1; axSchedule1.EndUpdate(); |
283 |
Is it possible to hide the group header, but still display the groups/captions
|
282 |
When using the CopyTo method to print a range of dates the printed page is not showing the timescale, is there a way to make it appear (as is, without calendar, multiple-selection)
axSchedule1.OnResizeControl = EXSCHEDULELib.OnResizeControlEnum.exChangePanels | EXSCHEDULELib.OnResizeControlEnum.exHideSplitter; EXSCHEDULELib.Calendar var_Calendar = axSchedule1.Calendar; var_Calendar.Selection = "#1/1/2016#"; var_Calendar.Selection = "(int((yearday(value) -1- ((7-weekday(value - yearday(value) + 1)) mod 7) )/7) = int((yearday(#1/7/2016#))/7))"; axSchedule1.BorderSelStyle = EXSCHEDULELib.LinesStyleEnum.exNoLines; axSchedule1.ShowViewCompact = EXSCHEDULELib.ShowViewCompactEnum.exViewCalendarCompact; EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/10/2016 8:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2016 14:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("1/11/2016 9:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2016 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("1/15/2016 10:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2016 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); object s = axSchedule1.Calendar.Selection; axSchedule1.Calendar.Selection = "0"; object var_CopyTo = axSchedule1.get_CopyTo("c:/temp/test.png"); System.Diagnostics.Debug.Print( "Look for c:/temp/test.png file" ); axSchedule1.Calendar.Selection = s; |
281 |
When using the CopyTo method to print a range of dates the printed page is not showing the timescale, is there a way to make it appear (as is, without calendar)
axSchedule1.OnResizeControl = EXSCHEDULELib.OnResizeControlEnum.exChangePanels | EXSCHEDULELib.OnResizeControlEnum.exHideSplitter; EXSCHEDULELib.Calendar var_Calendar = axSchedule1.Calendar; var_Calendar.Selection = Convert.ToDateTime("1/1/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_Calendar.set_SelectDate(Convert.ToDateTime("1/1/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),false); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/1/2012 8:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2012 9:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("1/1/2012 8:35:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2012 9:35:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("1/1/2012 10:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); object var_CopyTo = axSchedule1.get_CopyTo("c:/temp/test.png"); System.Diagnostics.Debug.Print( "Look for c:/temp/test.png file" ); |
280 |
When using the CopyTo method to print a range of dates the printed page is not showing the timescale, is there a way to make it appear (as is, with calendar)
EXSCHEDULELib.Calendar var_Calendar = axSchedule1.Calendar; var_Calendar.Selection = Convert.ToDateTime("1/1/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_Calendar.set_SelectDate(Convert.ToDateTime("1/1/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),false); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/1/2012 8:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2012 9:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("1/1/2012 8:35:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2012 9:35:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("1/1/2012 10:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); object var_CopyTo = axSchedule1.get_CopyTo("c:/temp/test.png"); System.Diagnostics.Debug.Print( "Look for c:/temp/test.png file" ); |
279 |
I've seen that all-day header can be limited up to 4, 8 or 12 events. Can I change that limit, for instance, 3 events only
|
278 |
Is it possible to highlight the newly created event ( runtime creation )
|
277 |
Is it possible to select the newly created event ( runtime creation )
|
276 |
I have noticed that the all-day header change its background, if has scrolling events. Is it possible to change that (ebn)
axSchedule1.BeginUpdate(); axSchedule1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAAChABRUIQAAYAQGKIaBoAKBQAGaAoDDQMQ3QwAAwjSLEEwsACEIrjKCRShyCYZRrGQBQTCIZBqEqSZLiEZRQCWIAxATGchwHIEQgND6cIDmMAHf" + "j2PI+RZKMoRZJUExZFyERhASQZZoyN40UzOc6vfL9KRDEAEIRKAyTDLQdRyGSMMgEVBJBCbMiNBqhESIJo+GI4BhFYSUZalGSnO6gIBAgIA=="); axSchedule1.AllowSelectCreateEvent = EXSCHEDULELib.SelectCreateEventEnum.exHighlightCreateEvent; axSchedule1.OnResizeControl = EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide; axSchedule1.ShowAllDayHeader = true; axSchedule1.Calendar.Selection = Convert.ToDateTime("5/21/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.Calendar.Selection = "value in (#5/21/2012#,#5/22/2012#,#5/23/2012#,#5/24/2012#,#5/25/2012#)"; axSchedule1.ShowViewCompact = EXSCHEDULELib.ShowViewCompactEnum.exViewCalendarCompact; axSchedule1.AllowAllDayEventScroll = EXSCHEDULELib.AllDayEventScrollEnum.exAllDayEventWheelScroll | EXSCHEDULELib.AllDayEventScrollEnum.exAllDayEventMax4; axSchedule1.set_Background(EXSCHEDULELib.BackgroundPartEnum.exScheduleAllDayEventScrollBackColor,0x1000000); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("5/22/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/23/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).AllDayEvent = true; var_Events.Add(Convert.ToDateTime("5/21/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).AllDayEvent = true; var_Events.Add(Convert.ToDateTime("5/22/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).AllDayEvent = true; var_Events.Add(Convert.ToDateTime("5/22/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/25/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).AllDayEvent = true; var_Events.Add(Convert.ToDateTime("5/22/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/25/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).AllDayEvent = true; var_Events.Add(Convert.ToDateTime("5/23/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/25/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).AllDayEvent = true; var_Events.Add(Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/26/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).AllDayEvent = true; axSchedule1.EndUpdate(); |
275 |
I have noticed that the all-day header change its background, if has scrolling events. Is it possible to change that (solid)
|
274 |
I have noticed that the all-day header change its background, if has scrolling events. Is it possible to remove that
|
273 |
The user scrolls through the all-day events, when mouse wheel is rotated. Can I disable that
|
272 |
Is it possible to specify the number of all-day events to be visible
|
271 |
How do I disable scrolling the all-day header
|
270 |
How can I display the current week only, when the user selects the date in the calendar panel
axSchedule1.BeginUpdate(); axSchedule1.OnResizeControl = EXSCHEDULELib.OnResizeControlEnum.exDisableSplitter | EXSCHEDULELib.OnResizeControlEnum.exResizePanelRight; EXSCHEDULELib.Calendar var_Calendar = axSchedule1.Calendar; var_Calendar.OnSelectDate = EXSCHEDULELib.OnSelectDateEnum.exEnsureVisibleDate; var_Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_Calendar.SingleSel = true; axSchedule1.Calendar.FirstWeekDay = EXSCHEDULELib.WeekDayEnum.exMonday; axSchedule1.ScrollBars = EXSCHEDULELib.ScrollBarsEnum.exNoScroll; axSchedule1.ShowViewCompact = EXSCHEDULELib.ShowViewCompactEnum.exViewCalendarCompact; axSchedule1.AllowResizeSchedule = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowMoveSchedule = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowToggleSchedule = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.set_Background(EXSCHEDULELib.BackgroundPartEnum.exScheduleBorderMonthColor,axSchedule1.get_Background(EXSCHEDULELib.BackgroundPartEnum.exScheduleBorderDateColor)); axSchedule1.TimeScales[0].AllowResize = false; axSchedule1.DayViewWidth = 0; axSchedule1.EndUpdate(); |
269 |
How do I capture the control and save it as PDF (Method 2)
EXSCHEDULELib.Calendar var_Calendar = axSchedule1.Calendar; var_Calendar.Selection = Convert.ToDateTime("6/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_Calendar.Selection = "value in (#6/11/2001#,#6/12/2001#)"; axSchedule1.DayViewWidth = 512; axSchedule1.DayViewHeight = 512; EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("6/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/11/2001 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("6/12/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/12/2001 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); object var_CopyTo = axSchedule1.get_CopyTo("C:/Temp/test.pdf"); System.Diagnostics.Debug.Print( "Look For: C:/Temp/test.pdf file" ); |
268 |
How do I capture the control and save it as PDF (Method 1)
EXSCHEDULELib.Calendar var_Calendar = axSchedule1.Calendar; var_Calendar.Selection = Convert.ToDateTime("6/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_Calendar.Selection = "value in (#6/11/2001#,#6/12/2001#)"; axSchedule1.DayViewWidth = 512; axSchedule1.DayViewHeight = 512; EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("6/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/11/2001 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("6/12/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/12/2001 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); // Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project. EXPRINTLib.Print var_Print = new EXPRINTLib.Print(); var_Print.Options = "FitToPage=On"; var_Print.PrintExt = (axSchedule1.GetOcx() as EXSCHEDULELib.Schedule); var_Print.CopyTo("C:/Temp/test.pdf"); System.Diagnostics.Debug.Print( "Look For: C:/Temp/test.pdf file" ); |
267 |
How do I capture the control and save it as an image (JPG or BMP) (Method 2)
EXSCHEDULELib.Calendar var_Calendar = axSchedule1.Calendar; var_Calendar.Selection = Convert.ToDateTime("6/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_Calendar.Selection = "value in (#6/11/2001#,#6/12/2001#)"; axSchedule1.DayViewWidth = 512; axSchedule1.DayViewHeight = 512; EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("6/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/11/2001 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("6/12/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/12/2001 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); object var_CopyTo = axSchedule1.get_CopyTo("C:/Temp/test.bmp"); object var_CopyTo1 = axSchedule1.get_CopyTo("C:/Temp/test.jpg"); System.Diagnostics.Debug.Print( "Look For: C:/Temp/test.* file" ); |
266 |
How do I capture the control and save it as an image (JPG or BMP) (Method 1)
EXSCHEDULELib.Calendar var_Calendar = axSchedule1.Calendar; var_Calendar.Selection = Convert.ToDateTime("6/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_Calendar.Selection = "value in (#6/11/2001#,#6/12/2001#)"; axSchedule1.DayViewWidth = 512; axSchedule1.DayViewHeight = 512; EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("6/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/11/2001 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("6/12/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/12/2001 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); // Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project. EXPRINTLib.Print var_Print = new EXPRINTLib.Print(); var_Print.Options = "FitToPage=On"; var_Print.PrintExt = (axSchedule1.GetOcx() as EXSCHEDULELib.Schedule); var_Print.CopyTo("C:/Temp/test.bmp"); var_Print.CopyTo("C:/Temp/test.jpg"); System.Diagnostics.Debug.Print( "Look For: C:/Temp/test.* file" ); |
265 |
Recurrence: The 2nd to last weekday of the month
|
264 |
Recurrence: The 3rd instance into the month of one of Tuesday, Wednesday or Thursday, for the next 3 months
|
263 |
Recurrence: The last work day of the month
|
262 |
Recurrence: An example where the days generated makes a difference because of WKST (Sample 2)
|
261 |
Recurrence: An example where the days generated makes a difference because of WKST (Sample 1)
axSchedule1.BeginUpdate(); EXSCHEDULELib.Calendar var_Calendar = axSchedule1.Calendar; var_Calendar.Selection = Convert.ToDateTime("8/5/1997",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_Calendar.ShowNonMonthDays = false; var_Calendar.MaxMonthY = 4; var_Calendar.FirstWeekDay = EXSCHEDULELib.WeekDayEnum.exMonday; EXSCHEDULELib.Highlight var_Highlight = var_Calendar.HighlightEvent; var_Highlight.Pattern.Type = EXSCHEDULELib.PatternEnum.exPatternFrame; var_Highlight.Bold = false; axSchedule1.ShowViewCompact = EXSCHEDULELib.ShowViewCompactEnum.exViewCalendarCompact; axSchedule1.BorderSelStyle = EXSCHEDULELib.LinesStyleEnum.exNoLines; axSchedule1.set_Background(EXSCHEDULELib.BackgroundPartEnum.exScheduleMarkTodayBackColor,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240))); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("8/5/1997 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/5/1997 14:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).Repetitive = "FREQ=WEEKLY;INTERVAL=2;COUNT=4;BYDAY=TU,SU"; axSchedule1.EndUpdate(); |
260 |
Recurrence: Every four years, the first Tuesday after a Monday in November, forever (U.S. Presidential Election day)
|
259 |
Recurrence: The first Saturday that follows the first Sunday of the month, forever
|
258 |
Recurrence: Every Friday the 13th, forever
|
257 |
Recurrence: Every Thursday, but only during June, July, and August, forever
|
256 |
Recurrence: Every Thursday in March, forever
|
255 |
Recurrence: Monday of week number 20 (where the default start of the week is Monday), forever
|
254 |
Recurrence: Every 20th Monday of the year, forever
|
253 |
Recurrence: Every 3rd year on the 1st, 100th and 200th day for 10 occurrences
|
252 |
Recurrence: Every other year on January, February, and March for 10 occurrences
|
251 |
Recurrence: Yearly in June and July for 10 occurrences
|
250 |
Recurrence: Every Tuesday, every other month
|
249 |
Recurrence: Every 18 months on the 10th thru 15th of the month for 10 occurrences
|
248 |
Recurrence: Monthly on the first and last day of the month for 10 occurrences
|
247 |
Recurrence: Monthly on the 2nd and 15th of the month for 10 occurrences
|
246 |
Recurrence: Monthly on the third to the last day of the month, forever
|
245 |
Recurrence: Monthly on the second to last Monday of the month for 6 months
|
244 |
Recurrence: Every other month on the 1st and last Sunday of the month for 10 occurrences
|
243 |
Recurrence: Monthly on the 1st Friday until December 24, 1997
|
242 |
Recurrence: Monthly on the 1st Friday for ten occurrences
|
241 |
Recurrence: Every other week on Tuesday and Thursday, for 8 occurrences
|
240 |
Recurrence: Every other week on Monday, Wednesday and Friday until December 24, 1997, but starting on Tuesday, September 2, 1997
|
239 |
Recurrence: Weekly on Tuesday and Thursday for 5 weeks
|
238 |
Recurrence: Weekly on Tuesday and Thursday for 5 weeks
|
237 |
Recurrence: Every other day - forever
|
236 |
Recurrence: Daily until December 24, 1997
|
235 |
Recurrence: Daily for 10 occurrences
|
234 |
How do I display the week number according, so the January 1st is in the first week
axSchedule1.BeginUpdate(); EXSCHEDULELib.Calendar var_Calendar = axSchedule1.Calendar; var_Calendar.Selection = Convert.ToDateTime("1/1/2016",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_Calendar.FirstWeekDay = EXSCHEDULELib.WeekDayEnum.exSunday; var_Calendar.DisplayWeekNumberAs = EXSCHEDULELib.WeekNumberAsEnum.exSimpleWeekNumber; axSchedule1.EndUpdate(); |
233 |
How do I display the week number according to ISO8601 standard
axSchedule1.BeginUpdate(); EXSCHEDULELib.Calendar var_Calendar = axSchedule1.Calendar; var_Calendar.Selection = Convert.ToDateTime("1/4/2016",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_Calendar.FirstWeekDay = EXSCHEDULELib.WeekDayEnum.exMonday; var_Calendar.DisplayWeekNumberAs = EXSCHEDULELib.WeekNumberAsEnum.exISO8601WeekNumber; axSchedule1.EndUpdate(); |
232 |
How do I hide the week number
|
231 |
How can I change the background color of the all day header
|
230 |
How can I display a single text on a specified date
axSchedule1.BeginUpdate(); axSchedule1.Calendar.Selection = Convert.ToDateTime("5/26/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.Calendar.Selection = "value in (#05/23/2012#,#05/24/2012#,#05/25/2012#)"; axSchedule1.NonworkingPatterns.Add(1234,EXSCHEDULELib.PatternEnum.exPatternEmpty).BackgroundExt = "[text=`<font ;6><fgcolor 808080>just a notice`,align=0x11]"; axSchedule1.NonworkingTimes.Add("value = #05/25/2012#","09:00","10:00",1234); axSchedule1.EndUpdate(); |
229 |
I am using the control's DataSource property, the question is how can I get the event's identifier Datafield(exEventID)
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project. ADODB.Recordset rs = new ADODB.Recordset(); rs.Open("Events","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExSchedule\\Sample\\Access2007\\datasource.accdb",ADODB.CursorTypeEnum.adOpenStatic,ADODB.LockTypeEnum.adLockOptimistic,0); axSchedule1.BeginUpdate(); axSchedule1.Calendar.Selection = Convert.ToDateTime("11/11/2013",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.set_DataField(EXSCHEDULELib.EventKnownPropertyEnum.exEventStartDateTime,"Start"); axSchedule1.set_DataField(EXSCHEDULELib.EventKnownPropertyEnum.exEventEndDateTime,"End"); axSchedule1.set_DataField(EXSCHEDULELib.EventKnownPropertyEnum.exEventExtraLabel,"Extra"); axSchedule1.DataSource = (rs as ADODB.Recordset); System.Diagnostics.Debug.Print( axSchedule1.Events[1].get_KnownProperty(EXSCHEDULELib.EventKnownPropertyEnum.exEventID).ToString() ); axSchedule1.EndUpdate(); |
228 |
Is it possible to display some text/image on the schedule's view background
axSchedule1.BeginUpdate(); axSchedule1.Calendar.Selection = Convert.ToDateTime("5/25/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.NonworkingPatterns.Add(1234,EXSCHEDULELib.PatternEnum.exPatternBDiagonal).BackgroundExt = "[text=`<fgcolor 808080>just a caption`,align=0x11]"; axSchedule1.NonworkingPatterns.Add(1235,EXSCHEDULELib.PatternEnum.exPatternEmpty).BackgroundExt = "[text=`<fgcolor 808080>just another caption`,align=0x11]"; axSchedule1.NonworkingTimes.Add("weekday(value) = 5","08:00","08:59:59",1234); axSchedule1.NonworkingTimes.Add("weekday(value) = 5","09:00","09:59:59",1235); axSchedule1.NonworkingTimes.Add("weekday(value) = 5","10:00","10:59:59",1234); axSchedule1.EndUpdate(); |
227 |
How can I display a text on the schedule's view background
|
226 |
Is it possible to change the visual appearance of the edit's context menu
|
225 |
How do I customize the edit's context menu
|
224 |
How can I lock/fix the date header, so it stays on the top while the user scrolls the chart
// LayoutEndChanging event - Notifies your application once the control's layout has been changed. private void axSchedule1_LayoutEndChanging(object sender, AxEXSCHEDULELib._IScheduleEvents_LayoutEndChangingEvent e) { System.Diagnostics.Debug.Print( e.operation.ToString() ); axSchedule1.DayViewHeight = 2016; } //this.axSchedule1.LayoutEndChanging += new AxEXSCHEDULELib._IScheduleEvents_LayoutEndChangingEventHandler(this.axSchedule1_LayoutEndChanging); axSchedule1.BeginUpdate(); EXSCHEDULELib.Calendar var_Calendar = axSchedule1.Calendar; var_Calendar.set_SelectDate(Convert.ToDateTime("5/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true); var_Calendar.Select(EXSCHEDULELib.SelectCalendarDateEnum.exSelectWeek); axSchedule1.ScrollBars = EXSCHEDULELib.ScrollBarsEnum.exVertical; axSchedule1.ShowViewCompact = EXSCHEDULELib.ShowViewCompactEnum.exViewSingleRowLockHeader; axSchedule1.DayViewHeight = 2016; axSchedule1.AllowMoveSchedule = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowResizeSchedule = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowToggleSchedule = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowExchangePanels = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowMoveTimeScale = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowResizeTimeScale = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowMultiDaysEvent = false; axSchedule1.TimeScales[0].MinorTimeRuler = "00:10"; axSchedule1.DayStartTime = "00:00"; axSchedule1.DayEndTime = "24:00"; axSchedule1.OnResizeControl = EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide | EXSCHEDULELib.OnResizeControlEnum.exCalendarFit | EXSCHEDULELib.OnResizeControlEnum.exResizePanelRight; axSchedule1.EndUpdate(); |
223 |
Is there any way to control the vertical size of each hour other than by the font and/or the minor time scale being changed
axSchedule1.BeginUpdate(); EXSCHEDULELib.Calendar var_Calendar = axSchedule1.Calendar; var_Calendar.set_SelectDate(Convert.ToDateTime("5/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true); var_Calendar.Select(EXSCHEDULELib.SelectCalendarDateEnum.exSelectWeek); axSchedule1.OnResizeControl = EXSCHEDULELib.OnResizeControlEnum.exChangePanels | EXSCHEDULELib.OnResizeControlEnum.exHideSplitter; axSchedule1.ScrollBars = EXSCHEDULELib.ScrollBarsEnum.exVertical; axSchedule1.ShowViewCompact = EXSCHEDULELib.ShowViewCompactEnum.exViewSingleRow; axSchedule1.DayViewHeight = 2016; axSchedule1.AllowMoveSchedule = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowResizeSchedule = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowToggleSchedule = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowExchangePanels = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowMoveTimeScale = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowResizeTimeScale = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowMultiDaysEvent = false; axSchedule1.set_Background(EXSCHEDULELib.BackgroundPartEnum.exScheduleBorderSelColor,axSchedule1.get_Background(EXSCHEDULELib.BackgroundPartEnum.exScheduleBorderSelColorUnFocus)); axSchedule1.TimeScales[0].MinorTimeRuler = "00:10"; axSchedule1.DayStartTime = "00:00"; axSchedule1.DayEndTime = "24:00"; axSchedule1.EndUpdate(); |
222 |
How can I show a single week, no calendar
axSchedule1.BeginUpdate(); EXSCHEDULELib.Calendar var_Calendar = axSchedule1.Calendar; var_Calendar.set_SelectDate(Convert.ToDateTime("5/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true); var_Calendar.Select(EXSCHEDULELib.SelectCalendarDateEnum.exSelectWeek); axSchedule1.OnResizeControl = EXSCHEDULELib.OnResizeControlEnum.exChangePanels | EXSCHEDULELib.OnResizeControlEnum.exHideSplitter; axSchedule1.ScrollBars = EXSCHEDULELib.ScrollBarsEnum.exNoScroll; axSchedule1.ShowViewCompact = EXSCHEDULELib.ShowViewCompactEnum.exViewSingleRow; axSchedule1.AllowMoveSchedule = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowResizeSchedule = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowToggleSchedule = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowExchangePanels = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowMoveTimeScale = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowResizeTimeScale = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowMultiDaysEvent = false; axSchedule1.set_Background(EXSCHEDULELib.BackgroundPartEnum.exScheduleBorderSelColor,axSchedule1.get_Background(EXSCHEDULELib.BackgroundPartEnum.exScheduleBorderSelColorUnFocus)); axSchedule1.EndUpdate(); |
221 |
How do I select the dates within a giving interval only
axSchedule1.BeginUpdate(); EXSCHEDULELib.Calendar var_Calendar = axSchedule1.Calendar; var_Calendar.Selection = Convert.ToDateTime("5/1/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_Calendar.Selection = "(value >= #5/13/2012#) and (value <= #5/26/2012#)"; EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("5/24/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 14:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 15:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); axSchedule1.EndUpdate(); |
220 |
How do I display the dates within a giving interval only
axSchedule1.BeginUpdate(); EXSCHEDULELib.Calendar var_Calendar = axSchedule1.Calendar; var_Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_Calendar.MinDate = Convert.ToDateTime("5/13/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_Calendar.MaxDate = Convert.ToDateTime("5/26/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("5/24/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 14:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("5/24/2012 12:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 15:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); axSchedule1.EndUpdate(); |
219 |
Is it possible that the time is displayed starting from 00:00 to 24:00 00 instead of 08:00 AM to 04:00 PM
|
218 |
How do I show a double frame
axSchedule1.SelectEventStyle = EXSCHEDULELib.LinesStyleEnum.exLinesSolid; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.DefaultEventLongLabel = ""; axSchedule1.DefaultEventShortLabel = ""; EXSCHEDULELib.Events var_Events = axSchedule1.Events; EXSCHEDULELib.Event var_Event = var_Events.Add(Convert.ToDateTime("1/10/2001 8:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Event.BodyBackgroundExt = "top[25%,back=RGB(255,0,0),align=0x21,pattern=0x000,frame=RGB(0,0,0)],client[back=RGB(255,255,0),align=0x21,pattern=0x000,frame=" + "RGB(0,0,0)]"; var_Event.set_BodyBackgroundExtValue(EXSCHEDULELib.IndexExtEnum.exIndexExt1,EXSCHEDULELib.BackgroundExtPropertyEnum.exBackColorExt,255); var_Event.set_BodyBackgroundExtValue(EXSCHEDULELib.IndexExtEnum.exIndexExt1,EXSCHEDULELib.BackgroundExtPropertyEnum.exClientExt,"35%"); EXSCHEDULELib.Event var_Event1 = var_Events.Add(Convert.ToDateTime("1/10/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Event1.BodyBackgroundExt = "top[25%,back=RGB(255,0,0),align=0x22],client[back=RGB(255,255,0),align=0x22]"; var_Event1.set_BodyBackgroundExtValue(EXSCHEDULELib.IndexExtEnum.exIndexExt1,EXSCHEDULELib.BackgroundExtPropertyEnum.exClientExt,"35%"); var_Event1.set_BodyBackgroundExtValue(EXSCHEDULELib.IndexExtEnum.exIndexExt2,EXSCHEDULELib.BackgroundExtPropertyEnum.exBackColorExt,65535); EXSCHEDULELib.Event var_Event2 = var_Events.Add(Convert.ToDateTime("1/10/2001 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 14:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Event2.ShowStatus = false; var_Event2.BodyBackgroundExt = "left[4,back=RGB(128,128,128)],top[25%,back=RGB(255,0,0)],client[back=RGB(255,255,0)],none[(0%,0%,100%,100%),pattern=0x000,frame" + "=RGB(0,0,0)]"; EXSCHEDULELib.Event var_Event3 = var_Events.Add(Convert.ToDateTime("1/10/2001 14:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 16:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Event3.ShowStatus = false; var_Event3.BodyBackgroundExt = "left[4,back=RGB(128,128,128)],top[25%,back=RGB(255,0,0)],client[back=RGB(255,255,0)],none[(4,0%,100%-4,100%),pattern=0x000,fram" + "e=RGB(0,0,0)]"; |
217 |
How can I add more colors on the event
axSchedule1.SelectEventStyle = EXSCHEDULELib.LinesStyleEnum.exLinesSolid; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("1/10/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).BodyBackgroundExt = "bottom[15%](left[65%,frame,back=RGB(128,255,255)],client[back=RGB(255,0,0),frame])"; var_Events.Add(Convert.ToDateTime("1/10/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).BodyBackgroundExt = "right[15%](bottom[35%,frame,back=RGB(128,255,255)],client[back=RGB(255,0,0),frame])"; var_Events.Add(Convert.ToDateTime("1/10/2001 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001 14:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).BodyBackgroundExt = "left[33%,back=RGB(0,128,0)](top[50%,back=RGB(0,255,0)]),left[33%](top[33%,back=RGB(0,255,255)],top[33%,back=RGB(0,0,128)],clien" + "t[back=RGB(0,0,255)]),client(top[25%,back=RGB(240,240,240)],top[25%,back=RGB(192,192,192)],top[25%,back=RGB(128,128,128)],client" + "[back=RGB(0,0,0)])"; |
216 |
When I have 3 month visible in the calendar section, it seems I can only move back and forth through the months 3 months at a time. Is it possible to move back and forth through the months 1 month at a time
|
215 |
How can I bound the control to a data source
// Error event - Fired when an internal error occurs. private void axSchedule1_Error(object sender, AxEXSCHEDULELib._IScheduleEvents_ErrorEvent e) { System.Diagnostics.Debug.Print( e.description.ToString() ); } //this.axSchedule1.Error += new AxEXSCHEDULELib._IScheduleEvents_ErrorEventHandler(this.axSchedule1_Error); // Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project. ADODB.Recordset rs = new ADODB.Recordset(); rs.Open("Events","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExSchedule\\Sample\\Access2007\\datasource.accdb",ADODB.CursorTypeEnum.adOpenStatic,ADODB.LockTypeEnum.adLockOptimistic,0); axSchedule1.BeginUpdate(); axSchedule1.Calendar.Selection = Convert.ToDateTime("11/11/2013",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.set_DataField(EXSCHEDULELib.EventKnownPropertyEnum.exEventStartDateTime,"Start"); axSchedule1.set_DataField(EXSCHEDULELib.EventKnownPropertyEnum.exEventEndDateTime,"End"); axSchedule1.set_DataField(EXSCHEDULELib.EventKnownPropertyEnum.exEventExtraLabel,"Extra"); axSchedule1.DataSource = (rs as ADODB.Recordset); axSchedule1.EndUpdate(); |
214 |
How can I start drag and drop an event
|
213 |
I use the HighlightDate property to mark a date, instead the selection is not visible if I select the same date. What can be done
axSchedule1.ShowHighlightDate = EXSCHEDULELib.ShowHighlightDateEnum.exHighlightDateCalendarEllipticClip | EXSCHEDULELib.ShowHighlightDateEnum.exHighlightDateCalendarGradient | EXSCHEDULELib.ShowHighlightDateEnum.exShowHighlightDateCalendar; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.set_HighlightDate(Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),65280); axSchedule1.set_HighlightDate(Convert.ToDateTime("1/17/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"65280,255"); axSchedule1.set_HighlightDate(Convert.ToDateTime("1/25/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"255,65280,16711680"); |
212 |
How can I arrange the colors to highlight the date vertically
|
211 |
Is it possible to highlight a date in gradient
axSchedule1.ShowHighlightDate = EXSCHEDULELib.ShowHighlightDateEnum.exHighlightDateCalendarGradient | EXSCHEDULELib.ShowHighlightDateEnum.exShowHighlightDateCalendar; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.set_HighlightDate(Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),65280); axSchedule1.set_HighlightDate(Convert.ToDateTime("1/17/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"65280,255"); axSchedule1.set_HighlightDate(Convert.ToDateTime("1/25/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"255,65280,16711680"); |
210 |
Is it possible to highlight a date in the calendar panel only
axSchedule1.ShowHighlightDate = EXSCHEDULELib.ShowHighlightDateEnum.exShowHighlightDateCalendar; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.set_HighlightDate(Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),65280); axSchedule1.set_HighlightDate(Convert.ToDateTime("1/17/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"65280,255"); axSchedule1.set_HighlightDate(Convert.ToDateTime("1/25/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"255,65280,16711680"); |
209 |
Is it possible to highlight a date in the control
axSchedule1.ShowHighlightDate = EXSCHEDULELib.ShowHighlightDateEnum.exShowHighlightDate; axSchedule1.Calendar.Selection = Convert.ToDateTime("1/25/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.set_HighlightDate(Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),65280); axSchedule1.set_HighlightDate(Convert.ToDateTime("1/17/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"65280,255"); axSchedule1.set_HighlightDate(Convert.ToDateTime("1/25/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"255,65280,16711680"); |
208 |
How we need to put "nonworking time" to each group, because staff A is working different times then staff B. Is this possible
axSchedule1.BeginUpdate(); axSchedule1.BodyEventBackColor = Color.FromArgb(240,240,240); axSchedule1.ShowGroupingEvents = true; axSchedule1.DisplayGroupingButton = true; axSchedule1.Groups.Add(1,"Group 1").Visible = true; axSchedule1.Groups.Add(2,"Group 2").Visible = true; axSchedule1.Calendar.Selection = Convert.ToDateTime("5/25/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.NonworkingPatterns.Add(1234,EXSCHEDULELib.PatternEnum.exPatternBrick); EXSCHEDULELib.NonworkingTimes var_NonworkingTimes = axSchedule1.NonworkingTimes; var_NonworkingTimes.Add("1","00:00","08:45",1234); var_NonworkingTimes.Add("weekday(value) = 5","10:00","11:45",1).GroupID = 1; var_NonworkingTimes.Add("weekday(value) = 5","12:00","13:00",1234).GroupID = 2; axSchedule1.Events.Add(Convert.ToDateTime("5/25/2012 9:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/25/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).GroupID = 1; axSchedule1.EndUpdate(); |
207 |
I have a double click event set to launch a window so the user can supply input. The problem is that double click changes the view. How do I change this behavior
// DblClick event - Occurs when the user dblclk the left mouse button over an object. private void axSchedule1_DblClick(object sender, AxEXSCHEDULELib._IScheduleEvents_DblClickEvent e) { System.Diagnostics.Debug.Print( "DblClick " ); System.Diagnostics.Debug.Print( e.x.ToString() ); System.Diagnostics.Debug.Print( e.y.ToString() ); } //this.axSchedule1.DblClick += new AxEXSCHEDULELib._IScheduleEvents_DblClickEventHandler(this.axSchedule1_DblClick); axSchedule1.BeginUpdate(); axSchedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("5/24/2012 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Events.Add(Convert.ToDateTime("5/24/2012 10:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 12:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).StatusColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)); var_Events.Add(Convert.ToDateTime("5/24/2012 11:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("5/24/2012 13:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); axSchedule1.AllowEditEvent = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.AllowToggleSchedule = EXSCHEDULELib.AllowKeysEnum.exDisallow; axSchedule1.EndUpdate(); |
206 |
I have two-time scales. How do I change the label while updating the events to show the date-time on the second time-scale
|
205 |
Is there a way to add a hyperlink to the event that would run a report with parameters
// AnchorClick event - Occurs when an anchor element is clicked. private void axSchedule1_AnchorClick(object sender, AxEXSCHEDULELib._IScheduleEvents_AnchorClickEvent e) { System.Diagnostics.Debug.Print( e.anchorID.ToString() ); System.Diagnostics.Debug.Print( e.options.ToString() ); } //this.axSchedule1.AnchorClick += new AxEXSCHEDULELib._IScheduleEvents_AnchorClickEventHandler(this.axSchedule1_AnchorClick); axSchedule1.Calendar.Selection = Convert.ToDateTime("6/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("6/20/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).LongLabel = "<%=%256%><br><a 1234;option 1>more ...</a>"; var_Events.Add(Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).LongLabel = "<%=%256%><br><a 1235;option 2>more ...</a>"; |
204 |
Can I have multiple months in the calendar section
|
203 |
I need to make sure that at least the order number stays visible when the event is resized. Is there a way during event modification (another event be added at the same time that makes the event size shrink) to adjust the caption location
axSchedule1.Calendar.Selection = Convert.ToDateTime("6/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); EXSCHEDULELib.Events var_Events = axSchedule1.Events; EXSCHEDULELib.Event var_Event = var_Events.Add(Convert.ToDateTime("6/20/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Event.UserData = 1234; var_Event.ShortLabel = "<%=%256%><br>Order: <%=%6%>"; var_Event.LongLabel = var_Event.ShortLabel; EXSCHEDULELib.Event var_Event1 = var_Events.Add(Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Event1.UserData = 1235; var_Event1.ShortLabel = "<%=%256%>, Order: <%=%6%>"; var_Event1.LongLabel = var_Event1.ShortLabel; |
202 |
I need to make sure that at least the order number stays visible when the event is resized. Is there a way during event modification (another event be added at the same time that makes the event size shrink) to adjust the caption location
axSchedule1.Calendar.Selection = Convert.ToDateTime("6/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); axSchedule1.DefaultEventShortLabel = "<%=%256%><br>Order: <b><%=%6%>"; axSchedule1.DefaultEventLongLabel = axSchedule1.DefaultEventShortLabel; EXSCHEDULELib.Events var_Events = axSchedule1.Events; var_Events.Add(Convert.ToDateTime("6/20/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).UserData = 1234; var_Events.Add(Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).UserData = 1235; |
201 |
Can you add text with links in the event
// AnchorClick event - Occurs when an anchor element is clicked. private void axSchedule1_AnchorClick(object sender, AxEXSCHEDULELib._IScheduleEvents_AnchorClickEvent e) { System.Diagnostics.Debug.Print( e.anchorID.ToString() ); System.Diagnostics.Debug.Print( e.options.ToString() ); } //this.axSchedule1.AnchorClick += new AxEXSCHEDULELib._IScheduleEvents_AnchorClickEventHandler(this.axSchedule1_AnchorClick); axSchedule1.Calendar.Selection = Convert.ToDateTime("6/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); EXSCHEDULELib.Events var_Events = axSchedule1.Events; EXSCHEDULELib.Event var_Event = var_Events.Add(Convert.ToDateTime("6/20/2012 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Event.ShortLabel = "<a 1><%=%256%></a>"; var_Event.LongLabel = var_Event.ShortLabel; EXSCHEDULELib.Event var_Event1 = var_Events.Add(Convert.ToDateTime("6/20/2012 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/20/2012 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Event1.ShortLabel = "<a 2><%=%256%></a>"; var_Event1.LongLabel = var_Event1.ShortLabel; |