ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This page concerns the 23 + version of WINDEV, WEBDEV and WINDEV Mobile. Update your version.
The content of this page has been updated to version 25.  See documentation 25 now.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Scheduler functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
<Scheduler>.DeleteAppointment (Function)
In french: <Planning>.SupprimeRendezVous
Deletes an appointment from a Scheduler control. If the Scheduler control is linked to a data source, the appointment is also deleted from the data source.
Versions 21 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App In Universal Windows 10 App mode, this function can only be used to handle the Scheduler controls found in a report.
Example
// Deletes the selected appointment from the SCH_Schedule control
SCH_Scheduler.DeleteAppointment()
 
// Deletes the first added appointment
SCH_Scheduler.DeleteAppointment(1)
Syntax

Deleting an appointment identified by its index Hide the details

<Scheduler control>.SchedulerDeleteAppointment([<Appointment index>])
<Scheduler control>: Control name
Name of Scheduler control to use. This control can correspond to:
  • the Scheduler control of a window,
  • the Scheduler control of a page,
  • the Scheduler control of a report.
<Appointment index>: Optional integer
Index of the appointment to be deleted. The index of the first appointment is set to 1. If this parameter is not specified, the selected appointment will be deleted.
Versions 25 and later
WINDEVWEBDEV - Server codeiPhone/iPad

Deleting an appointment identified by an Appointment variable Hide the details

SchedulerDeleteAppointment(<Scheduler control> , <Appointment used>)
<Scheduler control>: Control name
Name of Scheduler control to use. This control can correspond to:
  • the Scheduler control of a window,
  • the Scheduler control of a page,
  • the Scheduler control of a report.
<Appointment used>: Appointment variable
Appointment variable corresponding to the appointment to delete.
Component: wd290mdl.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help