Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Prism ClientToScreen in Delphi 8 .NET (https://www.delphipraxis.net/30202-clienttoscreen-delphi-8-net.html)

vid 21. Sep 2004 22:41


ClientToScreen in Delphi 8 .NET
 
Hi

Jeder hat bestimmt schon mit ClientToScreen und ScreenToClient gearbeitet in älteren Delphi-Versionen. Wie heist diese function im delphi .net? wo kann ich eine ähnliche finde? Natürlich in .Net geschrieben.

Danke

Robert_G 22. Sep 2004 01:04

Re: ClientToScreen in Delphi 8 .NET
 
:gruebel: Ist Control.RectangleToScreen so schwer zu finden? ;)
Delphi-Quellcode:
  Point Position = DeinControl.RectangleToScreen(DeinControl.Bounds).Location;
  MessageBox.Show(string.Format("Ich bin {0} Pixel von linken und {1} vom oberen Bildschirmrand entfernt"
                                ,Position.X
                                ,Position.Y));

vid 22. Sep 2004 20:09

Re: ClientToScreen in Delphi 8 .NET
 
Danke werde es probieren. Es ist schwierig zu finden. Ich habe die SDK Help nicht so im Griff.

Greetings


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:27 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz