An appointments coordinates in screen space. (Read Only)
Usage
Rect = Get_Property(OLECtrlEntID, "OLE.ApptRect[ID]")
Values
The returned rectangle has the following structure:
Pos | Name | Type | Description |
---|---|---|---|
<1> | Left | Integer | The x-coordinate of the upper-left corner of a rectangle. |
<2> | Top | Integer | The y-coordinate of the upper-left corner of a rectangle. |
<3> | Right | Integer | The x-coordinate of the lower-right corner of a rectangle. |
<4> | Bottom | Integer | The y-coordinate of the lower-right corner of a rectangle. |
Indices
Index | Description |
---|---|
ID | Unique 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>)