[DUG] Component creation

Robert martin rob at wildsoft.co.nz
Tue Sep 5 10:51:48 NZST 2006


Thought I had tried it but my implementation mat have been wrong, will 
have another crack :)

Rob Martin
Software Engineer

phone +64 03 377 0495
fax   +64 03 377 0496
web www.chreos.com

Wild Software Ltd



James Sugrue wrote:
> WM_KILLFOCUS?
>
> Never used it, but apparently it can be a bit dodgy.
>
> -----Original Message-----
> From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
> Behalf Of Robert martin
> Sent: Tuesday, September 05, 2006 10:11 AM
> To: NZ Borland Developers Group - Delphi List
> Subject: [DUG] Component creation
>
> Hi
>
> I have a custom component that expands to show data.  When focus changes 
> it reverts back to its shrunken state.  However I also want it to revert 
> to small if the user clicks the mouse anywhere outside of the component 
> (the way that TComboBox does if it is dropped down).
>
> I assume I need to trap a windows message to handle this but I just cant 
> see which.
>
> Any suggestions ?
>
>   


More information about the Delphi mailing list