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
..MovementAPT is used to find out and specify whether the user can move an appointment:
  • in a Scheduler control,
  • in an Organizer control.
This property corresponds to the "Movement" option found in the "Details" tab of the description window of the 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() ALORS
ORG_MyOrganizer..ModificationDurationAPT = False
END
END
Syntax

Finding out whether a user can move an appointment Hide the details

<Result> = <Control>..MovementAPT
<Result>: Boolean
  • True if the appointments can be moved by the user,
  • False if the appointments cannot be moved by the user.
<Control>: Control name
Name of control used. This control can correspond to:
  • an Organizer control.
  • a Scheduler control.

Allowing (or not) the appointments to be moved by the user Hide the details

<Control>..MovementAPT = <Moveable>
<Control>: Control name
Name of control used. This control can correspond to:
  • an Organizer control.
  • a Scheduler control.
<Moveable>: Boolean
  • True to allow the appointments to be moved by the user,
  • False not to allow the appointments to be moved by the user.
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment