PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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
The DirectInputAPT property is used to determine and specify if the user can directly change the title of an appointment:
  • in a Scheduler control,
  • in an Organizer control.
This property is equivalent to the option "Allow direct input of an appointment", in the "Details" tab of the description window of Scheduler and Organizer controls.
Versions 18 and later
WEBDEV - Server code This property is now available in WEBDEV Server (Windows and Linux).
WEBDEV - Server codePHP This property is now available for PHP sites.
New in version 18
WEBDEV - Server code This property is now available in WEBDEV Server (Windows and Linux).
WEBDEV - Server codePHP This property is now available for PHP sites.
WEBDEV - Server code This property is now available in WEBDEV Server (Windows and Linux).
WEBDEV - Server codePHP This property is now available for PHP sites.
Example
// Management options of a Scheduler control
IF gbModifMode = True THEN
SCH_MySchedule.MovementAPT = True
SCH_MySchedule.DirectInputAPT = True
SCH_MySchedule.PeriodSelection = True
ELSE
SCH_MySchedule.MovementAPT = False
SCH_MySchedule.DirectInputAPT = False
SCH_MySchedule.PeriodSelection = False
END
// Management options of an Organizer control
IF gbModifMode = True THEN
ORG_MyOrganizer.MovementAPT = True
ORG_MyOrganizer.PeriodSelection = True
ORG_MyOrganizer.DirectInputAPT = True
IF NOT InAndroidMode() _AND_ NOT IniOSMode() THEN
ORG_MyOrganizer.ModificationDurationAPT = True
END
ELSE
ORG_MyOrganizer.MovementAPT = False
ORG_MyOrganizer.PeriodSelection = False
ORG_MyOrganizer.DirectInputAPT = False
IF NOT InAndroidMode() _AND_ NOT IniOSMode() THEN
ORG_MyOrganizer.ModificationDurationAPT = False
END
END
Syntax

Finding out whether the user can directly enter an appointment Hide the details

<Result> = <Control used>.DirectInputAPT
<Result>: Boolean
  • True if the user can directly enter an appointment,
  • False if the user cannot directly enter an appointment.
<Control used>: Control name
Name of the control used. This control can correspond to:
  • an Organizer control.
  • a Scheduler control.

Allowing or preventing the user from entering appointments Hide the details

<Control used>.DirectInputAPT = <Movable>
<Control used>: Control name
Name of the control used. This control can correspond to:
  • an Organizer control.
  • a Scheduler control.
<Movable>: Boolean
  • True to allow the user to directly enter the appointments,
  • False to prevent the user from directly entering appointments.
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment