Versions Compared

Key

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

...

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.

...

Code Block
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