An appointments coordinates in screen space. (Read Only)

Usage

Rect = Get_Property(OLECtrlEntID, "OLE.ApptRect[ID]")

Values

The returned rectangle has the following structure:

PosNameTypeDescription
<1>LeftIntegerThe x-coordinate of the upper-left corner of a rectangle.
<2>TopIntegerThe y-coordinate of the upper-left corner of a rectangle.
<3>RightIntegerThe x-coordinate of the lower-right corner of a rectangle.
<4>BottomIntegerThe y-coordinate of the lower-right corner of a rectangle.

Indices

IndexDescription
IDUnique ID of an existing appointment

Remarks

The ApptRect property is a read only property for getting the appointment's location in screen space. That is, the coordinate are relative to the upper-left corner of the screen. Unlike the SIZE property in OpenInsight which returns the width and height, this property returns the upper-left and lower-right corners to make it easier for positioning informative popups to the user.

Example

// Get the location of the appointment with key "10"
Rect = Get_Property(@Window:".OLE_SCHEDULE", "OLE.ApptRect[10]"
Show_My_Tooltip(Rect<1>, Rect<2>)

See Also

Appt

  • No labels