Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Appointments (Read 3751 times)
ColinA
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 21
Joined: Aug 27th, 2013
Appointments
Aug 29th, 2013 at 3:22pm
Print Post  
Hi

Is there a way to make the appointments the width of the actual appointment see image the first appointment is 07:50 - 10:14 but is takes up from 7:30 to 10:30am, I have set the snap to to 00:00:01 as the next appointment (not shown) is 10:15 - 10:45 followed by the third 10:45 - 11:15

Regards
Colin
  

Capture1_002.PNG (Attachment deleted)
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Appointments
Reply #1 - Aug 30th, 2013 at 6:27am
Print Post  
Hi,

Try setting Calendar.TimetableSettings.ShowPadding to Disabled.

Regards,
Meppy
  
Back to top
 
IP Logged
 
ColinA
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 21
Joined: Aug 27th, 2013
Re: Appointments
Reply #2 - Aug 30th, 2013 at 6:38am
Print Post  
Thanks Meppy,  also is there a quick way to delete all appointments for a contact?
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Appointments
Reply #3 - Aug 30th, 2013 at 7:59am
Print Post  
Hi,

This is the shortest way I can think of:

Code
Select All
calendar.BeginInit();
for (int i = 0; i < calendar.Schedule.Items.Count; )
{
    if (calendar.Schedule.Items[i].Contacts.Contains(contact))
        calendar.Schedule.Items.RemoveAt(i);
    else
        i++;
}
calendar.EndInit(); 


Regards,
Meppy
  
Back to top
 
IP Logged
 
ColinA
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 21
Joined: Aug 27th, 2013
Re: Appointments
Reply #4 - Aug 30th, 2013 at 1:28pm
Print Post  
Thanks Meppy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint