[DUG] Runtime form Design

James Sugrue jamessugrue at xtra.co.nz
Fri Jul 1 14:13:59 NZST 2005


Cant find the article but basically if you use the following code:

const
   SC_DragMove = $F012;
begin
   ReleaseCapture;
   if Sender is TWinControl then
      (Sender as TWinControl).perform(WM_SysCommand, SC_DragMove, 0);

On the mouse down of a control, then it will allow you to drag the control
around a form at runtime. 

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of James Sugrue
Sent: Friday, 1 July 2005 13:39
To: 'NZ Borland Developers Group - Delphi List'
Subject: RE: [DUG] Runtime form Design

The was an FAQ or TI that I remember reading back in the early days that
explained how to do this. I created a wee demo app, just playing and it
worked quite well. I'll see if I can dig up the FAQ/TI.

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Alister Christie
Sent: Friday, 1 July 2005 12:52
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] Runtime form Design

Has anyone done anything with Runtime form design.  I want users to be 
able to design their own forms (for representing data).
-- 
Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
http://www.salespartner.co.nz
PO Box 13085
Johnsonville
Wellington
_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi


_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi




More information about the Delphi mailing list