Quoting "Donovan J. Edye" <[EMAIL PROTECTED]>:
> G'Day All,
>
> I have a component that takes a TMenu as a property and then assigns the
> menu items to a control that has 12 buttons on it that maps to the function
> keys. I would like to know how I can get this component to respond should a
> menu item be deleted, its caption changed etc. At the moment the only way
> to
> do this is to unassign the property that points to the TMenu and then
> reassign it. I would like to find a better way. Can anyone steer me in the
> right direction?
What about the TMenu's OnChange event handler? You can hook it into your own
procedure that runs your code, and then call anything that it was already
pointing to.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz