![]() Gravitybox Schedule.NET
1998-2005 Gravitybox Software LLC
Page 82 of 90
Action: Appointment Copy
BeforeAppointmentCopy
AfterAppointmentCopy
Action: Appointment Move
BeforeAppointmentMove
AfterAppointmentMove
Action: Appointment Remove
BeforeAppointmentRemove
AfterAppointmentRemove
How do I get notification when the column or row headers are resized?
When a column or row header is resized a pair of events are raised to notify the
container. Listed below is the event sequence for each.
Action: Column Resize
BeforeColumnResize
AfterColumnResize
Action: Row Resize
BeforeRowResize
AfterRowResize
How do I get notification when a non-appointment is dropped on the schedule?
When a non-appointment object is dropped on a schedule the event pair
BeforeForeignAdd and AfterForeignAdd is raised. When the container receives these
events it is a certainty that some other object has been dropped on the schedule. If this
is an illegal operation then cancel the drop in the BeforeForeignAdd event.
How do I get notification of the user edits an appointments text in grid?
If the property AllowInPlaceEdit is set to true, the user may click a selected
appointment to start an in-grid edit. When this text is saved the event AfterInPlaceEdit
is raised. To cancel an in-place edit before it starts use the BeforeInPlaceEdit event.
How do I get notification of the user clicking an appointments header icon?
The event AppointmentHeaderInfoClick is raised when the user clicks in the header
icon of an appointment. For this event to happen an appointment must have a header
and it must have a header icon. The following code snippet adds an appointment and
creates a header and icon for it. You may wish to use a header icon to inform the user
of some information. If you wish to perform any action on its click use this event.
Dim appointment As Appointment
appointment.Header.HeaderType = _
AppointmentHeader.HeaderTypeConstants.DateHeader
appointment.Header.Icon = Schedule1.DefaultIcons.IconInfo
|