Gui.Form.SchedulerControl.SetProperties

From GAB Help
Jump to: navigation, search

Sets the property function for the control

Syntax

Gui.Formname.SchedulerControlName.SetProperties(Property, Value)

Arguments

Property

  • ActiveViewtype
  • GroupType
  • AllowAppointmentCreate
  • AllowAppointmentEdit
  • AllowAppointmentDelete
  • AllowAppointmentCopy

Value

For ActiveViewType

  • Day = 0
  • Week = 1
  • Month = 2
  • WorkWeek = 3
  • Timeline = 4
  • Gantt = 5
  • FullWeek = 6
  • Agenda = 7

For GroupType

  • None
  • Data
  • Resource

For AllowAppointment

  • None
  • Recurring
  • NonRecurring
  • All
  • Custom

Example

Gui.Form.GsSchedulerControl1.SetProperties("ActiveViewtype",5)
Gui.Form.GsSchedulerControl1.SetProperties("GroupType","Resource")
Gui.Form.GsSchedulerControl1.SetProperties("AllowAppointmentCreate","none")
Gui.Form.GsSchedulerControl1.SetProperties("AllowAppointmentEdit","none")
Gui.Form.GsSchedulerControl1.SetProperties("AllowAppointmentDelete","none")