325 |
Clear Undo/Redo queue (method 2)
exschedule1.BeginUpdate(); exschedule1.AllowUndoRedo = true; exschedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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 = exschedule1.UndoRedoQueueLength; exschedule1.UndoRedoQueueLength = 0; exschedule1.UndoRedoQueueLength = c; System.Diagnostics.Debug.Print( exschedule1.get_UndoListAction(null,null) ); exschedule1.EndUpdate(); |
324 |
Clear Undo/Redo queue (method 1)
exschedule1.BeginUpdate(); exschedule1.AllowUndoRedo = true; exschedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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"))); exschedule1.AllowUndoRedo = true; System.Diagnostics.Debug.Print( exschedule1.get_UndoListAction(null,null) ); exschedule1.EndUpdate(); |
323 |
Removes Redo operations
exschedule1.BeginUpdate(); exschedule1.AllowUndoRedo = true; exschedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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"))); exschedule1.Undo(); exschedule1.RedoRemoveAction(13,null); System.Diagnostics.Debug.Print( exschedule1.get_RedoListAction(null,null) ); exschedule1.EndUpdate(); |
322 |
Removes Undo operations
exschedule1.BeginUpdate(); exschedule1.AllowUndoRedo = true; exschedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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"))); exschedule1.UndoRemoveAction(13,null); System.Diagnostics.Debug.Print( exschedule1.get_UndoListAction(null,null) ); exschedule1.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
exschedule1.BeginUpdate(); exschedule1.AllowUndoRedo = true; exschedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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"))); exschedule1.GroupUndoRedoActions(2); System.Diagnostics.Debug.Print( exschedule1.get_UndoListAction(null,null) ); exschedule1.EndUpdate(); |
319 |
Limits the number of entries within the Undo/Redo queue
exschedule1.BeginUpdate(); exschedule1.AllowUndoRedo = true; exschedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.UndoRedoQueueLength = 1; exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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( exschedule1.get_UndoListAction(null,null) ); exschedule1.EndUpdate(); |
318 |
Lists the Redo actions that can be performed on the control
exschedule1.BeginUpdate(); exschedule1.AllowUndoRedo = true; exschedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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"))); exschedule1.Undo(); System.Diagnostics.Debug.Print( exschedule1.get_RedoListAction(null,null) ); exschedule1.EndUpdate(); |
317 |
Lists the Undo actions that can be performed on the control
exschedule1.BeginUpdate(); exschedule1.AllowUndoRedo = true; exschedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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( exschedule1.get_UndoListAction(null,null) ); exschedule1.EndUpdate(); |
316 |
Checks whether the Undo operation is possible
exschedule1.BeginUpdate(); exschedule1.AllowUndoRedo = true; exschedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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"))); exschedule1.Undo(); System.Diagnostics.Debug.Print( "CanRedo" ); System.Diagnostics.Debug.Print( exschedule1.CanRedo.ToString() ); exschedule1.EndUpdate(); |
315 |
Call Redo by code
|
314 |
Checks whether the Undo operation is possible
exschedule1.BeginUpdate(); exschedule1.AllowUndoRedo = true; exschedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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( exschedule1.CanUndo.ToString() ); exschedule1.EndUpdate(); |
313 |
Call Undo by code
|
312 |
Save the calendar-event's properties for Undo/Redo operations, by code
exschedule1.BeginUpdate(); exschedule1.AllowUndoRedo = true; exschedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.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"))); exschedule1.StartBlockUndoRedo(); exontrol.EXSCHEDULELib.Event var_Event = exschedule1.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 = Color.FromArgb(0,0,1); var_Event.BodyForeColor = Color.FromArgb(255,255,255); var_Event.StatusColor = Color.FromArgb(255,0,0); var_Event.EndUpdateEvent(h); exschedule1.EndBlockUndoRedo(); exschedule1.EndUpdate(); |
311 |
No color is restored for the calendar-event when Undo/Redo operation is performed
exschedule1.BeginUpdate(); exschedule1.AllowUndoRedo = true; exschedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.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"))); exschedule1.StartBlockUndoRedo(); exontrol.EXSCHEDULELib.Event var_Event = exschedule1.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 = Color.FromArgb(0,0,1); var_Event.BodyForeColor = Color.FromArgb(255,255,255); var_Event.StatusColor = Color.FromArgb(255,0,0); var_Event.EndUpdateEvent(h); exschedule1.EndBlockUndoRedo(); exschedule1.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 exschedule1_LayoutEndChanging(object sender,exontrol.EXSCHEDULELib.LayoutChangingEnum Operation) { System.Diagnostics.Debug.Print( "LayoutEndChanging" ); System.Diagnostics.Debug.Print( Operation.ToString() ); } //this.exschedule1.LayoutEndChanging += new exontrol.EXSCHEDULELib.exg2antt.LayoutEndChangingEventHandler(this.exschedule1_LayoutEndChanging); exschedule1.BeginUpdate(); exschedule1.AllowUndoRedo = true; exschedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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"))); exschedule1.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 exschedule1_LayoutEndChanging(object sender,exontrol.EXSCHEDULELib.LayoutChangingEnum Operation) { System.Diagnostics.Debug.Print( Operation.ToString() ); exschedule1.DayViewHeight = 2016; } //this.exschedule1.LayoutEndChanging += new exontrol.EXSCHEDULELib.exg2antt.LayoutEndChangingEventHandler(this.exschedule1_LayoutEndChanging); exschedule1.BeginUpdate(); exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar; var_Calendar.set_SelectDate(Convert.ToDateTime("5/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true); var_Calendar.Select(exontrol.EXSCHEDULELib.SelectCalendarDateEnum.exSelectWeek); exschedule1.ScrollBars = exontrol.EXSCHEDULELib.ScrollBarsEnum.exVertical; exschedule1.ShowViewCompact = exontrol.EXSCHEDULELib.ShowViewCompactEnum.exViewSingleRowLockHeader; exschedule1.DayViewHeight = 2016; exschedule1.TimeScales[0].MinorTimeRuler = "00:10"; exschedule1.DayStartTime = "00:00"; exschedule1.DayEndTime = "24:00"; exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide | exontrol.EXSCHEDULELib.OnResizeControlEnum.exCalendarFit | exontrol.EXSCHEDULELib.OnResizeControlEnum.exResizePanelRight; exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.DisplayGroupingButton = true; exschedule1.ShowGroupingEvents = true; exschedule1.ApplyGroupingColors = false; exontrol.EXSCHEDULELib.Groups var_Groups = exschedule1.Groups; exontrol.EXSCHEDULELib.Group var_Group = var_Groups.Add(1,"Group 1"); var_Group.Visible = true; var_Group.EventBackColor = Color.FromArgb(128,128,128); var_Group.Title = "1'st Group"; exontrol.EXSCHEDULELib.Group var_Group1 = var_Groups.Add(2,"Group 2"); var_Group1.Visible = true; var_Group1.EventBackColor = Color.FromArgb(255,0,0); var_Group1.Title = "2'nd Group"; exschedule1.DefaultEventLongLabel = "<%=%256%><br>Group's Caption: <b><%=%262%></b><br>Group's Title: <b><%=%263%></b>"; exschedule1.DefaultEventShortLabel = exschedule1.DefaultEventLongLabel; exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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; exschedule1.EndUpdate(); |
306 |
It appears that Width property of the Group does not what. What am I doing wrong
exschedule1.BeginUpdate(); exschedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.DisplayGroupingButton = true; exschedule1.ShowGroupingEvents = true; exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide | exontrol.EXSCHEDULELib.OnResizeControlEnum.exCalendarFit | exontrol.EXSCHEDULELib.OnResizeControlEnum.exResizePanelRight; exontrol.EXSCHEDULELib.Groups var_Groups = exschedule1.Groups; exontrol.EXSCHEDULELib.Group var_Group = var_Groups.Add(1,"Group 1"); var_Group.Title = "First"; var_Group.Visible = true; exontrol.EXSCHEDULELib.Group var_Group1 = var_Groups.Add(2,"Group 2"); var_Group1.Title = "Second"; var_Group1.Visible = true; exontrol.EXSCHEDULELib.Group var_Group2 = var_Groups.Add(3,"Group 3"); var_Group2.Title = "Third"; var_Group2.Visible = true; exschedule1.DayViewWidth = 144; exschedule1.Groups[1].Width = 48; exschedule1.Groups[2].Width = 48; exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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; exschedule1.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
exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleDayHeaderBackColor,Color.FromArgb(0,0,0)); exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleDayHeaderForeColor,Color.FromArgb(0,0,0)); exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleDayBackColorAlternate,Color.FromArgb(240,240,240)); exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleDayForeColorAlternate,Color.FromArgb(128,128,128)); exschedule1.Calendar.Select(exontrol.EXSCHEDULELib.SelectCalendarDateEnum.exSelectWeek); |
302 |
How can I select all events
|
301 |
How can I unselect all events
exschedule1.BeginUpdate(); exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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"))); exschedule1.SelectAll(); exschedule1.Selection = ""; exschedule1.EndUpdate(); |
300 |
How do I immediately select a newly added event
|
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.
exschedule1.BeginUpdate(); exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide; exschedule1.DisplayGroupingButton = true; exschedule1.ShowGroupingEvents = true; exschedule1.BodyEventForeColor = Color.FromArgb(255,255,255); exschedule1.DayStartTime = "09:00"; exschedule1.DayEndTime = "14:00"; exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar; var_Calendar.set_SelectDate(Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true); var_Calendar.Select(exontrol.EXSCHEDULELib.SelectCalendarDateEnum.exSelectWeek); exschedule1.ScrollBars = exontrol.EXSCHEDULELib.ScrollBarsEnum.exNoScroll; exschedule1.ShowViewCompact = exontrol.EXSCHEDULELib.ShowViewCompactEnum.exViewSingleRow; exontrol.EXSCHEDULELib.Groups var_Groups = exschedule1.Groups; exontrol.EXSCHEDULELib.Group var_Group = var_Groups.Add(1,"1"); var_Group.Visible = true; var_Group.EventBackColor = Color.FromArgb(255,0,0); var_Group.HeaderBackColor = var_Group.EventBackColor; var_Group.HeaderForeColor = Color.FromArgb(255,255,255); exontrol.EXSCHEDULELib.Group var_Group1 = var_Groups.Add(2,"2"); var_Group1.Visible = true; var_Group1.EventBackColor = Color.FromArgb(204,0,0); var_Group1.HeaderBackColor = var_Group1.EventBackColor; var_Group1.HeaderForeColor = Color.FromArgb(255,255,255); exontrol.EXSCHEDULELib.Group var_Group2 = var_Groups.Add(3,"3"); var_Group2.Visible = true; var_Group2.EventBackColor = Color.FromArgb(153,0,0); var_Group2.HeaderBackColor = var_Group2.EventBackColor; var_Group2.HeaderForeColor = Color.FromArgb(255,255,255); exontrol.EXSCHEDULELib.Group var_Group3 = var_Groups.Add(4,"4"); var_Group3.Visible = true; var_Group3.EventBackColor = Color.FromArgb(102,0,0); var_Group3.HeaderBackColor = var_Group3.EventBackColor; var_Group3.HeaderForeColor = Color.FromArgb(255,255,255); exontrol.EXSCHEDULELib.Group var_Group4 = var_Groups.Add(5,"5"); var_Group4.Visible = true; var_Group4.EventBackColor = Color.FromArgb(51,0,0); var_Group4.HeaderBackColor = var_Group4.EventBackColor; var_Group4.HeaderForeColor = Color.FromArgb(255,255,255); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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; exschedule1.EndUpdate(); |
298 |
I would like to know if this allows me to setup a number of room(column). Let's say, i need to go up to 10 rooms is it possible
exschedule1.BeginUpdate(); exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide; exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.DisplayGroupingButton = true; exschedule1.ShowGroupingEvents = true; exschedule1.BodyEventForeColor = Color.FromArgb(255,255,255); exschedule1.DayStartTime = "09:00"; exschedule1.DayEndTime = "14:00"; exontrol.EXSCHEDULELib.Groups var_Groups = exschedule1.Groups; exontrol.EXSCHEDULELib.Group var_Group = var_Groups.Add(1,"Room1"); var_Group.Visible = true; var_Group.EventBackColor = Color.FromArgb(255,0,0); var_Group.HeaderBackColor = var_Group.EventBackColor; var_Group.HeaderForeColor = Color.FromArgb(255,255,255); exontrol.EXSCHEDULELib.Group var_Group1 = var_Groups.Add(2,"Room2"); var_Group1.Visible = true; var_Group1.EventBackColor = Color.FromArgb(204,0,0); var_Group1.HeaderBackColor = var_Group1.EventBackColor; var_Group1.HeaderForeColor = Color.FromArgb(255,255,255); exontrol.EXSCHEDULELib.Group var_Group2 = var_Groups.Add(3,"Room3"); var_Group2.Visible = true; var_Group2.EventBackColor = Color.FromArgb(153,0,0); var_Group2.HeaderBackColor = var_Group2.EventBackColor; var_Group2.HeaderForeColor = Color.FromArgb(255,255,255); exontrol.EXSCHEDULELib.Group var_Group3 = var_Groups.Add(4,"Room4"); var_Group3.Visible = true; var_Group3.EventBackColor = Color.FromArgb(102,0,0); var_Group3.HeaderBackColor = var_Group3.EventBackColor; var_Group3.HeaderForeColor = Color.FromArgb(255,255,255); exontrol.EXSCHEDULELib.Group var_Group4 = var_Groups.Add(5,"Room5"); var_Group4.Visible = true; var_Group4.EventBackColor = Color.FromArgb(51,0,0); var_Group4.HeaderBackColor = var_Group4.EventBackColor; var_Group4.HeaderForeColor = Color.FromArgb(255,255,255); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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; exschedule1.EndUpdate(); |
297 |
Please could you let me know if it is possible to change the increment when the user scrolls the mouse wheel as its to slow by default
|
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)
exschedule1.BeginUpdate(); exschedule1.SelectEventStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesSolid; exschedule1.AllowAllDayEventScroll = exontrol.EXSCHEDULELib.AllDayEventScrollEnum.exAllDayEventWheelScroll | exontrol.EXSCHEDULELib.AllDayEventScrollEnum.exAllDayEventMax4; exschedule1.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 `,` ) ) %>"; exschedule1.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` ) %>"; exschedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.DisplayGroupingButton = true; exschedule1.ShowGroupingEvents = true; exschedule1.HeaderGroupHeight = 1; exschedule1.ShowAllDayHeader = true; exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide | exontrol.EXSCHEDULELib.OnResizeControlEnum.exCalendarFit | exontrol.EXSCHEDULELib.OnResizeControlEnum.exResizePanelRight; exontrol.EXSCHEDULELib.Groups var_Groups = exschedule1.Groups; exontrol.EXSCHEDULELib.Group var_Group = var_Groups.Add(1,"Group 1"); var_Group.Title = "First"; var_Group.Visible = true; exontrol.EXSCHEDULELib.Group var_Group1 = var_Groups.Add(2,"Group 2"); var_Group1.Title = "Second"; var_Group1.Visible = true; exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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; exontrol.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; exontrol.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; exontrol.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; exschedule1.EndUpdate(); |
295 |
I am using the DefaultEventLongLabel property to specify the event's label. Is it possible to change the way the event's label is displayed when it is an all day event (sample 1)
exschedule1.BeginUpdate(); exschedule1.SelectEventStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesSolid; exschedule1.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 `,` ) %>"; exschedule1.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` ) %>"; exschedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.DisplayGroupingButton = true; exschedule1.ShowGroupingEvents = true; exschedule1.HeaderGroupHeight = 1; exschedule1.ShowAllDayHeader = true; exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide | exontrol.EXSCHEDULELib.OnResizeControlEnum.exCalendarFit | exontrol.EXSCHEDULELib.OnResizeControlEnum.exResizePanelRight; exontrol.EXSCHEDULELib.Groups var_Groups = exschedule1.Groups; exontrol.EXSCHEDULELib.Group var_Group = var_Groups.Add(1,"Group 1"); var_Group.Title = "First"; var_Group.Visible = true; exontrol.EXSCHEDULELib.Group var_Group1 = var_Groups.Add(2,"Group 2"); var_Group1.Title = "Second"; var_Group1.Visible = true; exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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; exontrol.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; exontrol.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; exontrol.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; exschedule1.EndUpdate(); |
294 |
The Event.Caption does not support HTML, and so if using in DefaultEventLongLabel/DefaultEventShortLabel no HTML is applied, instead HTML tags are displayed as plain text. What can be done
|
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
exschedule1.BeginUpdate(); exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide; exschedule1.ShowAllDayHeader = true; exschedule1.Calendar.Selection = Convert.ToDateTime("5/21/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.Calendar.Selection = "value in (#5/21/2012#,#5/22/2012#,#5/23/2012#,#5/24/2012#,#5/25/2012#)"; exschedule1.ShowViewCompact = exontrol.EXSCHEDULELib.ShowViewCompactEnum.exViewCalendarCompact; exschedule1.ScrollBars = exontrol.EXSCHEDULELib.ScrollBarsEnum.exVertical; exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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; exschedule1.EndUpdate(); |
290 |
Can I force the schedule grid to only show a single day and then to step through each day using either a custom button click or using the built in schedule calendar
|
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
exschedule1.BeginUpdate(); exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exChangePanels | exontrol.EXSCHEDULELib.OnResizeControlEnum.exHideSplitter; exschedule1.Calendar.Selection = Convert.ToDateTime("6/27/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exontrol.EXSCHEDULELib.MarkZone var_MarkZone = exschedule1.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 = exontrol.EXSCHEDULELib.PatternEnum.exPatternEmpty; var_MarkZone.LongLabel = "Yellow"; var_MarkZone.BackColor = Color.FromArgb(255,255,0); exontrol.EXSCHEDULELib.MarkZone var_MarkZone1 = exschedule1.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 = exontrol.EXSCHEDULELib.PatternEnum.exPatternEmpty; var_MarkZone1.LongLabel = "Green"; var_MarkZone1.BackColor = Color.FromArgb(0,255,0); exschedule1.EndUpdate(); |
288 |
My programming language has the following format for date 2012-05-24-13.04.06.810000 every other format returns a compiler error. Is there a possibility to use a string for the date
exschedule1.BeginUpdate(); exschedule1.Calendar.Selection = exschedule1.ExecuteTemplate("#5/24/2012#"); exontrol.EXSCHEDULELib.MarkTimes var_MarkTimes = exschedule1.MarkTimes; exontrol.EXSCHEDULELib.MarkTime var_MarkTime = var_MarkTimes.Add("timer",exschedule1.ExecuteTemplate("#5/24/2012 11:35#")); var_MarkTime.Movable = true; var_MarkTime.LineColor = Color.FromArgb(0,0,255); var_MarkTime.StatusEventBackColor = Color.FromArgb(0,0,255); var_MarkTime.TimeScaleLineColor = Color.FromArgb(0,0,255); var_MarkTime.TimeScaleLabel = "<fgcolor=0000FF><b><%hh%>:<%nn%> <%AM/PM%>"; exschedule1.EndUpdate(); |
287 |
How do I display a picture with transparency
// PictureClick event - Occurs when the user clicks a picture within an event ( Event.Pictures/ExtraPictures ). private void exschedule1_PictureClick(object sender,string Key) { System.Diagnostics.Debug.Print( Key.ToString() ); } //this.exschedule1.PictureClick += new exontrol.EXSCHEDULELib.exg2antt.PictureClickEventHandler(this.exschedule1_PictureClick); exschedule1.BeginUpdate(); exschedule1.ShowSelectEvent = false; exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exontrol.EXSCHEDULELib.ExPictures var_ExPictures = exschedule1.Pictures; var_ExPictures.Add("pic1","gCJKBOI4NBQaBQAhQNJJIIhShQAEEREAIA0ROZ6PT0hQKYZpIZDKBJkIgKByN5mNJsMsKPABVqXBI4KjrD7HL6GWKPJKiCIhMiySidKxbOzZZJWMLsGL2FqyLjZMonN" + "a2CyiZDOUqsQqUEq0ZCNISFXDIFxzZ4hUrbdrefZ/fz3ZgzZ75Tz3XjvHZnZznPieb55AKgAqmRyOOzEhR7XirWaWQQMTa+QIhDbZOZAAoYUCPDAQG7FXI4JRrNCoIRd" + "PyyFr0AYifDUKZ+PCufK4RReALLUbtdBHSrGTCCNKqT4MbRqUxxQx+CAAEQ2VCBbxqGaLYDZNgzFbCbLDarRCrqMYMM6cWqpHKUDqhZjnVijEoLcp0FCjVg2OYhTjN/Q" + "Wk4bo4iseBsAcABIDoPA5g2HgADIkQfDCNxwkEQYnFmAIAB4OJHGcKAPioGRKFKdh2g6UB8iiZ5QkYQp3gKWhDlsWYmAARBcgCIAUniV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hwBlHFBYhcBlh0AxAYgb6phyA0A3g3hPgAAEA9ACgpgqBNAPAPAWBuB1B1BVBUgNBbgvBUhvgPhqgdheBoBxgUAFgiAsAPgN8VhvhxBWg4ANhRBSA+hNB8AwASAjh+B8" + "B8AcAMhMg3A0DThhgxhRgGBahxhggBApBEWFBmhS+/BBBhhwgIB4BgAYAJhJgOA2BDARgAhmF6A4gGB8Bo/Jgrg/Bfh/hXBnA8gOAEAWgZAUAIH8ApAshmA8Bjgcg5/U" + "gehh/WB3gxhNhugiAaA7AcBFgcgRADhSBWAThPBzgyBPALgSAABHABBRhCA72hBpBpApA/4BBrgBhKBFgnBfAZgYA2grgMhWBAgkAChgBBBWhzBiBkh0BghxeEZdALg9" + "iNBvbw7whhhvBbgwgIhygrBfgrBTA6AhgvhjAYg+haBAF4vH4cze70OQyenwMnkQoiQrzCFQA9SUXGy9CMMAuywARTOoQYIFaLgw9RErSKcCginiCw7MHqeDoXjsuW69" + "iWxWKDgAjGAaQQvTiMBuN1ugSmcgaaDsOSyDjA/Tm2FEN2E33AMEwTlUtAACAgAVAM2yhh0O0gVFuJCQHnogCO4QonwkVR4ShoaiOHmq/iCPTwiQmuBmgXGjgqjh2RA2" + "HCUfHoiES4gi7EgcyU/xymE4UwSNCU3EMVA2YikFCiSycVCIBBGR2CdGQUBU9wqWVswAUgRIwGwIlkBFmImECyGcEUL3SESm1HIOFS9kgxRQsQIJCosyAmQg8HIslA+R" + "YOEI6EwtS2cHyiiYJHAlAC0iiAUmEzEiksmHUrWUKBqAoih0OMyAIAAKSQFwnRTAEmS9Mwa36GQOhhCc5BcA8gAcFAfTJCEOSiDEsSaNEuC0EMrjRD8XB4LYziiOIJgN" + "ACNAAEkRROEQrhCGAgkBA"); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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"; exschedule1.EndUpdate(); |
286 |
I need a border around each event/item on scheduler. Can you direct me to propery to use (to all)
|
285 |
I need a border around each event/item on scheduler. Can you direct me to propery to use (distinct)
exschedule1.SelectEventStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesSolid; exschedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide | exontrol.EXSCHEDULELib.OnResizeControlEnum.exCalendarFit | exontrol.EXSCHEDULELib.OnResizeControlEnum.exResizePanelRight; exschedule1.StatusEventSize = 0; exschedule1.set_DefaultEventPadding(exontrol.EXSCHEDULELib.PaddingEdgeEnum.exPaddingAll,4); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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
exschedule1.BeginUpdate(); exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.DisplayGroupingButton = true; exschedule1.ShowGroupingEvents = true; exontrol.EXSCHEDULELib.Groups var_Groups = exschedule1.Groups; exontrol.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 = Color.FromArgb(128,128,128); exontrol.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 = Color.FromArgb(255,0,0); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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; exschedule1.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)
exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exChangePanels | exontrol.EXSCHEDULELib.OnResizeControlEnum.exHideSplitter; exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.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))"; exschedule1.BorderSelStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exNoLines; exschedule1.ShowViewCompact = exontrol.EXSCHEDULELib.ShowViewCompactEnum.exViewCalendarCompact; exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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 = exschedule1.Calendar.Selection; exschedule1.Calendar.Selection = "0"; object var_CopyTo = exschedule1.get_CopyTo("c:/temp/test.png"); System.Diagnostics.Debug.Print( "Look for c:/temp/test.png file" ); exschedule1.Calendar.Selection = s; |
281 |
When using the CopyTo method to print a range of dates the printed page is not showing the timescale, is there a way to make it appear (as is, without calendar)
exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exChangePanels | exontrol.EXSCHEDULELib.OnResizeControlEnum.exHideSplitter; exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.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); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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 = exschedule1.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)
exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.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); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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 = exschedule1.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)
|
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
exschedule1.BeginUpdate(); exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exDisableSplitter | exontrol.EXSCHEDULELib.OnResizeControlEnum.exResizePanelRight; exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar; var_Calendar.OnSelectDate = exontrol.EXSCHEDULELib.OnSelectDateEnum.exEnsureVisibleDate; var_Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_Calendar.SingleSel = true; exschedule1.Calendar.FirstWeekDay = exontrol.EXSCHEDULELib.WeekDayEnum.exMonday; exschedule1.ScrollBars = exontrol.EXSCHEDULELib.ScrollBarsEnum.exNoScroll; exschedule1.ShowViewCompact = exontrol.EXSCHEDULELib.ShowViewCompactEnum.exViewCalendarCompact; exschedule1.AllowResizeSchedule = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowMoveSchedule = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowToggleSchedule = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleBorderMonthColor,exschedule1.get_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleBorderDateColor)); exschedule1.TimeScales[0].AllowResize = false; exschedule1.DayViewWidth = 0; exschedule1.EndUpdate(); |
269 |
How do I capture the control and save it as PDF (Method 2)
exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.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#)"; exschedule1.DayViewWidth = 512; exschedule1.DayViewHeight = 512; exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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 = exschedule1.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)
exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.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#)"; exschedule1.DayViewWidth = 512; exschedule1.DayViewHeight = 512; exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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 'exontrol.exprint.dll(ExPrint.dll)' reference to your project. // Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project. exontrol.EXPRINTLib.exprint var_Print = new exontrol.EXPRINTLib.exprint(); var_Print.Options = "FitToPage=On"; var_Print.PrintExt = (exschedule1 as exontrol.EXSCHEDULELib.exschedule); 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)
exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.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#)"; exschedule1.DayViewWidth = 512; exschedule1.DayViewHeight = 512; exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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 = exschedule1.get_CopyTo("C:/Temp/test.bmp"); object var_CopyTo1 = exschedule1.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)
exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.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#)"; exschedule1.DayViewWidth = 512; exschedule1.DayViewHeight = 512; exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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 'exontrol.exprint.dll(ExPrint.dll)' reference to your project. // Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project. exontrol.EXPRINTLib.exprint var_Print = new exontrol.EXPRINTLib.exprint(); var_Print.Options = "FitToPage=On"; var_Print.PrintExt = (exschedule1 as exontrol.EXSCHEDULELib.exschedule); 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)
exschedule1.BeginUpdate(); exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.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 = exontrol.EXSCHEDULELib.WeekDayEnum.exMonday; exontrol.EXSCHEDULELib.Highlight var_Highlight = var_Calendar.HighlightEvent; var_Highlight.Pattern.Type = exontrol.EXSCHEDULELib.PatternEnum.exPatternFrame; var_Highlight.Bold = false; exschedule1.ShowViewCompact = exontrol.EXSCHEDULELib.ShowViewCompactEnum.exViewCalendarCompact; exschedule1.BorderSelStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exNoLines; exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleMarkTodayBackColor,Color.FromArgb(240,240,240)); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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"; exschedule1.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
exschedule1.BeginUpdate(); exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar; var_Calendar.Selection = Convert.ToDateTime("1/1/2016",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_Calendar.FirstWeekDay = exontrol.EXSCHEDULELib.WeekDayEnum.exSunday; var_Calendar.DisplayWeekNumberAs = exontrol.EXSCHEDULELib.WeekNumberAsEnum.exSimpleWeekNumber; exschedule1.EndUpdate(); |
233 |
How do I display the week number according to ISO8601 standard
exschedule1.BeginUpdate(); exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar; var_Calendar.Selection = Convert.ToDateTime("1/4/2016",System.Globalization.CultureInfo.GetCultureInfo("en-US")); var_Calendar.FirstWeekDay = exontrol.EXSCHEDULELib.WeekDayEnum.exMonday; var_Calendar.DisplayWeekNumberAs = exontrol.EXSCHEDULELib.WeekNumberAsEnum.exISO8601WeekNumber; exschedule1.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
exschedule1.BeginUpdate(); exschedule1.Calendar.Selection = Convert.ToDateTime("5/26/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.Calendar.Selection = "value in (#05/23/2012#,#05/24/2012#,#05/25/2012#)"; exschedule1.NonworkingPatterns.Add(1234,exontrol.EXSCHEDULELib.PatternEnum.exPatternEmpty).BackgroundExt = "[text=`<font ;6><fgcolor 808080>just a notice`,align=0x11]"; exschedule1.NonworkingTimes.Add("value = #05/25/2012#","09:00","10:00",1234); exschedule1.EndUpdate(); |
229 |
I am using the control's DataSource property, the question is how can I get the event's identifier Datafield(exEventID)
// 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",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0); exschedule1.BeginUpdate(); exschedule1.Calendar.Selection = Convert.ToDateTime("11/11/2013",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.set_DataField(exontrol.EXSCHEDULELib.EventKnownPropertyEnum.exEventStartDateTime,"Start"); exschedule1.set_DataField(exontrol.EXSCHEDULELib.EventKnownPropertyEnum.exEventEndDateTime,"End"); exschedule1.set_DataField(exontrol.EXSCHEDULELib.EventKnownPropertyEnum.exEventExtraLabel,"Extra"); exschedule1.DataSource = (rs as ADODB.Recordset); System.Diagnostics.Debug.Print( exschedule1.Events[1].get_KnownProperty(exontrol.EXSCHEDULELib.EventKnownPropertyEnum.exEventID).ToString() ); exschedule1.EndUpdate(); |
228 |
Is it possible to display some text/image on the schedule's view background
exschedule1.BeginUpdate(); exschedule1.Calendar.Selection = Convert.ToDateTime("5/25/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.NonworkingPatterns.Add(1234,exontrol.EXSCHEDULELib.PatternEnum.exPatternBDiagonal).BackgroundExt = "[text=`<fgcolor 808080>just a caption`,align=0x11]"; exschedule1.NonworkingPatterns.Add(1235,exontrol.EXSCHEDULELib.PatternEnum.exPatternEmpty).BackgroundExt = "[text=`<fgcolor 808080>just another caption`,align=0x11]"; exschedule1.NonworkingTimes.Add("weekday(value) = 5","08:00","08:59:59",1234); exschedule1.NonworkingTimes.Add("weekday(value) = 5","09:00","09:59:59",1235); exschedule1.NonworkingTimes.Add("weekday(value) = 5","10:00","10:59:59",1234); exschedule1.EndUpdate(); |
227 |
How can I display a text on the schedule's view background
|
226 |
Is it possible to change the visual appearance of the edit's context menu
exschedule1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); exschedule1.set_Background32(exontrol.EXSCHEDULELib.BackgroundPartEnum.exContextMenuAppearance,0x1000000); |
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 exschedule1_LayoutEndChanging(object sender,exontrol.EXSCHEDULELib.LayoutChangingEnum Operation) { System.Diagnostics.Debug.Print( Operation.ToString() ); exschedule1.DayViewHeight = 2016; } //this.exschedule1.LayoutEndChanging += new exontrol.EXSCHEDULELib.exg2antt.LayoutEndChangingEventHandler(this.exschedule1_LayoutEndChanging); exschedule1.BeginUpdate(); exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar; var_Calendar.set_SelectDate(Convert.ToDateTime("5/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true); var_Calendar.Select(exontrol.EXSCHEDULELib.SelectCalendarDateEnum.exSelectWeek); exschedule1.ScrollBars = exontrol.EXSCHEDULELib.ScrollBarsEnum.exVertical; exschedule1.ShowViewCompact = exontrol.EXSCHEDULELib.ShowViewCompactEnum.exViewSingleRowLockHeader; exschedule1.DayViewHeight = 2016; exschedule1.AllowMoveSchedule = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowResizeSchedule = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowToggleSchedule = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowExchangePanels = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowMoveTimeScale = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowResizeTimeScale = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowMultiDaysEvent = false; exschedule1.TimeScales[0].MinorTimeRuler = "00:10"; exschedule1.DayStartTime = "00:00"; exschedule1.DayEndTime = "24:00"; exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exCalendarAutoHide | exontrol.EXSCHEDULELib.OnResizeControlEnum.exCalendarFit | exontrol.EXSCHEDULELib.OnResizeControlEnum.exResizePanelRight; exschedule1.EndUpdate(); |
223 |
Is there any way to control the vertical size of each hour other than by the font and/or the minor time scale being changed
exschedule1.BeginUpdate(); exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar; var_Calendar.set_SelectDate(Convert.ToDateTime("5/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true); var_Calendar.Select(exontrol.EXSCHEDULELib.SelectCalendarDateEnum.exSelectWeek); exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exChangePanels | exontrol.EXSCHEDULELib.OnResizeControlEnum.exHideSplitter; exschedule1.ScrollBars = exontrol.EXSCHEDULELib.ScrollBarsEnum.exVertical; exschedule1.ShowViewCompact = exontrol.EXSCHEDULELib.ShowViewCompactEnum.exViewSingleRow; exschedule1.DayViewHeight = 2016; exschedule1.AllowMoveSchedule = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowResizeSchedule = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowToggleSchedule = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowExchangePanels = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowMoveTimeScale = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowResizeTimeScale = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowMultiDaysEvent = false; exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleBorderSelColor,exschedule1.get_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleBorderSelColorUnFocus)); exschedule1.TimeScales[0].MinorTimeRuler = "00:10"; exschedule1.DayStartTime = "00:00"; exschedule1.DayEndTime = "24:00"; exschedule1.EndUpdate(); |
222 |
How can I show a single week, no calendar
exschedule1.BeginUpdate(); exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.Calendar; var_Calendar.set_SelectDate(Convert.ToDateTime("5/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true); var_Calendar.Select(exontrol.EXSCHEDULELib.SelectCalendarDateEnum.exSelectWeek); exschedule1.OnResizeControl = exontrol.EXSCHEDULELib.OnResizeControlEnum.exChangePanels | exontrol.EXSCHEDULELib.OnResizeControlEnum.exHideSplitter; exschedule1.ScrollBars = exontrol.EXSCHEDULELib.ScrollBarsEnum.exNoScroll; exschedule1.ShowViewCompact = exontrol.EXSCHEDULELib.ShowViewCompactEnum.exViewSingleRow; exschedule1.AllowMoveSchedule = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowResizeSchedule = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowToggleSchedule = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowExchangePanels = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowMoveTimeScale = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowResizeTimeScale = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowMultiDaysEvent = false; exschedule1.set_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleBorderSelColor,exschedule1.get_Background(exontrol.EXSCHEDULELib.BackgroundPartEnum.exScheduleBorderSelColorUnFocus)); exschedule1.EndUpdate(); |
221 |
How do I select the dates within a giving interval only
exschedule1.BeginUpdate(); exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.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#)"; exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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"))); exschedule1.EndUpdate(); |
220 |
How do I display the dates within a giving interval only
exschedule1.BeginUpdate(); exontrol.EXSCHEDULELib.Calendar var_Calendar = exschedule1.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")); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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"))); exschedule1.EndUpdate(); |
219 |
Is it possible that the time is displayed starting from 00:00 to 24:00 00 instead of 08:00 AM to 04:00 PM
|
218 |
How do I show a double frame
exschedule1.SelectEventStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesSolid; exschedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.DefaultEventLongLabel = ""; exschedule1.DefaultEventShortLabel = ""; exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events; exontrol.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(exontrol.EXSCHEDULELib.IndexExtEnum.exIndexExt1,exontrol.EXSCHEDULELib.BackgroundExtPropertyEnum.exBackColorExt,255); var_Event.set_BodyBackgroundExtValue(exontrol.EXSCHEDULELib.IndexExtEnum.exIndexExt1,exontrol.EXSCHEDULELib.BackgroundExtPropertyEnum.exClientExt,"35%"); exontrol.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(exontrol.EXSCHEDULELib.IndexExtEnum.exIndexExt1,exontrol.EXSCHEDULELib.BackgroundExtPropertyEnum.exClientExt,"35%"); var_Event1.set_BodyBackgroundExtValue(exontrol.EXSCHEDULELib.IndexExtEnum.exIndexExt2,exontrol.EXSCHEDULELib.BackgroundExtPropertyEnum.exBackColorExt,65535); exontrol.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)]"; exontrol.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
exschedule1.SelectEventStyle = exontrol.EXSCHEDULELib.LinesStyleEnum.exLinesSolid; exschedule1.Calendar.Selection = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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 exschedule1_Error(object sender,int Err,string Description) { System.Diagnostics.Debug.Print( Description.ToString() ); } //this.exschedule1.Error += new exontrol.EXSCHEDULELib.exg2antt.ErrorEventHandler(this.exschedule1_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",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0); exschedule1.BeginUpdate(); exschedule1.Calendar.Selection = Convert.ToDateTime("11/11/2013",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.set_DataField(exontrol.EXSCHEDULELib.EventKnownPropertyEnum.exEventStartDateTime,"Start"); exschedule1.set_DataField(exontrol.EXSCHEDULELib.EventKnownPropertyEnum.exEventEndDateTime,"End"); exschedule1.set_DataField(exontrol.EXSCHEDULELib.EventKnownPropertyEnum.exEventExtraLabel,"Extra"); exschedule1.DataSource = (rs as ADODB.Recordset); exschedule1.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
exschedule1.ShowHighlightDate = exontrol.EXSCHEDULELib.ShowHighlightDateEnum.exHighlightDateCalendarEllipticClip | exontrol.EXSCHEDULELib.ShowHighlightDateEnum.exHighlightDateCalendarGradient | exontrol.EXSCHEDULELib.ShowHighlightDateEnum.exShowHighlightDateCalendar; exschedule1.Calendar.Selection = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.set_HighlightDate(Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),65280); exschedule1.set_HighlightDate(Convert.ToDateTime("1/17/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"65280,255"); exschedule1.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
exschedule1.ShowHighlightDate = exontrol.EXSCHEDULELib.ShowHighlightDateEnum.exHighlightDateCalendarGradient | exontrol.EXSCHEDULELib.ShowHighlightDateEnum.exShowHighlightDateCalendar; exschedule1.Calendar.Selection = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.set_HighlightDate(Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),65280); exschedule1.set_HighlightDate(Convert.ToDateTime("1/17/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"65280,255"); exschedule1.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
exschedule1.ShowHighlightDate = exontrol.EXSCHEDULELib.ShowHighlightDateEnum.exShowHighlightDateCalendar; exschedule1.Calendar.Selection = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.set_HighlightDate(Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),65280); exschedule1.set_HighlightDate(Convert.ToDateTime("1/17/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"65280,255"); exschedule1.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
exschedule1.ShowHighlightDate = exontrol.EXSCHEDULELib.ShowHighlightDateEnum.exShowHighlightDate; exschedule1.Calendar.Selection = Convert.ToDateTime("1/25/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.set_HighlightDate(Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),65280); exschedule1.set_HighlightDate(Convert.ToDateTime("1/17/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"65280,255"); exschedule1.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
exschedule1.BeginUpdate(); exschedule1.BodyEventBackColor = Color.FromArgb(240,240,240); exschedule1.ShowGroupingEvents = true; exschedule1.DisplayGroupingButton = true; exschedule1.Groups.Add(1,"Group 1").Visible = true; exschedule1.Groups.Add(2,"Group 2").Visible = true; exschedule1.Calendar.Selection = Convert.ToDateTime("5/25/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.NonworkingPatterns.Add(1234,exontrol.EXSCHEDULELib.PatternEnum.exPatternBrick); exontrol.EXSCHEDULELib.NonworkingTimes var_NonworkingTimes = exschedule1.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; exschedule1.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; exschedule1.EndUpdate(); |
207 |
I have a double click event set to launch a window so the user can supply input. The problem is that double click changes the view. How do I change this behavior
// DblClick event - Occurs when the user dblclk the left mouse button over an object. private void exschedule1_DblClick(object sender,short Shift,int X,int Y) { System.Diagnostics.Debug.Print( "DblClick " ); System.Diagnostics.Debug.Print( X.ToString() ); System.Diagnostics.Debug.Print( Y.ToString() ); } //this.exschedule1.DblClick += new exontrol.EXSCHEDULELib.exg2antt.DblClickEventHandler(this.exschedule1_DblClick); exschedule1.BeginUpdate(); exschedule1.Calendar.Selection = Convert.ToDateTime("5/24/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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 = 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"))); exschedule1.AllowEditEvent = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.AllowToggleSchedule = exontrol.EXSCHEDULELib.AllowKeysEnum.exDisallow; exschedule1.EndUpdate(); |
206 |
I have two-time scales. How do I change the label while updating the events to show the date-time on the second time-scale
|
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 exschedule1_AnchorClick(object sender,string AnchorID,string Options) { System.Diagnostics.Debug.Print( AnchorID.ToString() ); System.Diagnostics.Debug.Print( Options.ToString() ); } //this.exschedule1.AnchorClick += new exontrol.EXSCHEDULELib.exg2antt.AnchorClickEventHandler(this.exschedule1_AnchorClick); exschedule1.Calendar.Selection = Convert.ToDateTime("6/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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
exschedule1.Calendar.Selection = Convert.ToDateTime("6/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events; exontrol.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; exontrol.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
exschedule1.Calendar.Selection = Convert.ToDateTime("6/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exschedule1.DefaultEventShortLabel = "<%=%256%><br>Order: <b><%=%6%>"; exschedule1.DefaultEventLongLabel = exschedule1.DefaultEventShortLabel; exontrol.EXSCHEDULELib.Events var_Events = exschedule1.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 exschedule1_AnchorClick(object sender,string AnchorID,string Options) { System.Diagnostics.Debug.Print( AnchorID.ToString() ); System.Diagnostics.Debug.Print( Options.ToString() ); } //this.exschedule1.AnchorClick += new exontrol.EXSCHEDULELib.exg2antt.AnchorClickEventHandler(this.exschedule1_AnchorClick); exschedule1.Calendar.Selection = Convert.ToDateTime("6/20/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")); exontrol.EXSCHEDULELib.Events var_Events = exschedule1.Events; exontrol.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; exontrol.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; |