Cancel - cMonthCalendarPrompt
Can be sent to a calendar prompt list to cancel itself
Type: Procedure
Syntax
Procedure Cancel
Call Example
Send Cancel
Description
The Cancel message closes the calendar prompt list without performing any kind of update. Upon completion, pbCanceled will be set True. If you wish to close the prompt list without canceling, send Ok.
If the prompt list is closed in any fashion other than sending Ok, it is cancelled. For example, sending Close_Panel to the prompt list's container panel is equivalent to sending Cancel to the prompt list.
Object oCancel_bn is a Button
Set Label to "&Cancel"
Set Location to 116 130
Set peAnchors to anBottomRight
Procedure OnClick
Send Cancel To oCalendar
End_Procedure
End_Object