[DUG] Runtime form Design
Todd Martin
toddm at kol.co.nz
Tue Aug 2 10:49:13 NZST 2005
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" <vss at vss.co.nz>
To: "NZ Borland Developers Group - Delphi List" <delphi at ns3.123.co.nz>
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 <alister at salespartner.co.nz>
> To: NZ Borland Developers Group - Delphi List <delphi at ns3.123.co.nz>
> 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
>> 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
>
>
--
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
More information about the Delphi
mailing list