Versions Compared

Key

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

Get's the window's (or control's) SIZE property in relation to the screen.

Syntax

Code Block
Result = SRP_Get_Window_Rect(CtrlName)

Returns

The window's or control's SIZE property in relation to the screen. This is useful when the the absolute position of a control is needed rather than the relative position to the parent. The return result uses the same format as the OpenInsight SIZE property.

Parameters

ParameterDescription
CtrlNameThe fully qualified name of the control.

Example

Code Block
* Return the dimensions of the edit line control
AbsoluteSize = SRP_Get_Window_Rect(@Window : ".EDITLINE")