Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Fires when the user clicks anywhere on the schedule control outside of appointments.

 

Parameters

ParameterDescription
EntityIDID of the entity clicked, if any
ButtonThe mouse button used to click
LocationName of the area clicked
PointThe location of mouse cursor
ShiftFlag indicating whether or not the Shift key is pressed
CtrlFlag indicating whether or not the Control key is pressed

...

Code Block
Transfer Param1 to EntityID 
Transfer Param2 to Button 
Transfer Param3 to Location 
Transfer Param4 to Point 
Transfer Param5 to Shift 
Transfer Param6 to Ctrl 

// Parse the point 
X = Field(Point, ",", 1) 
Y = Field(Point, ",", 2) 

// Check for right click on entity header, in case we want to show a context menu 
If Button EQ "Right" AND Location EQ "Header" then 
   Call ShowEntityHeaderMenu(EntityID, X, Y) 
end

See Also

OnScheduleDblClickOnApptClickOnApptDblClick