TSRVToolWindow.Execute

<< Click to display table of contents >>

TSRVToolWindow.Execute

The methods show a window with a toolbar.

    procedure Execute(X, Y : Integer); overload;

    procedure Execute(R : TRect); overload;

The window remains open until it loses focus or one of buttons is clicked.

X,Y  –  screen coordinates of the top left corner of the window. The window will be shown exactly at these coordinates.

R  –  screen coordinates specifying a rectangle of the button which called this window. The window will be positioned close to this button without overlapping it, and without going beyond the screen. This method sets AlignText property depending on the window position.