Delphi .NET (2) Database (71) Delphi IDE (90) Network (39) Printing (3) Strings (12) VCL (83) Windows with Delphi (280)
Exchange Links About this site Links to us 
|
Determine the position of nonvisual components at design time
1 comments. Current rating: (1 votes). Leave comments and/ or rate it.
Q: How do I read the position of nonvisual components on a form at design time?
(Comment: such components do not have the .Left, .Top properties)
A: See the code below:
 | |  | | begin
ALeft := LongRec(MyComponent.DesignInfo).Lo;
ATop := LongRec(MyComponent.DesignInfo).Hi;
end.
| |  | |  |
Comments:
|