Versions Compared

Key

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

User Input - ResultPointX

Text:

API Call:Returns the x coordinate from the last Getpoint, Getline or GetRect.

Declaration:

ResultPointX: Double;

Source Code

Delphi

Code Block
languagedelphi
themeRDark
titleScripting
linenumberstrue
collapsetrue
var
  x, y: double;

begin
  if getpoint(x, y, 'Click Point') = 1 then
    result := resultpointx;  // should be same as x
end;