PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..DirectInputAPT is used to find out and specify whether a user can directly modify the title of an appointment:
  • in a Scheduler control,
  • in an Organizer control.
This property is equivalent to the option "Allow the direct input of an appointment", in the "Details" tab of the description window of Scheduler and Organizer controls.
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 control used. This control can correspond to:
  • an Organizer control.
  • a Scheduler control.

Allowing appointments to be directly entered by the user or not Hide the details

<Control used>..DirectInputAPT = <Moveable>
<Control used>: Control name
Name of control used. This control can correspond to:
  • an Organizer control.
  • a Scheduler control.
<Moveable>: 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