OnMouseDown, OnMouseUp etc. are protected properties in TControl. You can
always create a descendant TComboBox that publishes them or hack into them
directly with TMoveCracker.
TMoveCracker(MyComboBox).OnMouseDown := ControlMouseDown;
Todd.
----- Original Message -----
From: "Jeremy Coulter" <[EMAIL PROTECTED]>
To: "NZ Borland Developers Group - Delphi List" <[email protected]>
Sent: Tuesday, August 02, 2005 10:23 AM
Subject: Re: [DUG] Runtime form Design
The only issue I have found is I cant move a combobox using this code, as
there are no ONMouse events :-(
Jeremy
-----Original Message-----
From: Alister Christie <[EMAIL PROTECTED]>
To: NZ Borland Developers Group - Delphi List <[email protected]>
Date: Tue, 02 Aug 2005 09:45:32 +1200
Subject: Re: [DUG] Runtime form Design
That looks like a fairly simple solution - I can probably extend it to
resizing aswell. It's pretty helpful that it works on a component
level
aswell.
Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
http://www.salespartner.co.nz
PO Box 13085
Johnsonville
Wellington
Jeremy Coulter wrote:
> Not sure how you got on with the below. I saw a few different wasy
but very
> similar to the below, BUT I needed to move a label, not just a
TWinControl.
>
> I found this article, and it works like a charm.
>
> http://www.swissdelphicenter.ch/torry/showcode.php?id=429
>
> Jeremy
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: 28/07/2005
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi