Fired when the user stops the mouse over a time block for a specified amount of time.

Parameters

ParameterDescription
TimeBlockIDID of the time block
PointThe location of mouse cursor

Remarks

The OnTimeBlockHover event fires when the user hovers over a time block, and keeps the cursor still for a brief moment. The time necessary to hold still is determined by the HoverTime property.

The TimeBlockID parameter provides the unique ID of the time block involved and can be used directly with any properties requiring a time block ID. The point is relative to the top left corner of the OLE Schedule control.

Example

Transfer Param1 to TimeBlockID
Transfer Param2 to MousePoint

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

// Showing an informative popup is appropriate on a hover event
Call ShowTimeBlockPopup(TimeBlockID, X, Y)

See Also

OnTimeBlockClickOnTimeBlockDblClick

  • No labels