Form position on screen (FMX, Win32)


I want to know where my form is on the screen. I’ve looked at position properties (e.g. this->Top, this->Left etc.) but they don’t seem to fit the bill. I want to be able to determine how far my form is from the top/bottom of screen, and from left/right side of screen.

I’m using C++ Builder and FMX building a Win32 app.

thanks, russ

UPDATE 1: Turns out that what i really need is to find that coordinate (X,Y) with respect to the entire Desktop, not just the primary monitor. The Desktop spans multiple monitors.

Comments are closed.