While the user is reformatting the form, in XE2 I would like to display the current size of the form next to the current mouse cursor. I would use the OnResize event.
In other words: I need ideas on how to display dynamic text (e.g. x, y coordinates, such as 300, 250 in the image below) with the mouse cursor when the user moves his mouse.

One approach is to layout the .cur file and assign it to the cursor in OnResize. This seems cumbersome and can be quite slow (and I still don't know what the contents of the file are)
Another idea would be to display some transparent text (which component could do this?) That I installed .Top, .Left in the OnResize event.
One of the problems I ran into is how I discovered when the recalibration operation is complete so that I can return to the standard mouse cursor.
Any suggestions aimed at continuing?
delphi
RobertFrank
source share