[DUG] Component creation

Nick Fauchelle nick at unica.co.nz
Tue Sep 5 10:19:35 NZST 2006


Robert.
Wouldn't clicking anywhere outside the component take the focus off your 
component and onto the clicked one (ie the form)?

Nick

Robert martin wrote:
> 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